@distilled.cloud/fly-io 0.27.0 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,15 +4,521 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesShowInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const MachinesShowInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
13
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
10
14
|
}).pipe(
|
|
11
15
|
T.Http({ method: "GET", path: "/apps/{app_name}/machines/{machine_id}" }),
|
|
12
|
-
)
|
|
13
|
-
export type MachinesShowInput = typeof MachinesShowInput.Type;
|
|
16
|
+
) as unknown as Schema.Codec<MachinesShowInput>;
|
|
14
17
|
|
|
15
18
|
// Output Schema
|
|
19
|
+
export interface MachinesShowOutput {
|
|
20
|
+
checks?: {
|
|
21
|
+
name?: string;
|
|
22
|
+
output?: string;
|
|
23
|
+
status?: string;
|
|
24
|
+
updated_at?: string;
|
|
25
|
+
}[];
|
|
26
|
+
config?: {
|
|
27
|
+
auto_destroy?: boolean;
|
|
28
|
+
cache_drive?: { size_mb?: number };
|
|
29
|
+
checks?: Record<
|
|
30
|
+
string,
|
|
31
|
+
{
|
|
32
|
+
grace_period?: string;
|
|
33
|
+
headers?: { name?: string; values?: string[] }[];
|
|
34
|
+
interval?: string;
|
|
35
|
+
kind?: "informational" | "readiness";
|
|
36
|
+
method?: string;
|
|
37
|
+
path?: string;
|
|
38
|
+
port?: number;
|
|
39
|
+
protocol?: string;
|
|
40
|
+
timeout?: string;
|
|
41
|
+
tls_server_name?: string;
|
|
42
|
+
tls_skip_verify?: boolean;
|
|
43
|
+
type?: string;
|
|
44
|
+
}
|
|
45
|
+
>;
|
|
46
|
+
containers?: {
|
|
47
|
+
cmd?: string[];
|
|
48
|
+
depends_on?: {
|
|
49
|
+
condition?: "exited_successfully" | "healthy" | "started";
|
|
50
|
+
name?: string;
|
|
51
|
+
}[];
|
|
52
|
+
entrypoint?: string[];
|
|
53
|
+
env?: Record<string, string>;
|
|
54
|
+
env_from?: {
|
|
55
|
+
env_var?: string;
|
|
56
|
+
field_ref?:
|
|
57
|
+
| "id"
|
|
58
|
+
| "version"
|
|
59
|
+
| "app_name"
|
|
60
|
+
| "private_ip"
|
|
61
|
+
| "region"
|
|
62
|
+
| "image";
|
|
63
|
+
}[];
|
|
64
|
+
exec?: string[];
|
|
65
|
+
files?: {
|
|
66
|
+
guest_path?: string;
|
|
67
|
+
image_config?: string;
|
|
68
|
+
mode?: number;
|
|
69
|
+
raw_value?: string;
|
|
70
|
+
secret_name?: string;
|
|
71
|
+
}[];
|
|
72
|
+
healthchecks?: {
|
|
73
|
+
exec?: { command?: string[] };
|
|
74
|
+
failure_threshold?: number;
|
|
75
|
+
grace_period?: number;
|
|
76
|
+
http?: {
|
|
77
|
+
headers?: { name?: string; values?: string[] }[];
|
|
78
|
+
method?: string;
|
|
79
|
+
path?: string;
|
|
80
|
+
port?: number;
|
|
81
|
+
scheme?: "http" | "https";
|
|
82
|
+
tls_server_name?: string;
|
|
83
|
+
tls_skip_verify?: boolean;
|
|
84
|
+
};
|
|
85
|
+
interval?: number;
|
|
86
|
+
kind?: "readiness" | "liveness";
|
|
87
|
+
name?: string;
|
|
88
|
+
success_threshold?: number;
|
|
89
|
+
tcp?: { port?: number };
|
|
90
|
+
timeout?: number;
|
|
91
|
+
unhealthy?: "stop";
|
|
92
|
+
}[];
|
|
93
|
+
image?: string;
|
|
94
|
+
name?: string;
|
|
95
|
+
restart?: {
|
|
96
|
+
gpu_bid_price?: number;
|
|
97
|
+
max_retries?: number;
|
|
98
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
99
|
+
};
|
|
100
|
+
secrets?: { env_var?: string; name?: string }[];
|
|
101
|
+
stop?: {
|
|
102
|
+
signal?:
|
|
103
|
+
| "SIGHUP"
|
|
104
|
+
| "SIGINT"
|
|
105
|
+
| "SIGQUIT"
|
|
106
|
+
| "SIGKILL"
|
|
107
|
+
| "SIGUSR1"
|
|
108
|
+
| "SIGUSR2"
|
|
109
|
+
| "SIGTERM";
|
|
110
|
+
timeout?: string;
|
|
111
|
+
};
|
|
112
|
+
user?: string;
|
|
113
|
+
}[];
|
|
114
|
+
disable_machine_autostart?: boolean;
|
|
115
|
+
dns?: {
|
|
116
|
+
dns_forward_rules?: { addr?: string; basename?: string }[];
|
|
117
|
+
hostname?: string;
|
|
118
|
+
hostname_fqdn?: string;
|
|
119
|
+
nameservers?: string[];
|
|
120
|
+
options?: { name?: string; value?: string }[];
|
|
121
|
+
searches?: string[];
|
|
122
|
+
skip_registration?: boolean;
|
|
123
|
+
};
|
|
124
|
+
env?: Record<string, string>;
|
|
125
|
+
files?: {
|
|
126
|
+
guest_path?: string;
|
|
127
|
+
image_config?: string;
|
|
128
|
+
mode?: number;
|
|
129
|
+
raw_value?: string;
|
|
130
|
+
secret_name?: string;
|
|
131
|
+
}[];
|
|
132
|
+
guest?: {
|
|
133
|
+
cpu_kind?: string;
|
|
134
|
+
cpus?: number;
|
|
135
|
+
gpu_kind?: string;
|
|
136
|
+
gpus?: number;
|
|
137
|
+
host_dedication_id?: string;
|
|
138
|
+
kernel_args?: string[];
|
|
139
|
+
max_memory_mb?: number;
|
|
140
|
+
memory_mb?: number;
|
|
141
|
+
persist_rootfs?: "never" | "always" | "restart";
|
|
142
|
+
};
|
|
143
|
+
image?: string;
|
|
144
|
+
init?: {
|
|
145
|
+
cmd?: string[];
|
|
146
|
+
entrypoint?: string[];
|
|
147
|
+
exec?: string[];
|
|
148
|
+
kernel_args?: string[];
|
|
149
|
+
swap_size_mb?: number;
|
|
150
|
+
tty?: boolean;
|
|
151
|
+
};
|
|
152
|
+
metadata?: Record<string, string>;
|
|
153
|
+
metrics?: { https?: boolean; path?: string; port?: number };
|
|
154
|
+
mounts?: {
|
|
155
|
+
add_size_gb?: number;
|
|
156
|
+
encrypted?: boolean;
|
|
157
|
+
extend_threshold_percent?: number;
|
|
158
|
+
name?: string;
|
|
159
|
+
path?: string;
|
|
160
|
+
size_gb?: number;
|
|
161
|
+
size_gb_limit?: number;
|
|
162
|
+
volume?: string;
|
|
163
|
+
}[];
|
|
164
|
+
processes?: {
|
|
165
|
+
cmd?: string[];
|
|
166
|
+
entrypoint?: string[];
|
|
167
|
+
env?: Record<string, string>;
|
|
168
|
+
env_from?: {
|
|
169
|
+
env_var?: string;
|
|
170
|
+
field_ref?:
|
|
171
|
+
| "id"
|
|
172
|
+
| "version"
|
|
173
|
+
| "app_name"
|
|
174
|
+
| "private_ip"
|
|
175
|
+
| "region"
|
|
176
|
+
| "image";
|
|
177
|
+
}[];
|
|
178
|
+
exec?: string[];
|
|
179
|
+
ignore_app_secrets?: boolean;
|
|
180
|
+
secrets?: { env_var?: string; name?: string }[];
|
|
181
|
+
user?: string;
|
|
182
|
+
}[];
|
|
183
|
+
restart?: {
|
|
184
|
+
gpu_bid_price?: number;
|
|
185
|
+
max_retries?: number;
|
|
186
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
187
|
+
};
|
|
188
|
+
rootfs?: { persist?: "never" | "always" | "restart"; size_gb?: number };
|
|
189
|
+
schedule?: string;
|
|
190
|
+
services?: {
|
|
191
|
+
autostart?: boolean;
|
|
192
|
+
autostop?: "off" | "stop" | "suspend";
|
|
193
|
+
checks?: {
|
|
194
|
+
grace_period?: string;
|
|
195
|
+
headers?: { name?: string; values?: string[] }[];
|
|
196
|
+
interval?: string;
|
|
197
|
+
method?: string;
|
|
198
|
+
path?: string;
|
|
199
|
+
port?: number;
|
|
200
|
+
protocol?: string;
|
|
201
|
+
timeout?: string;
|
|
202
|
+
tls_server_name?: string;
|
|
203
|
+
tls_skip_verify?: boolean;
|
|
204
|
+
type?: string;
|
|
205
|
+
}[];
|
|
206
|
+
concurrency?: { hard_limit?: number; soft_limit?: number; type?: string };
|
|
207
|
+
force_instance_description?: string;
|
|
208
|
+
force_instance_key?: string;
|
|
209
|
+
internal_port?: number;
|
|
210
|
+
min_machines_running?: number;
|
|
211
|
+
ports?: {
|
|
212
|
+
end_port?: number;
|
|
213
|
+
force_https?: boolean;
|
|
214
|
+
handlers?: string[];
|
|
215
|
+
http_options?: {
|
|
216
|
+
compress?: boolean;
|
|
217
|
+
h2_backend?: boolean;
|
|
218
|
+
headers_read_timeout?: number;
|
|
219
|
+
idle_timeout?: number;
|
|
220
|
+
replay_cache?: {
|
|
221
|
+
allow_bypass?: boolean;
|
|
222
|
+
name?: string;
|
|
223
|
+
path_prefix?: string;
|
|
224
|
+
ttl_seconds?: number;
|
|
225
|
+
type?: "cookie" | "header";
|
|
226
|
+
}[];
|
|
227
|
+
response?: { headers?: Record<string, unknown>; pristine?: boolean };
|
|
228
|
+
};
|
|
229
|
+
port?: number;
|
|
230
|
+
proxy_proto_options?: { version?: string };
|
|
231
|
+
start_port?: number;
|
|
232
|
+
tls_options?: {
|
|
233
|
+
alpn?: string[];
|
|
234
|
+
default_self_signed?: boolean;
|
|
235
|
+
versions?: string[];
|
|
236
|
+
};
|
|
237
|
+
}[];
|
|
238
|
+
protocol?: string;
|
|
239
|
+
}[];
|
|
240
|
+
size?: string;
|
|
241
|
+
spot?: { max_price_fraction?: number };
|
|
242
|
+
standbys?: string[];
|
|
243
|
+
statics?: {
|
|
244
|
+
guest_path: string;
|
|
245
|
+
index_document?: string;
|
|
246
|
+
tigris_bucket?: string;
|
|
247
|
+
url_prefix: string;
|
|
248
|
+
}[];
|
|
249
|
+
stop_config?: {
|
|
250
|
+
signal?:
|
|
251
|
+
| "SIGHUP"
|
|
252
|
+
| "SIGINT"
|
|
253
|
+
| "SIGQUIT"
|
|
254
|
+
| "SIGKILL"
|
|
255
|
+
| "SIGUSR1"
|
|
256
|
+
| "SIGUSR2"
|
|
257
|
+
| "SIGTERM";
|
|
258
|
+
timeout?: string;
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
created_at?: string;
|
|
262
|
+
events?: {
|
|
263
|
+
id?: string;
|
|
264
|
+
request?: unknown;
|
|
265
|
+
source?: string;
|
|
266
|
+
status?: string;
|
|
267
|
+
timestamp?: number;
|
|
268
|
+
type?: string;
|
|
269
|
+
}[];
|
|
270
|
+
host_status?: "ok" | "unknown" | "unreachable";
|
|
271
|
+
id?: string;
|
|
272
|
+
image_ref?: {
|
|
273
|
+
digest?: string;
|
|
274
|
+
labels?: Record<string, string>;
|
|
275
|
+
registry?: string;
|
|
276
|
+
repository?: string;
|
|
277
|
+
tag?: string;
|
|
278
|
+
};
|
|
279
|
+
incomplete_config?: {
|
|
280
|
+
auto_destroy?: boolean;
|
|
281
|
+
cache_drive?: { size_mb?: number };
|
|
282
|
+
checks?: Record<
|
|
283
|
+
string,
|
|
284
|
+
{
|
|
285
|
+
grace_period?: string;
|
|
286
|
+
headers?: { name?: string; values?: string[] }[];
|
|
287
|
+
interval?: string;
|
|
288
|
+
kind?: "informational" | "readiness";
|
|
289
|
+
method?: string;
|
|
290
|
+
path?: string;
|
|
291
|
+
port?: number;
|
|
292
|
+
protocol?: string;
|
|
293
|
+
timeout?: string;
|
|
294
|
+
tls_server_name?: string;
|
|
295
|
+
tls_skip_verify?: boolean;
|
|
296
|
+
type?: string;
|
|
297
|
+
}
|
|
298
|
+
>;
|
|
299
|
+
containers?: {
|
|
300
|
+
cmd?: string[];
|
|
301
|
+
depends_on?: {
|
|
302
|
+
condition?: "exited_successfully" | "healthy" | "started";
|
|
303
|
+
name?: string;
|
|
304
|
+
}[];
|
|
305
|
+
entrypoint?: string[];
|
|
306
|
+
env?: Record<string, string>;
|
|
307
|
+
env_from?: {
|
|
308
|
+
env_var?: string;
|
|
309
|
+
field_ref?:
|
|
310
|
+
| "id"
|
|
311
|
+
| "version"
|
|
312
|
+
| "app_name"
|
|
313
|
+
| "private_ip"
|
|
314
|
+
| "region"
|
|
315
|
+
| "image";
|
|
316
|
+
}[];
|
|
317
|
+
exec?: string[];
|
|
318
|
+
files?: {
|
|
319
|
+
guest_path?: string;
|
|
320
|
+
image_config?: string;
|
|
321
|
+
mode?: number;
|
|
322
|
+
raw_value?: string;
|
|
323
|
+
secret_name?: string;
|
|
324
|
+
}[];
|
|
325
|
+
healthchecks?: {
|
|
326
|
+
exec?: { command?: string[] };
|
|
327
|
+
failure_threshold?: number;
|
|
328
|
+
grace_period?: number;
|
|
329
|
+
http?: {
|
|
330
|
+
headers?: { name?: string; values?: string[] }[];
|
|
331
|
+
method?: string;
|
|
332
|
+
path?: string;
|
|
333
|
+
port?: number;
|
|
334
|
+
scheme?: "http" | "https";
|
|
335
|
+
tls_server_name?: string;
|
|
336
|
+
tls_skip_verify?: boolean;
|
|
337
|
+
};
|
|
338
|
+
interval?: number;
|
|
339
|
+
kind?: "readiness" | "liveness";
|
|
340
|
+
name?: string;
|
|
341
|
+
success_threshold?: number;
|
|
342
|
+
tcp?: { port?: number };
|
|
343
|
+
timeout?: number;
|
|
344
|
+
unhealthy?: "stop";
|
|
345
|
+
}[];
|
|
346
|
+
image?: string;
|
|
347
|
+
name?: string;
|
|
348
|
+
restart?: {
|
|
349
|
+
gpu_bid_price?: number;
|
|
350
|
+
max_retries?: number;
|
|
351
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
352
|
+
};
|
|
353
|
+
secrets?: { env_var?: string; name?: string }[];
|
|
354
|
+
stop?: {
|
|
355
|
+
signal?:
|
|
356
|
+
| "SIGHUP"
|
|
357
|
+
| "SIGINT"
|
|
358
|
+
| "SIGQUIT"
|
|
359
|
+
| "SIGKILL"
|
|
360
|
+
| "SIGUSR1"
|
|
361
|
+
| "SIGUSR2"
|
|
362
|
+
| "SIGTERM";
|
|
363
|
+
timeout?: string;
|
|
364
|
+
};
|
|
365
|
+
user?: string;
|
|
366
|
+
}[];
|
|
367
|
+
disable_machine_autostart?: boolean;
|
|
368
|
+
dns?: {
|
|
369
|
+
dns_forward_rules?: { addr?: string; basename?: string }[];
|
|
370
|
+
hostname?: string;
|
|
371
|
+
hostname_fqdn?: string;
|
|
372
|
+
nameservers?: string[];
|
|
373
|
+
options?: { name?: string; value?: string }[];
|
|
374
|
+
searches?: string[];
|
|
375
|
+
skip_registration?: boolean;
|
|
376
|
+
};
|
|
377
|
+
env?: Record<string, string>;
|
|
378
|
+
files?: {
|
|
379
|
+
guest_path?: string;
|
|
380
|
+
image_config?: string;
|
|
381
|
+
mode?: number;
|
|
382
|
+
raw_value?: string;
|
|
383
|
+
secret_name?: string;
|
|
384
|
+
}[];
|
|
385
|
+
guest?: {
|
|
386
|
+
cpu_kind?: string;
|
|
387
|
+
cpus?: number;
|
|
388
|
+
gpu_kind?: string;
|
|
389
|
+
gpus?: number;
|
|
390
|
+
host_dedication_id?: string;
|
|
391
|
+
kernel_args?: string[];
|
|
392
|
+
max_memory_mb?: number;
|
|
393
|
+
memory_mb?: number;
|
|
394
|
+
persist_rootfs?: "never" | "always" | "restart";
|
|
395
|
+
};
|
|
396
|
+
image?: string;
|
|
397
|
+
init?: {
|
|
398
|
+
cmd?: string[];
|
|
399
|
+
entrypoint?: string[];
|
|
400
|
+
exec?: string[];
|
|
401
|
+
kernel_args?: string[];
|
|
402
|
+
swap_size_mb?: number;
|
|
403
|
+
tty?: boolean;
|
|
404
|
+
};
|
|
405
|
+
metadata?: Record<string, string>;
|
|
406
|
+
metrics?: { https?: boolean; path?: string; port?: number };
|
|
407
|
+
mounts?: {
|
|
408
|
+
add_size_gb?: number;
|
|
409
|
+
encrypted?: boolean;
|
|
410
|
+
extend_threshold_percent?: number;
|
|
411
|
+
name?: string;
|
|
412
|
+
path?: string;
|
|
413
|
+
size_gb?: number;
|
|
414
|
+
size_gb_limit?: number;
|
|
415
|
+
volume?: string;
|
|
416
|
+
}[];
|
|
417
|
+
processes?: {
|
|
418
|
+
cmd?: string[];
|
|
419
|
+
entrypoint?: string[];
|
|
420
|
+
env?: Record<string, string>;
|
|
421
|
+
env_from?: {
|
|
422
|
+
env_var?: string;
|
|
423
|
+
field_ref?:
|
|
424
|
+
| "id"
|
|
425
|
+
| "version"
|
|
426
|
+
| "app_name"
|
|
427
|
+
| "private_ip"
|
|
428
|
+
| "region"
|
|
429
|
+
| "image";
|
|
430
|
+
}[];
|
|
431
|
+
exec?: string[];
|
|
432
|
+
ignore_app_secrets?: boolean;
|
|
433
|
+
secrets?: { env_var?: string; name?: string }[];
|
|
434
|
+
user?: string;
|
|
435
|
+
}[];
|
|
436
|
+
restart?: {
|
|
437
|
+
gpu_bid_price?: number;
|
|
438
|
+
max_retries?: number;
|
|
439
|
+
policy?: "no" | "always" | "on-failure" | "spot-price";
|
|
440
|
+
};
|
|
441
|
+
rootfs?: { persist?: "never" | "always" | "restart"; size_gb?: number };
|
|
442
|
+
schedule?: string;
|
|
443
|
+
services?: {
|
|
444
|
+
autostart?: boolean;
|
|
445
|
+
autostop?: "off" | "stop" | "suspend";
|
|
446
|
+
checks?: {
|
|
447
|
+
grace_period?: string;
|
|
448
|
+
headers?: { name?: string; values?: string[] }[];
|
|
449
|
+
interval?: string;
|
|
450
|
+
method?: string;
|
|
451
|
+
path?: string;
|
|
452
|
+
port?: number;
|
|
453
|
+
protocol?: string;
|
|
454
|
+
timeout?: string;
|
|
455
|
+
tls_server_name?: string;
|
|
456
|
+
tls_skip_verify?: boolean;
|
|
457
|
+
type?: string;
|
|
458
|
+
}[];
|
|
459
|
+
concurrency?: { hard_limit?: number; soft_limit?: number; type?: string };
|
|
460
|
+
force_instance_description?: string;
|
|
461
|
+
force_instance_key?: string;
|
|
462
|
+
internal_port?: number;
|
|
463
|
+
min_machines_running?: number;
|
|
464
|
+
ports?: {
|
|
465
|
+
end_port?: number;
|
|
466
|
+
force_https?: boolean;
|
|
467
|
+
handlers?: string[];
|
|
468
|
+
http_options?: {
|
|
469
|
+
compress?: boolean;
|
|
470
|
+
h2_backend?: boolean;
|
|
471
|
+
headers_read_timeout?: number;
|
|
472
|
+
idle_timeout?: number;
|
|
473
|
+
replay_cache?: {
|
|
474
|
+
allow_bypass?: boolean;
|
|
475
|
+
name?: string;
|
|
476
|
+
path_prefix?: string;
|
|
477
|
+
ttl_seconds?: number;
|
|
478
|
+
type?: "cookie" | "header";
|
|
479
|
+
}[];
|
|
480
|
+
response?: { headers?: Record<string, unknown>; pristine?: boolean };
|
|
481
|
+
};
|
|
482
|
+
port?: number;
|
|
483
|
+
proxy_proto_options?: { version?: string };
|
|
484
|
+
start_port?: number;
|
|
485
|
+
tls_options?: {
|
|
486
|
+
alpn?: string[];
|
|
487
|
+
default_self_signed?: boolean;
|
|
488
|
+
versions?: string[];
|
|
489
|
+
};
|
|
490
|
+
}[];
|
|
491
|
+
protocol?: string;
|
|
492
|
+
}[];
|
|
493
|
+
size?: string;
|
|
494
|
+
spot?: { max_price_fraction?: number };
|
|
495
|
+
standbys?: string[];
|
|
496
|
+
statics?: {
|
|
497
|
+
guest_path: string;
|
|
498
|
+
index_document?: string;
|
|
499
|
+
tigris_bucket?: string;
|
|
500
|
+
url_prefix: string;
|
|
501
|
+
}[];
|
|
502
|
+
stop_config?: {
|
|
503
|
+
signal?:
|
|
504
|
+
| "SIGHUP"
|
|
505
|
+
| "SIGINT"
|
|
506
|
+
| "SIGQUIT"
|
|
507
|
+
| "SIGKILL"
|
|
508
|
+
| "SIGUSR1"
|
|
509
|
+
| "SIGUSR2"
|
|
510
|
+
| "SIGTERM";
|
|
511
|
+
timeout?: string;
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
instance_id?: string;
|
|
515
|
+
name?: string;
|
|
516
|
+
nonce?: string;
|
|
517
|
+
private_ip?: string;
|
|
518
|
+
region?: string;
|
|
519
|
+
state?: string;
|
|
520
|
+
updated_at?: string;
|
|
521
|
+
}
|
|
16
522
|
export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
17
523
|
checks: Schema.optional(
|
|
18
524
|
Schema.Array(
|
|
@@ -436,6 +942,11 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
436
942
|
),
|
|
437
943
|
),
|
|
438
944
|
size: Schema.optional(Schema.String),
|
|
945
|
+
spot: Schema.optional(
|
|
946
|
+
Schema.Struct({
|
|
947
|
+
max_price_fraction: Schema.optional(Schema.Number),
|
|
948
|
+
}),
|
|
949
|
+
),
|
|
439
950
|
standbys: Schema.optional(Schema.Array(Schema.String)),
|
|
440
951
|
statics: Schema.optional(
|
|
441
952
|
Schema.Array(
|
|
@@ -903,6 +1414,11 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
903
1414
|
),
|
|
904
1415
|
),
|
|
905
1416
|
size: Schema.optional(Schema.String),
|
|
1417
|
+
spot: Schema.optional(
|
|
1418
|
+
Schema.Struct({
|
|
1419
|
+
max_price_fraction: Schema.optional(Schema.Number),
|
|
1420
|
+
}),
|
|
1421
|
+
),
|
|
906
1422
|
standbys: Schema.optional(Schema.Array(Schema.String)),
|
|
907
1423
|
statics: Schema.optional(
|
|
908
1424
|
Schema.Array(
|
|
@@ -939,8 +1455,7 @@ export const MachinesShowOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
939
1455
|
region: Schema.optional(Schema.String),
|
|
940
1456
|
state: Schema.optional(Schema.String),
|
|
941
1457
|
updated_at: Schema.optional(Schema.String),
|
|
942
|
-
})
|
|
943
|
-
export type MachinesShowOutput = typeof MachinesShowOutput.Type;
|
|
1458
|
+
}) as unknown as Schema.Codec<MachinesShowOutput>;
|
|
944
1459
|
|
|
945
1460
|
// The operation
|
|
946
1461
|
/**
|
|
@@ -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 MachinesShowLeaseInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const MachinesShowLeaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
8
12
|
{
|
|
9
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -14,10 +18,16 @@ export const MachinesShowLeaseInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
|
|
|
14
18
|
method: "GET",
|
|
15
19
|
path: "/apps/{app_name}/machines/{machine_id}/lease",
|
|
16
20
|
}),
|
|
17
|
-
)
|
|
18
|
-
export type MachinesShowLeaseInput = typeof MachinesShowLeaseInput.Type;
|
|
21
|
+
) as unknown as Schema.Codec<MachinesShowLeaseInput>;
|
|
19
22
|
|
|
20
23
|
// Output Schema
|
|
24
|
+
export interface MachinesShowLeaseOutput {
|
|
25
|
+
description?: string;
|
|
26
|
+
expires_at?: number;
|
|
27
|
+
nonce?: string;
|
|
28
|
+
owner?: string;
|
|
29
|
+
version?: string;
|
|
30
|
+
}
|
|
21
31
|
export const MachinesShowLeaseOutput =
|
|
22
32
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
23
33
|
description: Schema.optional(Schema.String),
|
|
@@ -25,8 +35,7 @@ export const MachinesShowLeaseOutput =
|
|
|
25
35
|
nonce: Schema.optional(Schema.String),
|
|
26
36
|
owner: Schema.optional(Schema.String),
|
|
27
37
|
version: Schema.optional(Schema.String),
|
|
28
|
-
})
|
|
29
|
-
export type MachinesShowLeaseOutput = typeof MachinesShowLeaseOutput.Type;
|
|
38
|
+
}) as unknown as Schema.Codec<MachinesShowLeaseOutput>;
|
|
30
39
|
|
|
31
40
|
// The operation
|
|
32
41
|
/**
|
|
@@ -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 MachinesShowMetadataInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const MachinesShowMetadataInput =
|
|
8
12
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
9
13
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
@@ -13,13 +17,15 @@ export const MachinesShowMetadataInput =
|
|
|
13
17
|
method: "GET",
|
|
14
18
|
path: "/apps/{app_name}/machines/{machine_id}/metadata",
|
|
15
19
|
}),
|
|
16
|
-
)
|
|
17
|
-
export type MachinesShowMetadataInput = typeof MachinesShowMetadataInput.Type;
|
|
20
|
+
) as unknown as Schema.Codec<MachinesShowMetadataInput>;
|
|
18
21
|
|
|
19
22
|
// Output Schema
|
|
23
|
+
export type MachinesShowMetadataOutput = Record<string, string>;
|
|
20
24
|
export const MachinesShowMetadataOutput =
|
|
21
|
-
/*@__PURE__*/ /*#__PURE__*/ Schema.Record(
|
|
22
|
-
|
|
25
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Record(
|
|
26
|
+
Schema.String,
|
|
27
|
+
Schema.String,
|
|
28
|
+
) as unknown as Schema.Codec<MachinesShowMetadataOutput>;
|
|
23
29
|
|
|
24
30
|
// The operation
|
|
25
31
|
/**
|
|
@@ -4,6 +4,25 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesSignalInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
signal?:
|
|
11
|
+
| "SIGABRT"
|
|
12
|
+
| "SIGALRM"
|
|
13
|
+
| "SIGFPE"
|
|
14
|
+
| "SIGHUP"
|
|
15
|
+
| "SIGILL"
|
|
16
|
+
| "SIGINT"
|
|
17
|
+
| "SIGKILL"
|
|
18
|
+
| "SIGPIPE"
|
|
19
|
+
| "SIGQUIT"
|
|
20
|
+
| "SIGSEGV"
|
|
21
|
+
| "SIGTERM"
|
|
22
|
+
| "SIGTRAP"
|
|
23
|
+
| "SIGUSR1"
|
|
24
|
+
| "SIGUSR2";
|
|
25
|
+
}
|
|
7
26
|
export const MachinesSignalInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
27
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
28
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
@@ -30,12 +49,12 @@ export const MachinesSignalInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
30
49
|
method: "POST",
|
|
31
50
|
path: "/apps/{app_name}/machines/{machine_id}/signal",
|
|
32
51
|
}),
|
|
33
|
-
)
|
|
34
|
-
export type MachinesSignalInput = typeof MachinesSignalInput.Type;
|
|
52
|
+
) as unknown as Schema.Codec<MachinesSignalInput>;
|
|
35
53
|
|
|
36
54
|
// Output Schema
|
|
37
|
-
export
|
|
38
|
-
export
|
|
55
|
+
export type MachinesSignalOutput = void;
|
|
56
|
+
export const MachinesSignalOutput =
|
|
57
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesSignalOutput>;
|
|
39
58
|
|
|
40
59
|
// The operation
|
|
41
60
|
/**
|
|
@@ -4,6 +4,10 @@ import * as T from "../traits.ts";
|
|
|
4
4
|
import { BadRequest, Forbidden, NotFound } from "../errors.ts";
|
|
5
5
|
|
|
6
6
|
// Input Schema
|
|
7
|
+
export interface MachinesStartInput {
|
|
8
|
+
app_name: string;
|
|
9
|
+
machine_id: string;
|
|
10
|
+
}
|
|
7
11
|
export const MachinesStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8
12
|
app_name: Schema.String.pipe(T.PathParam()),
|
|
9
13
|
machine_id: Schema.String.pipe(T.PathParam()),
|
|
@@ -12,12 +16,12 @@ export const MachinesStartInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
12
16
|
method: "POST",
|
|
13
17
|
path: "/apps/{app_name}/machines/{machine_id}/start",
|
|
14
18
|
}),
|
|
15
|
-
)
|
|
16
|
-
export type MachinesStartInput = typeof MachinesStartInput.Type;
|
|
19
|
+
) as unknown as Schema.Codec<MachinesStartInput>;
|
|
17
20
|
|
|
18
21
|
// Output Schema
|
|
19
|
-
export
|
|
20
|
-
export
|
|
22
|
+
export type MachinesStartOutput = void;
|
|
23
|
+
export const MachinesStartOutput =
|
|
24
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Void as unknown as Schema.Codec<MachinesStartOutput>;
|
|
21
25
|
|
|
22
26
|
// The operation
|
|
23
27
|
/**
|