@distilled.cloud/fly-io 0.27.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +53 -101
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +0 -2
- package/lib/operations/AppCertificatesAcmeCreate.js.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +53 -101
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +0 -2
- package/lib/operations/AppCertificatesAcmeDelete.js.map +1 -1
- package/lib/operations/AppCertificatesCheck.d.ts +62 -119
- package/lib/operations/AppCertificatesCheck.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCheck.js +0 -2
- package/lib/operations/AppCertificatesCheck.js.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +56 -105
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomCreate.js +1 -2
- package/lib/operations/AppCertificatesCustomCreate.js.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +54 -103
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesCustomDelete.js +0 -2
- package/lib/operations/AppCertificatesCustomDelete.js.map +1 -1
- package/lib/operations/AppCertificatesDelete.d.ts +8 -11
- package/lib/operations/AppCertificatesDelete.d.ts.map +1 -1
- package/lib/operations/AppCertificatesDelete.js +0 -2
- package/lib/operations/AppCertificatesDelete.js.map +1 -1
- package/lib/operations/AppCertificatesList.d.ts +28 -51
- package/lib/operations/AppCertificatesList.d.ts.map +1 -1
- package/lib/operations/AppCertificatesList.js +0 -2
- package/lib/operations/AppCertificatesList.js.map +1 -1
- package/lib/operations/AppCertificatesShow.d.ts +53 -101
- package/lib/operations/AppCertificatesShow.d.ts.map +1 -1
- package/lib/operations/AppCertificatesShow.js +0 -2
- package/lib/operations/AppCertificatesShow.js.map +1 -1
- package/lib/operations/AppCreateDeployToken.d.ts +10 -15
- package/lib/operations/AppCreateDeployToken.d.ts.map +1 -1
- package/lib/operations/AppCreateDeployToken.js +0 -2
- package/lib/operations/AppCreateDeployToken.js.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +18 -31
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsCreate.js +0 -2
- package/lib/operations/AppIPAssignmentsCreate.js.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +8 -11
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsDelete.js +0 -2
- package/lib/operations/AppIPAssignmentsDelete.js.map +1 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +15 -25
- package/lib/operations/AppIPAssignmentsList.d.ts.map +1 -1
- package/lib/operations/AppIPAssignmentsList.js +0 -2
- package/lib/operations/AppIPAssignmentsList.js.map +1 -1
- package/lib/operations/AppsCreate.d.ts +10 -15
- package/lib/operations/AppsCreate.d.ts.map +1 -1
- package/lib/operations/AppsCreate.js +2 -3
- package/lib/operations/AppsCreate.js.map +1 -1
- package/lib/operations/AppsDelete.d.ts +7 -9
- package/lib/operations/AppsDelete.d.ts.map +1 -1
- package/lib/operations/AppsDelete.js +2 -3
- package/lib/operations/AppsDelete.js.map +1 -1
- package/lib/operations/AppsList.d.ts +24 -43
- package/lib/operations/AppsList.d.ts.map +1 -1
- package/lib/operations/AppsList.js +0 -2
- package/lib/operations/AppsList.js.map +1 -1
- package/lib/operations/AppsShow.d.ts +20 -35
- package/lib/operations/AppsShow.d.ts.map +1 -1
- package/lib/operations/AppsShow.js +0 -2
- package/lib/operations/AppsShow.js.map +1 -1
- package/lib/operations/CurrentTokenShow.d.ts +17 -27
- package/lib/operations/CurrentTokenShow.d.ts.map +1 -1
- package/lib/operations/CurrentTokenShow.js +2 -6
- package/lib/operations/CurrentTokenShow.js.map +1 -1
- package/lib/operations/MachinesCordon.d.ts +8 -11
- package/lib/operations/MachinesCordon.d.ts.map +1 -1
- package/lib/operations/MachinesCordon.js +2 -3
- package/lib/operations/MachinesCordon.js.map +1 -1
- package/lib/operations/MachinesCreate.d.ts +799 -1615
- package/lib/operations/MachinesCreate.d.ts.map +1 -1
- package/lib/operations/MachinesCreate.js +9 -3
- package/lib/operations/MachinesCreate.js.map +1 -1
- package/lib/operations/MachinesCreateLease.d.ts +16 -27
- package/lib/operations/MachinesCreateLease.d.ts.map +1 -1
- package/lib/operations/MachinesCreateLease.js +0 -2
- package/lib/operations/MachinesCreateLease.js.map +1 -1
- package/lib/operations/MachinesDelete.d.ts +9 -13
- package/lib/operations/MachinesDelete.d.ts.map +1 -1
- package/lib/operations/MachinesDelete.js +2 -3
- package/lib/operations/MachinesDelete.js.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +9 -13
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesDeleteMetadata.js +0 -2
- package/lib/operations/MachinesDeleteMetadata.js.map +1 -1
- package/lib/operations/MachinesExec.d.ts +18 -31
- package/lib/operations/MachinesExec.d.ts.map +1 -1
- package/lib/operations/MachinesExec.js +0 -2
- package/lib/operations/MachinesExec.js.map +1 -1
- package/lib/operations/MachinesGetMemory.d.ts +11 -17
- package/lib/operations/MachinesGetMemory.d.ts.map +1 -1
- package/lib/operations/MachinesGetMemory.js +0 -2
- package/lib/operations/MachinesGetMemory.js.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +11 -17
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +1 -1
- package/lib/operations/MachinesGetMetadataKey.js +0 -2
- package/lib/operations/MachinesGetMetadataKey.js.map +1 -1
- package/lib/operations/MachinesList.d.ts +545 -1099
- package/lib/operations/MachinesList.d.ts.map +1 -1
- package/lib/operations/MachinesList.js +6 -2
- package/lib/operations/MachinesList.js.map +1 -1
- package/lib/operations/MachinesListEvents.d.ts +16 -27
- package/lib/operations/MachinesListEvents.d.ts.map +1 -1
- package/lib/operations/MachinesListEvents.js +0 -2
- package/lib/operations/MachinesListEvents.js.map +1 -1
- package/lib/operations/MachinesListProcesses.d.ts +22 -39
- package/lib/operations/MachinesListProcesses.d.ts.map +1 -1
- package/lib/operations/MachinesListProcesses.js +0 -2
- package/lib/operations/MachinesListProcesses.js.map +1 -1
- package/lib/operations/MachinesListVersions.d.ts +261 -523
- package/lib/operations/MachinesListVersions.d.ts.map +1 -1
- package/lib/operations/MachinesListVersions.js +3 -2
- package/lib/operations/MachinesListVersions.js.map +1 -1
- package/lib/operations/MachinesOrgList.d.ts +47 -89
- package/lib/operations/MachinesOrgList.d.ts.map +1 -1
- package/lib/operations/MachinesOrgList.js +3 -5
- package/lib/operations/MachinesOrgList.js.map +1 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +11 -17
- package/lib/operations/MachinesReclaimMemory.d.ts.map +1 -1
- package/lib/operations/MachinesReclaimMemory.js +0 -2
- package/lib/operations/MachinesReclaimMemory.js.map +1 -1
- package/lib/operations/MachinesReleaseLease.d.ts +8 -11
- package/lib/operations/MachinesReleaseLease.d.ts.map +1 -1
- package/lib/operations/MachinesReleaseLease.js +0 -2
- package/lib/operations/MachinesReleaseLease.js.map +1 -1
- package/lib/operations/MachinesRestart.d.ts +10 -15
- package/lib/operations/MachinesRestart.d.ts.map +1 -1
- package/lib/operations/MachinesRestart.js +2 -3
- package/lib/operations/MachinesRestart.js.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +12 -19
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +1 -1
- package/lib/operations/MachinesSetMemoryLimit.js +0 -2
- package/lib/operations/MachinesSetMemoryLimit.js.map +1 -1
- package/lib/operations/MachinesShow.d.ts +542 -1093
- package/lib/operations/MachinesShow.d.ts.map +1 -1
- package/lib/operations/MachinesShow.js +6 -2
- package/lib/operations/MachinesShow.js.map +1 -1
- package/lib/operations/MachinesShowLease.d.ts +14 -23
- package/lib/operations/MachinesShowLease.d.ts.map +1 -1
- package/lib/operations/MachinesShowLease.js +0 -2
- package/lib/operations/MachinesShowLease.js.map +1 -1
- package/lib/operations/MachinesShowMetadata.d.ts +8 -13
- package/lib/operations/MachinesShowMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesShowMetadata.js +0 -2
- package/lib/operations/MachinesShowMetadata.js.map +1 -1
- package/lib/operations/MachinesSignal.d.ts +9 -13
- package/lib/operations/MachinesSignal.d.ts.map +1 -1
- package/lib/operations/MachinesSignal.js +2 -3
- package/lib/operations/MachinesSignal.js.map +1 -1
- package/lib/operations/MachinesStart.d.ts +8 -11
- package/lib/operations/MachinesStart.d.ts.map +1 -1
- package/lib/operations/MachinesStart.js +2 -3
- package/lib/operations/MachinesStart.js.map +1 -1
- package/lib/operations/MachinesStop.d.ts +10 -15
- package/lib/operations/MachinesStop.d.ts.map +1 -1
- package/lib/operations/MachinesStop.js +2 -3
- package/lib/operations/MachinesStop.js.map +1 -1
- package/lib/operations/MachinesSuspend.d.ts +8 -11
- package/lib/operations/MachinesSuspend.d.ts.map +1 -1
- package/lib/operations/MachinesSuspend.js +2 -3
- package/lib/operations/MachinesSuspend.js.map +1 -1
- package/lib/operations/MachinesUncordon.d.ts +8 -11
- package/lib/operations/MachinesUncordon.d.ts.map +1 -1
- package/lib/operations/MachinesUncordon.js +2 -3
- package/lib/operations/MachinesUncordon.js.map +1 -1
- package/lib/operations/MachinesUpdate.d.ts +801 -1619
- package/lib/operations/MachinesUpdate.d.ts.map +1 -1
- package/lib/operations/MachinesUpdate.js +9 -3
- package/lib/operations/MachinesUpdate.js.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +12 -20
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpdateMetadata.js +3 -5
- package/lib/operations/MachinesUpdateMetadata.js.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +11 -17
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +1 -1
- package/lib/operations/MachinesUpsertMetadata.js +0 -2
- package/lib/operations/MachinesUpsertMetadata.js.map +1 -1
- package/lib/operations/MachinesWait.d.ts +18 -31
- package/lib/operations/MachinesWait.d.ts.map +1 -1
- package/lib/operations/MachinesWait.js +0 -2
- package/lib/operations/MachinesWait.js.map +1 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +29 -55
- package/lib/operations/PlatformPlacementsPost.d.ts.map +1 -1
- package/lib/operations/PlatformPlacementsPost.js +0 -2
- package/lib/operations/PlatformPlacementsPost.js.map +1 -1
- package/lib/operations/PlatformRegionsGet.d.ts +18 -29
- package/lib/operations/PlatformRegionsGet.d.ts.map +1 -1
- package/lib/operations/PlatformRegionsGet.js +0 -2
- package/lib/operations/PlatformRegionsGet.js.map +1 -1
- package/lib/operations/SecretCreate.d.ts +17 -29
- package/lib/operations/SecretCreate.d.ts.map +1 -1
- package/lib/operations/SecretCreate.js +0 -2
- package/lib/operations/SecretCreate.js.map +1 -1
- package/lib/operations/SecretDelete.d.ts +11 -17
- package/lib/operations/SecretDelete.d.ts.map +1 -1
- package/lib/operations/SecretDelete.js +0 -2
- package/lib/operations/SecretDelete.js.map +1 -1
- package/lib/operations/SecretGet.d.ts +16 -27
- package/lib/operations/SecretGet.d.ts.map +1 -1
- package/lib/operations/SecretGet.js +0 -2
- package/lib/operations/SecretGet.js.map +1 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +13 -21
- package/lib/operations/SecretkeyDecrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyDecrypt.js +0 -2
- package/lib/operations/SecretkeyDecrypt.js.map +1 -1
- package/lib/operations/SecretkeyDelete.d.ts +11 -17
- package/lib/operations/SecretkeyDelete.d.ts.map +1 -1
- package/lib/operations/SecretkeyDelete.js +0 -2
- package/lib/operations/SecretkeyDelete.js.map +1 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +13 -21
- package/lib/operations/SecretkeyEncrypt.d.ts.map +1 -1
- package/lib/operations/SecretkeyEncrypt.js +0 -2
- package/lib/operations/SecretkeyEncrypt.js.map +1 -1
- package/lib/operations/SecretkeyGenerate.d.ts +18 -31
- package/lib/operations/SecretkeyGenerate.d.ts.map +1 -1
- package/lib/operations/SecretkeyGenerate.js +0 -2
- package/lib/operations/SecretkeyGenerate.js.map +1 -1
- package/lib/operations/SecretkeyGet.d.ts +15 -25
- package/lib/operations/SecretkeyGet.d.ts.map +1 -1
- package/lib/operations/SecretkeyGet.js +0 -2
- package/lib/operations/SecretkeyGet.js.map +1 -1
- package/lib/operations/SecretkeySet.d.ts +18 -31
- package/lib/operations/SecretkeySet.d.ts.map +1 -1
- package/lib/operations/SecretkeySet.js +0 -2
- package/lib/operations/SecretkeySet.js.map +1 -1
- package/lib/operations/SecretkeySign.d.ts +12 -19
- package/lib/operations/SecretkeySign.d.ts.map +1 -1
- package/lib/operations/SecretkeySign.js +0 -2
- package/lib/operations/SecretkeySign.js.map +1 -1
- package/lib/operations/SecretkeyVerify.d.ts +11 -17
- package/lib/operations/SecretkeyVerify.d.ts.map +1 -1
- package/lib/operations/SecretkeyVerify.js +2 -3
- package/lib/operations/SecretkeyVerify.js.map +1 -1
- package/lib/operations/SecretkeysList.d.ts +17 -29
- package/lib/operations/SecretkeysList.d.ts.map +1 -1
- package/lib/operations/SecretkeysList.js +0 -2
- package/lib/operations/SecretkeysList.js.map +1 -1
- package/lib/operations/SecretsList.d.ts +17 -29
- package/lib/operations/SecretsList.d.ts.map +1 -1
- package/lib/operations/SecretsList.js +0 -2
- package/lib/operations/SecretsList.js.map +1 -1
- package/lib/operations/SecretsUpdate.d.ts +18 -33
- package/lib/operations/SecretsUpdate.d.ts.map +1 -1
- package/lib/operations/SecretsUpdate.js +0 -2
- package/lib/operations/SecretsUpdate.js.map +1 -1
- package/lib/operations/TokensAuthenticate.d.ts +26 -0
- package/lib/operations/TokensAuthenticate.d.ts.map +1 -0
- package/lib/operations/TokensAuthenticate.js +33 -0
- package/lib/operations/TokensAuthenticate.js.map +1 -0
- package/lib/operations/TokensAuthorize.d.ts +59 -0
- package/lib/operations/TokensAuthorize.d.ts.map +1 -0
- package/lib/operations/TokensAuthorize.js +64 -0
- package/lib/operations/TokensAuthorize.js.map +1 -0
- package/lib/operations/TokensRequestKms.d.ts +6 -5
- package/lib/operations/TokensRequestKms.d.ts.map +1 -1
- package/lib/operations/TokensRequestKms.js +2 -3
- package/lib/operations/TokensRequestKms.js.map +1 -1
- package/lib/operations/TokensRequestOIDC.d.ts +8 -11
- package/lib/operations/TokensRequestOIDC.d.ts.map +1 -1
- package/lib/operations/TokensRequestOIDC.js +1 -3
- package/lib/operations/TokensRequestOIDC.js.map +1 -1
- package/lib/operations/VolumeDelete.d.ts +30 -55
- package/lib/operations/VolumeDelete.d.ts.map +1 -1
- package/lib/operations/VolumeDelete.js +0 -2
- package/lib/operations/VolumeDelete.js.map +1 -1
- package/lib/operations/VolumesCreate.d.ts +52 -99
- package/lib/operations/VolumesCreate.d.ts.map +1 -1
- package/lib/operations/VolumesCreate.js +0 -2
- package/lib/operations/VolumesCreate.js.map +1 -1
- package/lib/operations/VolumesExtend.d.ts +34 -63
- package/lib/operations/VolumesExtend.d.ts.map +1 -1
- package/lib/operations/VolumesExtend.js +0 -2
- package/lib/operations/VolumesExtend.js.map +1 -1
- package/lib/operations/VolumesGetById.d.ts +30 -55
- package/lib/operations/VolumesGetById.d.ts.map +1 -1
- package/lib/operations/VolumesGetById.js +0 -2
- package/lib/operations/VolumesGetById.js.map +1 -1
- package/lib/operations/VolumesList.d.ts +30 -55
- package/lib/operations/VolumesList.d.ts.map +1 -1
- package/lib/operations/VolumesList.js +0 -2
- package/lib/operations/VolumesList.js.map +1 -1
- package/lib/operations/VolumesListSnapshots.d.ts +16 -27
- package/lib/operations/VolumesListSnapshots.d.ts.map +1 -1
- package/lib/operations/VolumesListSnapshots.js +0 -2
- package/lib/operations/VolumesListSnapshots.js.map +1 -1
- package/lib/operations/VolumesOrgList.d.ts +43 -81
- package/lib/operations/VolumesOrgList.d.ts.map +1 -1
- package/lib/operations/VolumesOrgList.js +0 -2
- package/lib/operations/VolumesOrgList.js.map +1 -1
- package/lib/operations/VolumesUpdate.d.ts +32 -59
- package/lib/operations/VolumesUpdate.d.ts.map +1 -1
- package/lib/operations/VolumesUpdate.js +0 -2
- package/lib/operations/VolumesUpdate.js.map +1 -1
- package/lib/operations/createVolumeSnapshot.d.ts +8 -11
- package/lib/operations/createVolumeSnapshot.d.ts.map +1 -1
- package/lib/operations/createVolumeSnapshot.js +0 -2
- package/lib/operations/createVolumeSnapshot.js.map +1 -1
- package/lib/operations/index.d.ts +4 -1
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +4 -1
- package/lib/operations/index.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/AppCertificatesAcmeCreate.ts +45 -6
- package/src/operations/AppCertificatesAcmeDelete.ts +45 -6
- package/src/operations/AppCertificatesCheck.ts +54 -4
- package/src/operations/AppCertificatesCustomCreate.ts +48 -6
- package/src/operations/AppCertificatesCustomDelete.ts +46 -6
- package/src/operations/AppCertificatesDelete.ts +7 -5
- package/src/operations/AppCertificatesList.ts +29 -4
- package/src/operations/AppCertificatesShow.ts +45 -4
- package/src/operations/AppCreateDeployToken.ts +11 -4
- package/src/operations/AppIPAssignmentsCreate.ts +19 -6
- package/src/operations/AppIPAssignmentsDelete.ts +7 -6
- package/src/operations/AppIPAssignmentsList.ts +16 -4
- package/src/operations/AppsCreate.ts +12 -4
- package/src/operations/AppsDelete.ts +9 -4
- package/src/operations/AppsList.ts +25 -4
- package/src/operations/AppsShow.ts +17 -4
- package/src/operations/CurrentTokenShow.ts +17 -7
- package/src/operations/MachinesCordon.ts +8 -4
- package/src/operations/MachinesCreate.ts +767 -5
- package/src/operations/MachinesCreateLease.ts +15 -4
- package/src/operations/MachinesDelete.ts +9 -4
- package/src/operations/MachinesDeleteMetadata.ts +8 -6
- package/src/operations/MachinesExec.ts +17 -4
- package/src/operations/MachinesGetMemory.ts +10 -4
- package/src/operations/MachinesGetMetadataKey.ts +10 -6
- package/src/operations/MachinesList.ts +524 -4
- package/src/operations/MachinesListEvents.ts +15 -4
- package/src/operations/MachinesListProcesses.ts +18 -5
- package/src/operations/MachinesListVersions.ts +249 -4
- package/src/operations/MachinesOrgList.ts +49 -7
- package/src/operations/MachinesReclaimMemory.ts +10 -5
- package/src/operations/MachinesReleaseLease.ts +7 -4
- package/src/operations/MachinesRestart.ts +17 -4
- package/src/operations/MachinesSetMemoryLimit.ts +11 -6
- package/src/operations/MachinesShow.ts +519 -4
- package/src/operations/MachinesShowLease.ts +13 -4
- package/src/operations/MachinesShowMetadata.ts +10 -4
- package/src/operations/MachinesSignal.ts +23 -4
- package/src/operations/MachinesStart.ts +8 -4
- package/src/operations/MachinesStop.ts +17 -4
- package/src/operations/MachinesSuspend.ts +8 -4
- package/src/operations/MachinesUncordon.ts +8 -4
- package/src/operations/MachinesUpdate.ts +767 -5
- package/src/operations/MachinesUpdateMetadata.ts +13 -9
- package/src/operations/MachinesUpsertMetadata.ts +10 -6
- package/src/operations/MachinesWait.ts +23 -4
- package/src/operations/PlatformPlacementsPost.ts +26 -6
- package/src/operations/PlatformRegionsGet.ts +16 -4
- package/src/operations/SecretCreate.ts +16 -4
- package/src/operations/SecretDelete.ts +10 -4
- package/src/operations/SecretGet.ts +15 -4
- package/src/operations/SecretkeyDecrypt.ts +12 -4
- package/src/operations/SecretkeyDelete.ts +10 -4
- package/src/operations/SecretkeyEncrypt.ts +12 -4
- package/src/operations/SecretkeyGenerate.ts +17 -4
- package/src/operations/SecretkeyGet.ts +14 -4
- package/src/operations/SecretkeySet.ts +17 -4
- package/src/operations/SecretkeySign.ts +11 -4
- package/src/operations/SecretkeyVerify.ts +11 -4
- package/src/operations/SecretkeysList.ts +18 -4
- package/src/operations/SecretsList.ts +18 -4
- package/src/operations/SecretsUpdate.ts +19 -4
- package/src/operations/TokensAuthenticate.ts +54 -0
- package/src/operations/TokensAuthorize.ts +122 -0
- package/src/operations/TokensRequestKms.ts +7 -4
- package/src/operations/TokensRequestOIDC.ts +9 -4
- package/src/operations/VolumeDelete.ts +29 -4
- package/src/operations/VolumesCreate.ts +53 -4
- package/src/operations/VolumesExtend.ts +33 -4
- package/src/operations/VolumesGetById.ts +29 -4
- package/src/operations/VolumesList.ts +31 -4
- package/src/operations/VolumesListSnapshots.ts +15 -4
- package/src/operations/VolumesOrgList.ts +44 -4
- package/src/operations/VolumesUpdate.ts +31 -4
- package/src/operations/createVolumeSnapshot.ts +7 -4
- package/src/operations/index.ts +4 -1
|
@@ -4,6 +4,10 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesListVersionsInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const MachinesListVersionsInput =
|
|
8
12
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -13,10 +17,247 @@ export const MachinesListVersionsInput =
|
|
|
13
17
|
method: "GET",
|
|
14
18
|
path: "/apps/{app_name}/machines/{machine_id}/versions",
|
|
15
19
|
}),
|
|
16
|
-
)
|
|
17
|
-
export type MachinesListVersionsInput = typeof MachinesListVersionsInput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<MachinesListVersionsInput>;
|
|
18
21
|
|
|
19
22
|
// Output Schema
|
|
23
|
+
export type MachinesListVersionsOutput = {
|
|
24
|
+
user_config?: {
|
|
25
|
+
auto_destroy?: boolean;
|
|
26
|
+
cache_drive?: { size_mb?: number };
|
|
27
|
+
checks?: Record<
|
|
28
|
+
string,
|
|
29
|
+
{
|
|
30
|
+
grace_period?: string;
|
|
31
|
+
headers?: { name?: string; values?: string[] }[];
|
|
32
|
+
interval?: string;
|
|
33
|
+
kind?: "informational" | "readiness";
|
|
34
|
+
method?: string;
|
|
35
|
+
path?: string;
|
|
36
|
+
port?: number;
|
|
37
|
+
protocol?: string;
|
|
38
|
+
timeout?: string;
|
|
39
|
+
tls_server_name?: string;
|
|
40
|
+
tls_skip_verify?: boolean;
|
|
41
|
+
type?: string;
|
|
42
|
+
}
|
|
43
|
+
>;
|
|
44
|
+
containers?: {
|
|
45
|
+
cmd?: string[];
|
|
46
|
+
depends_on?: {
|
|
47
|
+
condition?: "exited_successfully" | "healthy" | "started";
|
|
48
|
+
name?: string;
|
|
49
|
+
}[];
|
|
50
|
+
entrypoint?: string[];
|
|
51
|
+
env?: Record<string, string>;
|
|
52
|
+
env_from?: {
|
|
53
|
+
env_var?: string;
|
|
54
|
+
field_ref?:
|
|
55
|
+
| "id"
|
|
56
|
+
| "version"
|
|
57
|
+
| "app_name"
|
|
58
|
+
| "private_ip"
|
|
59
|
+
| "region"
|
|
60
|
+
| "image";
|
|
61
|
+
}[];
|
|
62
|
+
exec?: string[];
|
|
63
|
+
files?: {
|
|
64
|
+
guest_path?: string;
|
|
65
|
+
image_config?: string;
|
|
66
|
+
mode?: number;
|
|
67
|
+
raw_value?: string;
|
|
68
|
+
secret_name?: string;
|
|
69
|
+
}[];
|
|
70
|
+
healthchecks?: {
|
|
71
|
+
exec?: { command?: string[] };
|
|
72
|
+
failure_threshold?: number;
|
|
73
|
+
grace_period?: number;
|
|
74
|
+
http?: {
|
|
75
|
+
headers?: { name?: string; values?: string[] }[];
|
|
76
|
+
method?: string;
|
|
77
|
+
path?: string;
|
|
78
|
+
port?: number;
|
|
79
|
+
scheme?: "http" | "https";
|
|
80
|
+
tls_server_name?: string;
|
|
81
|
+
tls_skip_verify?: boolean;
|
|
82
|
+
};
|
|
83
|
+
interval?: number;
|
|
84
|
+
kind?: "readiness" | "liveness";
|
|
85
|
+
name?: string;
|
|
86
|
+
success_threshold?: number;
|
|
87
|
+
tcp?: { port?: number };
|
|
88
|
+
timeout?: number;
|
|
89
|
+
unhealthy?: "stop";
|
|
90
|
+
}[];
|
|
91
|
+
image?: string;
|
|
92
|
+
name?: string;
|
|
93
|
+
restart?: {
|
|
94
|
+
gpu_bid_price?: number;
|
|
95
|
+
max_retries?: number;
|
|
96
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
97
|
+
};
|
|
98
|
+
secrets?: { env_var?: string; name?: string }[];
|
|
99
|
+
stop?: {
|
|
100
|
+
signal?:
|
|
101
|
+
| "SIGHUP"
|
|
102
|
+
| "SIGINT"
|
|
103
|
+
| "SIGQUIT"
|
|
104
|
+
| "SIGKILL"
|
|
105
|
+
| "SIGUSR1"
|
|
106
|
+
| "SIGUSR2"
|
|
107
|
+
| "SIGTERM";
|
|
108
|
+
timeout?: string;
|
|
109
|
+
};
|
|
110
|
+
user?: string;
|
|
111
|
+
}[];
|
|
112
|
+
disable_machine_autostart?: boolean;
|
|
113
|
+
dns?: {
|
|
114
|
+
dns_forward_rules?: { addr?: string; basename?: string }[];
|
|
115
|
+
hostname?: string;
|
|
116
|
+
hostname_fqdn?: string;
|
|
117
|
+
nameservers?: string[];
|
|
118
|
+
options?: { name?: string; value?: string }[];
|
|
119
|
+
searches?: string[];
|
|
120
|
+
skip_registration?: boolean;
|
|
121
|
+
};
|
|
122
|
+
env?: Record<string, string>;
|
|
123
|
+
files?: {
|
|
124
|
+
guest_path?: string;
|
|
125
|
+
image_config?: string;
|
|
126
|
+
mode?: number;
|
|
127
|
+
raw_value?: string;
|
|
128
|
+
secret_name?: string;
|
|
129
|
+
}[];
|
|
130
|
+
guest?: {
|
|
131
|
+
cpu_kind?: string;
|
|
132
|
+
cpus?: number;
|
|
133
|
+
gpu_kind?: string;
|
|
134
|
+
gpus?: number;
|
|
135
|
+
host_dedication_id?: string;
|
|
136
|
+
kernel_args?: string[];
|
|
137
|
+
max_memory_mb?: number;
|
|
138
|
+
memory_mb?: number;
|
|
139
|
+
persist_rootfs?: "never" | "always" | "restart";
|
|
140
|
+
};
|
|
141
|
+
image?: string;
|
|
142
|
+
init?: {
|
|
143
|
+
cmd?: string[];
|
|
144
|
+
entrypoint?: string[];
|
|
145
|
+
exec?: string[];
|
|
146
|
+
kernel_args?: string[];
|
|
147
|
+
swap_size_mb?: number;
|
|
148
|
+
tty?: boolean;
|
|
149
|
+
};
|
|
150
|
+
metadata?: Record<string, string>;
|
|
151
|
+
metrics?: { https?: boolean; path?: string; port?: number };
|
|
152
|
+
mounts?: {
|
|
153
|
+
add_size_gb?: number;
|
|
154
|
+
encrypted?: boolean;
|
|
155
|
+
extend_threshold_percent?: number;
|
|
156
|
+
name?: string;
|
|
157
|
+
path?: string;
|
|
158
|
+
size_gb?: number;
|
|
159
|
+
size_gb_limit?: number;
|
|
160
|
+
volume?: string;
|
|
161
|
+
}[];
|
|
162
|
+
processes?: {
|
|
163
|
+
cmd?: string[];
|
|
164
|
+
entrypoint?: string[];
|
|
165
|
+
env?: Record<string, string>;
|
|
166
|
+
env_from?: {
|
|
167
|
+
env_var?: string;
|
|
168
|
+
field_ref?:
|
|
169
|
+
| "id"
|
|
170
|
+
| "version"
|
|
171
|
+
| "app_name"
|
|
172
|
+
| "private_ip"
|
|
173
|
+
| "region"
|
|
174
|
+
| "image";
|
|
175
|
+
}[];
|
|
176
|
+
exec?: string[];
|
|
177
|
+
ignore_app_secrets?: boolean;
|
|
178
|
+
secrets?: { env_var?: string; name?: string }[];
|
|
179
|
+
user?: string;
|
|
180
|
+
}[];
|
|
181
|
+
restart?: {
|
|
182
|
+
gpu_bid_price?: number;
|
|
183
|
+
max_retries?: number;
|
|
184
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
185
|
+
};
|
|
186
|
+
rootfs?: { persist?: "never" | "always" | "restart"; size_gb?: number };
|
|
187
|
+
schedule?: string;
|
|
188
|
+
services?: {
|
|
189
|
+
autostart?: boolean;
|
|
190
|
+
autostop?: "off" | "stop" | "suspend";
|
|
191
|
+
checks?: {
|
|
192
|
+
grace_period?: string;
|
|
193
|
+
headers?: { name?: string; values?: string[] }[];
|
|
194
|
+
interval?: string;
|
|
195
|
+
method?: string;
|
|
196
|
+
path?: string;
|
|
197
|
+
port?: number;
|
|
198
|
+
protocol?: string;
|
|
199
|
+
timeout?: string;
|
|
200
|
+
tls_server_name?: string;
|
|
201
|
+
tls_skip_verify?: boolean;
|
|
202
|
+
type?: string;
|
|
203
|
+
}[];
|
|
204
|
+
concurrency?: { hard_limit?: number; soft_limit?: number; type?: string };
|
|
205
|
+
force_instance_description?: string;
|
|
206
|
+
force_instance_key?: string;
|
|
207
|
+
internal_port?: number;
|
|
208
|
+
min_machines_running?: number;
|
|
209
|
+
ports?: {
|
|
210
|
+
end_port?: number;
|
|
211
|
+
force_https?: boolean;
|
|
212
|
+
handlers?: string[];
|
|
213
|
+
http_options?: {
|
|
214
|
+
compress?: boolean;
|
|
215
|
+
h2_backend?: boolean;
|
|
216
|
+
headers_read_timeout?: number;
|
|
217
|
+
idle_timeout?: number;
|
|
218
|
+
replay_cache?: {
|
|
219
|
+
allow_bypass?: boolean;
|
|
220
|
+
name?: string;
|
|
221
|
+
path_prefix?: string;
|
|
222
|
+
ttl_seconds?: number;
|
|
223
|
+
type?: "cookie" | "header";
|
|
224
|
+
}[];
|
|
225
|
+
response?: { headers?: Record<string, unknown>; pristine?: boolean };
|
|
226
|
+
};
|
|
227
|
+
port?: number;
|
|
228
|
+
proxy_proto_options?: { version?: string };
|
|
229
|
+
start_port?: number;
|
|
230
|
+
tls_options?: {
|
|
231
|
+
alpn?: string[];
|
|
232
|
+
default_self_signed?: boolean;
|
|
233
|
+
versions?: string[];
|
|
234
|
+
};
|
|
235
|
+
}[];
|
|
236
|
+
protocol?: string;
|
|
237
|
+
}[];
|
|
238
|
+
size?: string;
|
|
239
|
+
spot?: { max_price_fraction?: number };
|
|
240
|
+
standbys?: string[];
|
|
241
|
+
statics?: {
|
|
242
|
+
guest_path: string;
|
|
243
|
+
index_document?: string;
|
|
244
|
+
tigris_bucket?: string;
|
|
245
|
+
url_prefix: string;
|
|
246
|
+
}[];
|
|
247
|
+
stop_config?: {
|
|
248
|
+
signal?:
|
|
249
|
+
| "SIGHUP"
|
|
250
|
+
| "SIGINT"
|
|
251
|
+
| "SIGQUIT"
|
|
252
|
+
| "SIGKILL"
|
|
253
|
+
| "SIGUSR1"
|
|
254
|
+
| "SIGUSR2"
|
|
255
|
+
| "SIGTERM";
|
|
256
|
+
timeout?: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
version?: string;
|
|
260
|
+
}[];
|
|
20
261
|
export const MachinesListVersionsOutput =
|
|
21
262
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Array(
|
|
22
263
|
Schema.Struct({
|
|
@@ -447,6 +688,11 @@ export const MachinesListVersionsOutput =
|
|
|
447
688
|
),
|
|
448
689
|
),
|
|
449
690
|
size: Schema.optional(Schema.String),
|
|
691
|
+
spot: Schema.optional(
|
|
692
|
+
Schema.Struct({
|
|
693
|
+
max_price_fraction: Schema.optional(Schema.Number),
|
|
694
|
+
}),
|
|
695
|
+
),
|
|
450
696
|
standbys: Schema.optional(Schema.Array(Schema.String)),
|
|
451
697
|
statics: Schema.optional(
|
|
452
698
|
Schema.Array(
|
|
@@ -478,8 +724,7 @@ export const MachinesListVersionsOutput =
|
|
|
478
724
|
),
|
|
479
725
|
version: Schema.optional(Schema.String),
|
|
480
726
|
}),
|
|
481
|
-
)
|
|
482
|
-
export type MachinesListVersionsOutput = typeof MachinesListVersionsOutput.Type;
|
|
727
|
+
) as unknown as Schema.Codec<MachinesListVersionsOutput>;
|
|
483
728
|
|
|
484
729
|
// The operation
|
|
485
730
|
/**
|
|
@@ -4,6 +4,16 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesOrgListInput {
|
|
8
|
+
org_slug: string;
|
|
9
|
+
include_deleted?: boolean;
|
|
10
|
+
region?: string;
|
|
11
|
+
state?: string;
|
|
12
|
+
summary?: boolean;
|
|
13
|
+
updated_after?: string;
|
|
14
|
+
cursor?: string;
|
|
15
|
+
limit?: number;
|
|
16
|
+
}
|
|
7
17
|
export const MachinesOrgListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
18
|
org_slug: Schema.String.pipe(T.PathParam()),
|
|
9
19
|
include_deleted: Schema.optional(Schema.Boolean),
|
|
@@ -13,11 +23,45 @@ export const MachinesOrgListInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
13
23
|
updated_after: Schema.optional(Schema.String),
|
|
14
24
|
cursor: Schema.optional(Schema.String),
|
|
15
25
|
limit: Schema.optional(Schema.Number),
|
|
16
|
-
}).pipe(
|
|
17
|
-
|
|
26
|
+
}).pipe(
|
|
27
|
+
T.Http({ method: "GET", path: "/orgs/{org_slug}/machines" }),
|
|
28
|
+
) as unknown as Schema.Codec<MachinesOrgListInput>;
|
|
18
29
|
|
|
19
30
|
// Output Schema
|
|
31
|
+
export interface MachinesOrgListOutput {
|
|
32
|
+
error_regions?: string[];
|
|
33
|
+
last_machine_id?: string;
|
|
34
|
+
last_updated_at?: string;
|
|
35
|
+
machines?: {
|
|
36
|
+
app_name?: string;
|
|
37
|
+
config?: {
|
|
38
|
+
guest?: {
|
|
39
|
+
cpu_kind?: string;
|
|
40
|
+
cpus?: number;
|
|
41
|
+
gpu_kind?: string;
|
|
42
|
+
gpus?: number;
|
|
43
|
+
host_dedication_id?: string;
|
|
44
|
+
kernel_args?: string[];
|
|
45
|
+
max_memory_mb?: number;
|
|
46
|
+
memory_mb?: number;
|
|
47
|
+
persist_rootfs?: "never" | "always" | "restart";
|
|
48
|
+
};
|
|
49
|
+
image?: string;
|
|
50
|
+
metadata?: Record<string, string>;
|
|
51
|
+
};
|
|
52
|
+
created_at?: string;
|
|
53
|
+
id?: string;
|
|
54
|
+
name?: string;
|
|
55
|
+
private_ip?: string;
|
|
56
|
+
region?: string;
|
|
57
|
+
state?: string;
|
|
58
|
+
updated_at?: string;
|
|
59
|
+
version?: string;
|
|
60
|
+
}[];
|
|
61
|
+
next_cursor?: string;
|
|
62
|
+
}
|
|
20
63
|
export const MachinesOrgListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
64
|
+
error_regions: Schema.optional(Schema.Array(Schema.String)),
|
|
21
65
|
last_machine_id: Schema.optional(Schema.String),
|
|
22
66
|
last_updated_at: Schema.optional(Schema.String),
|
|
23
67
|
machines: Schema.optional(
|
|
@@ -49,7 +93,6 @@ export const MachinesOrgListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
49
93
|
),
|
|
50
94
|
created_at: Schema.optional(Schema.String),
|
|
51
95
|
id: Schema.optional(Schema.String),
|
|
52
|
-
instance_id: Schema.optional(Schema.String),
|
|
53
96
|
name: Schema.optional(Schema.String),
|
|
54
97
|
private_ip: Schema.optional(Schema.String),
|
|
55
98
|
region: Schema.optional(Schema.String),
|
|
@@ -60,8 +103,7 @@ export const MachinesOrgListOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
60
103
|
),
|
|
61
104
|
),
|
|
62
105
|
next_cursor: Schema.optional(Schema.String),
|
|
63
|
-
})
|
|
64
|
-
export type MachinesOrgListOutput = typeof MachinesOrgListOutput.Type;
|
|
106
|
+
}) as unknown as Schema.Codec<MachinesOrgListOutput>;
|
|
65
107
|
|
|
66
108
|
// The operation
|
|
67
109
|
/**
|
|
@@ -76,8 +118,8 @@ export type MachinesOrgListOutput = typeof MachinesOrgListOutput.Type;
|
|
|
76
118
|
* @param state - Comma separated list of states to filter (created, started, stopped, suspended)
|
|
77
119
|
* @param summary - Omit config from responses
|
|
78
120
|
* @param updated_after - Only return machines updated after this time. Timestamp must be in the RFC 3339 format
|
|
79
|
-
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after)
|
|
80
|
-
* @param limit - The number of machines to fetch (max of
|
|
121
|
+
* @param cursor - Pagination cursor from previous response (takes precedence over updated_after). Note that there is no guarantee that all machines returned by this endpoint are sorted by their updated_at fields. Pagination may reveal machines older than the last updated_at.
|
|
122
|
+
* @param limit - The number of machines to fetch (max of 1000). This limit is advisory. Responses may be shorter, or even empty, even when more machines remain. If omitted, the maximum is used
|
|
81
123
|
*/
|
|
82
124
|
export const MachinesOrgList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
83
125
|
inputSchema: MachinesOrgListInput,
|
|
@@ -4,6 +4,11 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesReclaimMemoryInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
amount_mb?: number;
|
|
11
|
+
}
|
|
7
12
|
export const MachinesReclaimMemoryInput =
|
|
8
13
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -14,16 +19,16 @@ export const MachinesReclaimMemoryInput =
|
|
|
14
19
|
method: "POST",
|
|
15
20
|
path: "/apps/{app_name}/machines/{machine_id}/memory/reclaim",
|
|
16
21
|
}),
|
|
17
|
-
)
|
|
18
|
-
export type MachinesReclaimMemoryInput = typeof MachinesReclaimMemoryInput.Type;
|
|
22
|
+
) as unknown as Schema.Codec<MachinesReclaimMemoryInput>;
|
|
19
23
|
|
|
20
24
|
// Output Schema
|
|
25
|
+
export interface MachinesReclaimMemoryOutput {
|
|
26
|
+
actual_mb?: number;
|
|
27
|
+
}
|
|
21
28
|
export const MachinesReclaimMemoryOutput =
|
|
22
29
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23
30
|
actual_mb: Schema.optional(Schema.Number),
|
|
24
|
-
})
|
|
25
|
-
export type MachinesReclaimMemoryOutput =
|
|
26
|
-
typeof MachinesReclaimMemoryOutput.Type;
|
|
31
|
+
}) as unknown as Schema.Codec<MachinesReclaimMemoryOutput>;
|
|
27
32
|
|
|
28
33
|
// The operation
|
|
29
34
|
/**
|
|
@@ -4,6 +4,10 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesReleaseLeaseInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const MachinesReleaseLeaseInput =
|
|
8
12
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -13,13 +17,12 @@ export const MachinesReleaseLeaseInput =
|
|
|
13
17
|
method: "DELETE",
|
|
14
18
|
path: "/apps/{app_name}/machines/{machine_id}/lease",
|
|
15
19
|
}),
|
|
16
|
-
)
|
|
17
|
-
export type MachinesReleaseLeaseInput = typeof MachinesReleaseLeaseInput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<MachinesReleaseLeaseInput>;
|
|
18
21
|
|
|
19
22
|
// Output Schema
|
|
23
|
+
export type MachinesReleaseLeaseOutput = void;
|
|
20
24
|
export const MachinesReleaseLeaseOutput =
|
|
21
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Void
|
|
22
|
-
export type MachinesReleaseLeaseOutput = typeof MachinesReleaseLeaseOutput.Type;
|
|
25
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesReleaseLeaseOutput>;
|
|
23
26
|
|
|
24
27
|
// The operation
|
|
25
28
|
/**
|
|
@@ -4,6 +4,19 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesRestartInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
timeout?: string;
|
|
11
|
+
signal?:
|
|
12
|
+
| "SIGHUP"
|
|
13
|
+
| "SIGINT"
|
|
14
|
+
| "SIGQUIT"
|
|
15
|
+
| "SIGKILL"
|
|
16
|
+
| "SIGUSR1"
|
|
17
|
+
| "SIGUSR2"
|
|
18
|
+
| "SIGTERM";
|
|
19
|
+
}
|
|
7
20
|
export const MachinesRestartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
21
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
22
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
@@ -24,12 +37,12 @@ export const MachinesRestartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
24
37
|
method: "POST",
|
|
25
38
|
path: "/apps/{app_name}/machines/{machine_id}/restart",
|
|
26
39
|
}),
|
|
27
|
-
)
|
|
28
|
-
export type MachinesRestartInput = typeof MachinesRestartInput.Type;
|
|
40
|
+
) as unknown as Schema.Codec<MachinesRestartInput>;
|
|
29
41
|
|
|
30
42
|
// Output Schema
|
|
31
|
-
export
|
|
32
|
-
export
|
|
43
|
+
export type MachinesRestartOutput = void;
|
|
44
|
+
export const MachinesRestartOutput =
|
|
45
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesRestartOutput>;
|
|
33
46
|
|
|
34
47
|
// The operation
|
|
35
48
|
/**
|
|
@@ -4,6 +4,11 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesSetMemoryLimitInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
limit_mb?: number;
|
|
11
|
+
}
|
|
7
12
|
export const MachinesSetMemoryLimitInput =
|
|
8
13
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
14
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -14,18 +19,18 @@ export const MachinesSetMemoryLimitInput =
|
|
|
14
19
|
method: "PUT",
|
|
15
20
|
path: "/apps/{app_name}/machines/{machine_id}/memory",
|
|
16
21
|
}),
|
|
17
|
-
)
|
|
18
|
-
export type MachinesSetMemoryLimitInput =
|
|
19
|
-
typeof MachinesSetMemoryLimitInput.Type;
|
|
22
|
+
) as unknown as Schema.Codec<MachinesSetMemoryLimitInput>;
|
|
20
23
|
|
|
21
24
|
// Output Schema
|
|
25
|
+
export interface MachinesSetMemoryLimitOutput {
|
|
26
|
+
available_mb?: number;
|
|
27
|
+
limit_mb?: number;
|
|
28
|
+
}
|
|
22
29
|
export const MachinesSetMemoryLimitOutput =
|
|
23
30
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
24
31
|
available_mb: Schema.optional(Schema.Number),
|
|
25
32
|
limit_mb: Schema.optional(Schema.Number),
|
|
26
|
-
})
|
|
27
|
-
export type MachinesSetMemoryLimitOutput =
|
|
28
|
-
typeof MachinesSetMemoryLimitOutput.Type;
|
|
33
|
+
}) as unknown as Schema.Codec<MachinesSetMemoryLimitOutput>;
|
|
29
34
|
|
|
30
35
|
// The operation
|
|
31
36
|
/**
|