@leaflow/sdk 0.0.0-dev.418.ge62522e → 0.0.0-dev.422.gef294af
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/account/v1/generated/models.d.ts +52 -10
- package/dist/account/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/account/v1/generated/validators/error.zod.js +6 -9
- package/dist/account/v1/generated/validators/errorStatus.zod.d.ts +41 -0
- package/dist/account/v1/generated/validators/errorStatus.zod.js +56 -0
- package/dist/account/v1/generated/validators/fieldViolation.zod.d.ts +32 -0
- package/dist/account/v1/generated/validators/fieldViolation.zod.js +35 -0
- package/dist/assistant/v1/generated/models.d.ts +52 -10
- package/dist/assistant/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/assistant/v1/generated/validators/error.zod.js +6 -9
- package/dist/assistant/v1/generated/validators/errorStatus.zod.d.ts +40 -0
- package/dist/assistant/v1/generated/validators/errorStatus.zod.js +55 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.d.ts +31 -0
- package/dist/assistant/v1/generated/validators/fieldViolation.zod.js +34 -0
- package/dist/billing/v1/generated/models.d.ts +52 -10
- package/dist/billing/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/billing/v1/generated/validators/error.zod.js +6 -9
- package/dist/billing/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/billing/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/billing/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/canopy/v1/generated/models.d.ts +52 -10
- package/dist/canopy/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/canopy/v1/generated/validators/error.zod.js +6 -9
- package/dist/canopy/v1/generated/validators/errorStatus.zod.d.ts +56 -0
- package/dist/canopy/v1/generated/validators/errorStatus.zod.js +71 -0
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.d.ts +47 -0
- package/dist/canopy/v1/generated/validators/fieldViolation.zod.js +50 -0
- package/dist/compute/v2/generated/functions.d.ts +33 -33
- package/dist/compute/v2/generated/functions.js +31 -31
- package/dist/compute/v2/generated/models.d.ts +125 -227
- package/dist/compute/v2/generated/models.js +52 -78
- package/dist/compute/v2/generated/schemas.zod.d.ts +33 -33
- package/dist/compute/v2/generated/schemas.zod.js +33 -33
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/associateElasticIPRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachNetworkInterfaceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/attachVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/availabilityZoneResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingCancellation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingCancellation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingComponent.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingLineQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingMeter.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingPeriod.zod.js +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/billingQuantity.zod.js +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/bootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cancellationMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/checkoutMode.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/checkoutMode.zod.js +2 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/checkoutOptions.zod.js +2 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/consoleResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createElasticIPRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createLaunchTemplateResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceAddressRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createNetworkInterfaceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createPrivateImageRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudPeeringRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudRouteRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/cursorPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteElasticIpParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/elasticIP.zod.js +17 -8
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPAssociation.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPAssociationID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLine.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPLineListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/elasticIPReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/error.zod.d.ts +15 -6
- package/dist/compute/v2/generated/validators/error.zod.js +8 -11
- package/dist/compute/v2/generated/validators/{virtualPrivateCloudOperation.zod.d.ts → errorStatus.zod.d.ts} +16 -12
- package/dist/compute/v2/generated/validators/{elasticIPOperation.zod.d.ts → errorStatus.zod.js} +32 -17
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingBootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/existingPrimaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/{volumeBackupOperation.zod.d.ts → fieldViolation.zod.d.ts} +7 -11
- package/dist/compute/v2/generated/validators/{volumeSnapshotOperation.zod.d.ts → fieldViolation.zod.js} +11 -12
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/freeSubnetCidr.zod.js +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/generatedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/getVirtualPrivateCloudFreeSubnetCidrParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/iPv4HostAddress.zod.js +2 -2
- package/dist/compute/v2/generated/validators/imageID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/imageID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instance.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/instance.zod.js +21 -7
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceAssociationTarget.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamily.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamily.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyCategory.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceFamilyListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceNetworkInterfaceID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceRestriction.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/instanceVolumeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/internetChargeType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/internetChargeType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplate.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateBootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateDataVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateReference.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersion.zod.js +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/launchTemplateVersionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listAvailabilityZonesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpLinesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpTrafficUsageParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listElasticIpsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceFamiliesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceTypesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstanceVolumesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listInstancesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplateVersionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listLaunchTemplatesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listNetworkInterfacesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listOperationLogsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPrivateImagesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listPublicImagesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listQuotasParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listRegionsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupRulesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listSecurityGroupsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudPeeringsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudRoutesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudSubnetsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVirtualPrivateCloudsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeBackupsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeSnapshotsParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumeTypesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/listVolumesParams.zod.js +2 -2
- package/dist/compute/v2/generated/validators/money.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/money.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/networkInterface.zod.js +15 -8
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddress.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressAssociationTarget.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAddressID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachment.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newBootVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newCompute.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newCompute.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newDataVolume.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newDataVolume.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newElasticIP.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newElasticIP.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newLaunchTemplateVersion.zod.js +2 -2
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/newPrimaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/offsetPagination.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/offsetPagination.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/operationLogResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/passwordChoice.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/passwordChoice.zod.js +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/performanceFormula.zod.js +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/primaryNetworkInterface.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/privateImageReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/privateImageResource.zod.js +13 -8
- package/dist/compute/v2/generated/validators/projectQuota.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuota.zod.js +2 -2
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/projectQuotaListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/publicImageResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaResourceType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/quotaSource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebootInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/regionResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/releaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/releaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/releaseSetItem.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/rescueInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/resetInstancePasswordResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/revertVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/runInstanceCommandResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroup.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupIDOrWildcard.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRule.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleDirection.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/securityGroupRuleListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/subnetID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/subnetID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/suppliedPassword.zod.js +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/terminationPolicy.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsage.zod.js +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/trafficUsageListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateElasticIPRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +9 -15
- package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +20 -26
- package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateLaunchTemplateRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateNetworkInterfaceRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updatePrivateImageRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateSecurityGroupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVirtualPrivateCloudSubnetRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeBackupRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/updateVolumeSnapshotRequestBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +4 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudIDOrWildcard.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +5 -11
- package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +4 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +4 -9
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +4 -8
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudRouteType.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnet.zod.js +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/virtualPrivateCloudSubnetListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachment.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeAttachmentList.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +4 -8
- package/dist/compute/v2/generated/validators/volumeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +10 -16
- package/dist/compute/v2/generated/validators/volumeResource.zod.js +19 -8
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotReleaseResource.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +4 -10
- package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +4 -8
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeID.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeListResponseBody.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypePerformance.zod.js +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.d.ts +2 -2
- package/dist/compute/v2/generated/validators/volumeTypeResource.zod.js +2 -2
- package/dist/dns/v1/generated/models.d.ts +52 -10
- package/dist/dns/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/dns/v1/generated/validators/error.zod.js +6 -9
- package/dist/dns/v1/generated/validators/errorStatus.zod.d.ts +66 -0
- package/dist/dns/v1/generated/validators/errorStatus.zod.js +81 -0
- package/dist/dns/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
- package/dist/dns/v1/generated/validators/fieldViolation.zod.js +60 -0
- package/dist/iam/v1/generated/models.d.ts +52 -10
- package/dist/iam/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/iam/v1/generated/validators/error.zod.js +6 -9
- package/dist/iam/v1/generated/validators/errorStatus.zod.d.ts +30 -0
- package/dist/iam/v1/generated/validators/errorStatus.zod.js +45 -0
- package/dist/iam/v1/generated/validators/fieldViolation.zod.d.ts +21 -0
- package/dist/iam/v1/generated/validators/fieldViolation.zod.js +24 -0
- package/dist/membership/v1/generated/models.d.ts +52 -10
- package/dist/membership/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/membership/v1/generated/validators/error.zod.js +6 -9
- package/dist/membership/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/membership/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/membership/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/membership/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/monitoring/v1/generated/models.d.ts +52 -10
- package/dist/monitoring/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/monitoring/v1/generated/validators/error.zod.js +6 -9
- package/dist/monitoring/v1/generated/validators/errorStatus.zod.d.ts +36 -0
- package/dist/monitoring/v1/generated/validators/errorStatus.zod.js +51 -0
- package/dist/monitoring/v1/generated/validators/fieldViolation.zod.d.ts +27 -0
- package/dist/monitoring/v1/generated/validators/fieldViolation.zod.js +30 -0
- package/dist/notification/v1/generated/models.d.ts +52 -10
- package/dist/notification/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/notification/v1/generated/validators/error.zod.js +6 -9
- package/dist/notification/v1/generated/validators/errorStatus.zod.d.ts +77 -0
- package/dist/notification/v1/generated/validators/errorStatus.zod.js +92 -0
- package/dist/notification/v1/generated/validators/fieldViolation.zod.d.ts +68 -0
- package/dist/notification/v1/generated/validators/fieldViolation.zod.js +71 -0
- package/dist/support/v1/generated/models.d.ts +52 -10
- package/dist/support/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/support/v1/generated/validators/error.zod.js +6 -9
- package/dist/support/v1/generated/validators/errorStatus.zod.d.ts +66 -0
- package/dist/support/v1/generated/validators/errorStatus.zod.js +81 -0
- package/dist/support/v1/generated/validators/fieldViolation.zod.d.ts +57 -0
- package/dist/support/v1/generated/validators/fieldViolation.zod.js +60 -0
- package/dist/swas/v1/generated/models.d.ts +52 -10
- package/dist/swas/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/swas/v1/generated/validators/error.zod.js +6 -9
- package/dist/swas/v1/generated/validators/errorStatus.zod.d.ts +23 -0
- package/dist/swas/v1/generated/validators/errorStatus.zod.js +38 -0
- package/dist/swas/v1/generated/validators/fieldViolation.zod.d.ts +14 -0
- package/dist/swas/v1/generated/validators/fieldViolation.zod.js +17 -0
- package/dist/swas-legacy/v1/generated/validators/instance.zod.d.ts +2 -2
- package/dist/swas-legacy/v1/generated/validators/instanceList.zod.d.ts +2 -2
- package/dist/swas-legacy/v1/generated/validators/lastOperation.zod.d.ts +1 -1
- package/dist/swas-legacy/v1/generated/validators/operation.zod.d.ts +1 -1
- package/dist/swas-legacy/v1/generated/validators/operationLogList.zod.d.ts +1 -1
- package/dist/type/error/v1/generated/models.d.ts +52 -10
- package/dist/type/error/v1/generated/validators/error.zod.d.ts +13 -4
- package/dist/type/error/v1/generated/validators/error.zod.js +6 -9
- package/dist/type/error/v1/generated/validators/errorStatus.zod.d.ts +24 -0
- package/dist/type/error/v1/generated/validators/errorStatus.zod.js +39 -0
- package/dist/type/error/v1/generated/validators/fieldViolation.zod.d.ts +15 -0
- package/dist/type/error/v1/generated/validators/fieldViolation.zod.js +18 -0
- package/dist/type/resource/v1/generated/validators/attachment.zod.d.ts +1 -1
- package/dist/type/resource/v1/generated/validators/attachmentList.zod.d.ts +1 -1
- package/package.json +1 -1
- package/dist/compute/v2/generated/validators/elasticIPOperation.zod.js +0 -50
- package/dist/compute/v2/generated/validators/instanceOperation.zod.d.ts +0 -61
- package/dist/compute/v2/generated/validators/instanceOperation.zod.js +0 -63
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.d.ts +0 -50
- package/dist/compute/v2/generated/validators/networkInterfaceOperation.zod.js +0 -52
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.d.ts +0 -46
- package/dist/compute/v2/generated/validators/privateImageOperation.zod.js +0 -43
- package/dist/compute/v2/generated/validators/virtualPrivateCloudOperation.zod.js +0 -41
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.d.ts +0 -44
- package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringOperation.zod.js +0 -43
- package/dist/compute/v2/generated/validators/volumeBackupOperation.zod.js +0 -43
- package/dist/compute/v2/generated/validators/volumeOperation.zod.d.ts +0 -51
- package/dist/compute/v2/generated/validators/volumeOperation.zod.js +0 -53
- package/dist/compute/v2/generated/validators/volumeSnapshotOperation.zod.js +0 -43
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -48,11 +48,18 @@ export declare const ElasticIPListResponseBody: zod.ZodObject<{
|
|
|
48
48
|
line_id: zod.ZodString;
|
|
49
49
|
region_id: zod.ZodString;
|
|
50
50
|
status: zod.ZodEnum<{
|
|
51
|
+
deleting: "deleting";
|
|
51
52
|
deleted: "deleted";
|
|
52
53
|
available: "available";
|
|
53
54
|
error: "error";
|
|
54
55
|
failed: "failed";
|
|
55
56
|
pending: "pending";
|
|
57
|
+
associating: "associating";
|
|
58
|
+
disassociating: "disassociating";
|
|
59
|
+
updating_bandwidth: "updating_bandwidth";
|
|
60
|
+
updating_internet_charge_type: "updating_internet_charge_type";
|
|
61
|
+
suspending: "suspending";
|
|
62
|
+
resuming: "resuming";
|
|
56
63
|
}>;
|
|
57
64
|
checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
|
|
58
65
|
order_id: zod.ZodNullable<zod.ZodUUID>;
|
|
@@ -103,19 +110,6 @@ export declare const ElasticIPListResponseBody: zod.ZodObject<{
|
|
|
103
110
|
}, zod.z.core.$strict>>;
|
|
104
111
|
access_state: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"pending">, zod.ZodLiteral<"enabled">, zod.ZodLiteral<"suspended">, zod.ZodLiteral<"reclaimed">, zod.ZodLiteral<null>]>>;
|
|
105
112
|
failure_reason: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"order_declined">, zod.ZodLiteral<"order_canceled">, zod.ZodLiteral<"order_expired">, zod.ZodLiteral<"checkout_expired">, zod.ZodLiteral<"provisioning_failed">, zod.ZodLiteral<null>]>>;
|
|
106
|
-
operation: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
107
|
-
type: zod.ZodEnum<{
|
|
108
|
-
create: "create";
|
|
109
|
-
associate: "associate";
|
|
110
|
-
disassociate: "disassociate";
|
|
111
|
-
update_bandwidth: "update_bandwidth";
|
|
112
|
-
update_internet_charge_type: "update_internet_charge_type";
|
|
113
|
-
suspend: "suspend";
|
|
114
|
-
resume: "resume";
|
|
115
|
-
delete: "delete";
|
|
116
|
-
}>;
|
|
117
|
-
started_at: zod.z.ZodISODateTime;
|
|
118
|
-
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
119
113
|
association: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
120
114
|
id: zod.ZodString;
|
|
121
115
|
elastic_ip_id: zod.ZodString;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -34,10 +34,19 @@
|
|
|
34
34
|
*/
|
|
35
35
|
import * as zod from "zod";
|
|
36
36
|
export declare const Error: zod.ZodObject<{
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
error: zod.ZodObject<{
|
|
38
|
+
code: zod.ZodInt;
|
|
39
|
+
status: zod.ZodString;
|
|
40
|
+
message: zod.ZodString;
|
|
41
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
42
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
43
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
44
|
+
field: zod.ZodString;
|
|
45
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
46
|
+
}, zod.z.core.$strict>>>;
|
|
47
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
48
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
49
|
+
}, zod.z.core.$strict>;
|
|
41
50
|
}, zod.z.core.$strict>;
|
|
42
51
|
export type Error = zod.input<typeof Error>;
|
|
43
52
|
export type ErrorOutput = zod.output<typeof Error>;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -33,12 +33,9 @@
|
|
|
33
33
|
* OpenAPI spec version: 2.0.0
|
|
34
34
|
*/
|
|
35
35
|
import * as zod from "zod";
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.describe("What a given `code` carries alongside the message. The keys depend on the code,\nand a client that does not recognise one ignores it."),
|
|
43
|
-
status: zod.int(),
|
|
44
|
-
});
|
|
36
|
+
import { ErrorStatus } from "./errorStatus.zod.js";
|
|
37
|
+
export const Error = zod
|
|
38
|
+
.strictObject({
|
|
39
|
+
error: ErrorStatus,
|
|
40
|
+
})
|
|
41
|
+
.describe("A failed request. The envelope follows the Google REST error format: `code` is the HTTP\nstatus, `status` is its canonical name, and `reason` is the stable machine-readable code\nthat identifies the failure.");
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
*
|
|
11
11
|
* ## Conventions
|
|
12
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
|
|
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`, 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
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
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
16
|
* - **Quotas.** A creation, purchase or resize that adds to what a project holds in a region is checked against the project's quota there before anything is ordered or created, and is refused with HTTP 409 `COMPUTE_PROJECT_QUOTA_EXCEEDED`, whose `meta` names the `resource`, its `limit`, the amount `used` and the amount `requested`. An instance purchase counts the volumes, the new primary network interface and the new elastic IP bought with each instance. Read the limits with `list-quotas`; a limit no operator set is the platform default.
|
|
17
17
|
* - **Projects.** Resource ownership and project identifiers refer to IAM platform projects, not OpenStack tenants. Instances, images and networks share one infrastructure OpenStack project; the platform project remains the authorization and ownership boundary.
|
|
18
18
|
* - **Custom methods.** An action that is not one of the standard methods (list, get, create, update, delete) is a custom method, `POST` on the resource's path followed by `:` and the verb, as in `POST /api/v2/instances/{id}:reboot` (AIP-136). A state is changed by its custom method, never by writing the state: `:start` and `:stop`, `:rescue` and `:unrescue`, `:associate` and `:disassociate`.
|
|
19
|
-
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `
|
|
19
|
+
* - **Operations.** Requests such as `:start`, attaching or deleting return HTTP 202 with the resource as it is when the request is accepted. While an operation runs, the resource's `status` names it, as in `starting` or `deleting`; once it has finished the resource shows its new status and the result. A resource with an operation in progress refuses another operation with HTTP 409 `COMPUTE_RESOURCE_BUSY`; an operation involving two resources, such as attaching a volume, is refused when either has one. A purchased change, such as a resize, is an operation from the moment its Checkout Session is created until the change is applied, the session expires or its order is canceled. Renaming and replacing labels or notes are not operations and are accepted at any time. **Updating.** A `PATCH` carries only mutable fields, all optional and at least one given, and answers 200 when only descriptive fields changed and 202 when an operation started. An operational field (`instance_type_id`, `size_gib`, `bandwidth_mbps`) cannot be combined with any other field in the same request: it is refused with 422 `UPDATE_FIELDS_COMBINED`, because a rename that committed beside a change that was then refused would leave the request half applied.
|
|
20
20
|
* - **Billing relationships.** A purchased resource records its `checkout_session_id` and, once checkout completes, its `order_id`, `order_item_id` and `subscription_id`. Its `access_state` is `pending` until the order is accepted and delivery settles it, then `enabled`; a subscription that lapses suspends or reclaims the resource it pays for. Deleting a resource that subscriptions pay for cancels the subscriptions of its `release_set` in Billing, and the deletion answers with that cancellation.
|
|
21
21
|
* - **Availability zones.** A volume and an instance must reside in the same availability zone to be attached. An instance type and a volume type each belong to one availability zone, as on GCP, so a purchase names the type and the type names the zone; the volumes bought with an instance have to be of types of the instance type's zone.
|
|
22
22
|
* - **IPv6 is routed, not translated.** A virtual private cloud with IPv6 holds a /56 and each of its subnets a /64 of it, as on Alibaba Cloud, Tencent Cloud and Azure; IPv6 and its security groups require no EIP or NAT gateway. EIP and NATGateway are IPv4 products; IPv6 EIP, NAT66 and IPv6 port forwarding are not supported.
|
|
@@ -33,14 +33,18 @@
|
|
|
33
33
|
* OpenAPI spec version: 2.0.0
|
|
34
34
|
*/
|
|
35
35
|
import * as zod from "zod";
|
|
36
|
-
export declare const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
export declare const ErrorStatus: zod.ZodObject<{
|
|
37
|
+
code: zod.ZodInt;
|
|
38
|
+
status: zod.ZodString;
|
|
39
|
+
message: zod.ZodString;
|
|
40
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
41
|
+
metadata: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
|
|
42
|
+
field_violations: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
43
|
+
field: zod.ZodString;
|
|
44
|
+
reason: zod.ZodOptional<zod.ZodString>;
|
|
45
|
+
}, zod.z.core.$strict>>>;
|
|
46
|
+
retry_delay: zod.ZodOptional<zod.ZodString>;
|
|
47
|
+
request_id: zod.ZodOptional<zod.ZodString>;
|
|
44
48
|
}, zod.z.core.$strict>;
|
|
45
|
-
export type
|
|
46
|
-
export type
|
|
49
|
+
export type ErrorStatus = zod.input<typeof ErrorStatus>;
|
|
50
|
+
export type ErrorStatusOutput = zod.output<typeof ErrorStatus>;
|