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