@distilled.cloud/fly-io 0.30.3 → 1.0.0-rc.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/credentials.d.ts.map +1 -1
- package/lib/credentials.js +8 -0
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +22 -4
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +11 -5
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +7 -10
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +7 -10
- package/lib/index.js.map +1 -1
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +41 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +4 -4
- package/lib/retry.js +4 -4
- package/lib/services/index.d.ts +2 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +3 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/machines.d.ts +2236 -0
- package/lib/services/machines.d.ts.map +1 -0
- package/lib/services/machines.js +2461 -0
- package/lib/services/machines.js.map +1 -0
- package/lib/traits.d.ts +8 -2
- package/lib/traits.d.ts.map +1 -1
- package/lib/traits.js +8 -2
- package/lib/traits.js.map +1 -1
- package/package.json +31 -37
- package/src/credentials.ts +8 -0
- package/src/errors.ts +24 -6
- package/src/index.ts +11 -10
- package/src/protocol.ts +61 -0
- package/src/retry.ts +4 -4
- package/src/services/index.ts +2 -0
- package/src/services/machines.ts +5962 -0
- package/src/traits.ts +42 -2
- package/README.md +0 -69
- package/lib/category.d.ts +0 -5
- package/lib/category.d.ts.map +0 -1
- package/lib/category.js +0 -5
- package/lib/category.js.map +0 -1
- package/lib/client.d.ts +0 -11
- package/lib/client.d.ts.map +0 -1
- package/lib/client.js +0 -56
- package/lib/client.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.d.ts +0 -61
- package/lib/operations/AppCertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeCreate.js +0 -72
- package/lib/operations/AppCertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.d.ts +0 -62
- package/lib/operations/AppCertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesAcmeDelete.js +0 -76
- package/lib/operations/AppCertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/AppCertificatesCheck.d.ts +0 -71
- package/lib/operations/AppCertificatesCheck.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCheck.js +0 -85
- package/lib/operations/AppCertificatesCheck.js.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.d.ts +0 -64
- package/lib/operations/AppCertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomCreate.js +0 -76
- package/lib/operations/AppCertificatesCustomCreate.js.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.d.ts +0 -63
- package/lib/operations/AppCertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesCustomDelete.js +0 -77
- package/lib/operations/AppCertificatesCustomDelete.js.map +0 -1
- package/lib/operations/AppCertificatesDelete.d.ts +0 -17
- package/lib/operations/AppCertificatesDelete.d.ts.map +0 -1
- package/lib/operations/AppCertificatesDelete.js +0 -27
- package/lib/operations/AppCertificatesDelete.js.map +0 -1
- package/lib/operations/AppCertificatesList.d.ts +0 -39
- package/lib/operations/AppCertificatesList.d.ts.map +0 -1
- package/lib/operations/AppCertificatesList.js +0 -46
- package/lib/operations/AppCertificatesList.js.map +0 -1
- package/lib/operations/AppCertificatesShow.d.ts +0 -62
- package/lib/operations/AppCertificatesShow.d.ts.map +0 -1
- package/lib/operations/AppCertificatesShow.js +0 -73
- package/lib/operations/AppCertificatesShow.js.map +0 -1
- package/lib/operations/AppCreateDeployToken.d.ts +0 -18
- package/lib/operations/AppCreateDeployToken.d.ts.map +0 -1
- package/lib/operations/AppCreateDeployToken.js +0 -25
- package/lib/operations/AppCreateDeployToken.js.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.d.ts +0 -26
- package/lib/operations/AppIPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsCreate.js +0 -33
- package/lib/operations/AppIPAssignmentsCreate.js.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.d.ts +0 -17
- package/lib/operations/AppIPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsDelete.js +0 -24
- package/lib/operations/AppIPAssignmentsDelete.js.map +0 -1
- package/lib/operations/AppIPAssignmentsList.d.ts +0 -23
- package/lib/operations/AppIPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/AppIPAssignmentsList.js +0 -30
- package/lib/operations/AppIPAssignmentsList.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.d.ts +0 -104
- package/lib/operations/App_CertificatesAcmeCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeCreate.js +0 -69
- package/lib/operations/App_CertificatesAcmeCreate.js.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.d.ts +0 -100
- package/lib/operations/App_CertificatesAcmeDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesAcmeDelete.js +0 -70
- package/lib/operations/App_CertificatesAcmeDelete.js.map +0 -1
- package/lib/operations/App_CertificatesCheck.d.ts +0 -118
- package/lib/operations/App_CertificatesCheck.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCheck.js +0 -79
- package/lib/operations/App_CertificatesCheck.js.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.d.ts +0 -108
- package/lib/operations/App_CertificatesCustomCreate.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomCreate.js +0 -72
- package/lib/operations/App_CertificatesCustomCreate.js.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.d.ts +0 -102
- package/lib/operations/App_CertificatesCustomDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesCustomDelete.js +0 -72
- package/lib/operations/App_CertificatesCustomDelete.js.map +0 -1
- package/lib/operations/App_CertificatesDelete.d.ts +0 -10
- package/lib/operations/App_CertificatesDelete.d.ts.map +0 -1
- package/lib/operations/App_CertificatesDelete.js +0 -20
- package/lib/operations/App_CertificatesDelete.js.map +0 -1
- package/lib/operations/App_CertificatesList.d.ts +0 -58
- package/lib/operations/App_CertificatesList.d.ts.map +0 -1
- package/lib/operations/App_CertificatesList.js +0 -44
- package/lib/operations/App_CertificatesList.js.map +0 -1
- package/lib/operations/App_CertificatesShow.d.ts +0 -100
- package/lib/operations/App_CertificatesShow.d.ts.map +0 -1
- package/lib/operations/App_CertificatesShow.js +0 -67
- package/lib/operations/App_CertificatesShow.js.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.d.ts +0 -34
- package/lib/operations/App_IPAssignmentsCreate.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsCreate.js +0 -30
- package/lib/operations/App_IPAssignmentsCreate.js.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.d.ts +0 -10
- package/lib/operations/App_IPAssignmentsDelete.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsDelete.js +0 -17
- package/lib/operations/App_IPAssignmentsDelete.js.map +0 -1
- package/lib/operations/App_IPAssignmentsList.d.ts +0 -26
- package/lib/operations/App_IPAssignmentsList.d.ts.map +0 -1
- package/lib/operations/App_IPAssignmentsList.js +0 -26
- package/lib/operations/App_IPAssignmentsList.js.map +0 -1
- package/lib/operations/AppsCreate.d.ts +0 -18
- package/lib/operations/AppsCreate.d.ts.map +0 -1
- package/lib/operations/AppsCreate.js +0 -24
- package/lib/operations/AppsCreate.js.map +0 -1
- package/lib/operations/AppsDelete.d.ts +0 -17
- package/lib/operations/AppsDelete.d.ts.map +0 -1
- package/lib/operations/AppsDelete.js +0 -23
- package/lib/operations/AppsDelete.js.map +0 -1
- package/lib/operations/AppsList.d.ts +0 -35
- package/lib/operations/AppsList.d.ts.map +0 -1
- package/lib/operations/AppsList.js +0 -40
- package/lib/operations/AppsList.js.map +0 -1
- package/lib/operations/AppsShow.d.ts +0 -30
- package/lib/operations/AppsShow.d.ts.map +0 -1
- package/lib/operations/AppsShow.js +0 -35
- package/lib/operations/AppsShow.js.map +0 -1
- package/lib/operations/CurrentTokenShow.d.ts +0 -23
- package/lib/operations/CurrentTokenShow.d.ts.map +0 -1
- package/lib/operations/CurrentTokenShow.js +0 -26
- package/lib/operations/CurrentTokenShow.js.map +0 -1
- package/lib/operations/MachinesCordon.d.ts +0 -19
- package/lib/operations/MachinesCordon.d.ts.map +0 -1
- package/lib/operations/MachinesCordon.js +0 -28
- package/lib/operations/MachinesCordon.js.map +0 -1
- package/lib/operations/MachinesCreate.d.ts +0 -810
- package/lib/operations/MachinesCreate.d.ts.map +0 -1
- package/lib/operations/MachinesCreate.js +0 -917
- package/lib/operations/MachinesCreate.js.map +0 -1
- package/lib/operations/MachinesCreateLease.d.ts +0 -28
- package/lib/operations/MachinesCreateLease.d.ts.map +0 -1
- package/lib/operations/MachinesCreateLease.js +0 -38
- package/lib/operations/MachinesCreateLease.js.map +0 -1
- package/lib/operations/MachinesDelete.d.ts +0 -21
- package/lib/operations/MachinesDelete.d.ts.map +0 -1
- package/lib/operations/MachinesDelete.js +0 -27
- package/lib/operations/MachinesDelete.js.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.d.ts +0 -21
- package/lib/operations/MachinesDeleteMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesDeleteMetadata.js +0 -31
- package/lib/operations/MachinesDeleteMetadata.js.map +0 -1
- package/lib/operations/MachinesExec.d.ts +0 -29
- package/lib/operations/MachinesExec.d.ts.map +0 -1
- package/lib/operations/MachinesExec.js +0 -37
- package/lib/operations/MachinesExec.js.map +0 -1
- package/lib/operations/MachinesGetMemory.d.ts +0 -22
- package/lib/operations/MachinesGetMemory.d.ts.map +0 -1
- package/lib/operations/MachinesGetMemory.js +0 -31
- package/lib/operations/MachinesGetMemory.js.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.d.ts +0 -23
- package/lib/operations/MachinesGetMetadataKey.d.ts.map +0 -1
- package/lib/operations/MachinesGetMetadataKey.js +0 -33
- package/lib/operations/MachinesGetMetadataKey.js.map +0 -1
- package/lib/operations/MachinesList.d.ts +0 -559
- package/lib/operations/MachinesList.d.ts.map +0 -1
- package/lib/operations/MachinesList.js +0 -642
- package/lib/operations/MachinesList.js.map +0 -1
- package/lib/operations/MachinesListEvents.d.ts +0 -28
- package/lib/operations/MachinesListEvents.d.ts.map +0 -1
- package/lib/operations/MachinesListEvents.js +0 -38
- package/lib/operations/MachinesListEvents.js.map +0 -1
- package/lib/operations/MachinesListProcesses.d.ts +0 -35
- package/lib/operations/MachinesListProcesses.d.ts.map +0 -1
- package/lib/operations/MachinesListProcesses.js +0 -45
- package/lib/operations/MachinesListProcesses.js.map +0 -1
- package/lib/operations/MachinesListVersions.d.ts +0 -272
- package/lib/operations/MachinesListVersions.d.ts.map +0 -1
- package/lib/operations/MachinesListVersions.js +0 -321
- package/lib/operations/MachinesListVersions.js.map +0 -1
- package/lib/operations/MachinesOrgList.d.ts +0 -63
- package/lib/operations/MachinesOrgList.d.ts.map +0 -1
- package/lib/operations/MachinesOrgList.js +0 -68
- package/lib/operations/MachinesOrgList.js.map +0 -1
- package/lib/operations/MachinesPatchMetadata.d.ts +0 -23
- package/lib/operations/MachinesPatchMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesPatchMetadata.js +0 -31
- package/lib/operations/MachinesPatchMetadata.js.map +0 -1
- package/lib/operations/MachinesReclaimMemory.d.ts +0 -22
- package/lib/operations/MachinesReclaimMemory.d.ts.map +0 -1
- package/lib/operations/MachinesReclaimMemory.js +0 -32
- package/lib/operations/MachinesReclaimMemory.js.map +0 -1
- package/lib/operations/MachinesReleaseLease.d.ts +0 -20
- package/lib/operations/MachinesReleaseLease.d.ts.map +0 -1
- package/lib/operations/MachinesReleaseLease.js +0 -30
- package/lib/operations/MachinesReleaseLease.js.map +0 -1
- package/lib/operations/MachinesRestart.d.ts +0 -23
- package/lib/operations/MachinesRestart.d.ts.map +0 -1
- package/lib/operations/MachinesRestart.js +0 -40
- package/lib/operations/MachinesRestart.js.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.d.ts +0 -23
- package/lib/operations/MachinesSetMemoryLimit.d.ts.map +0 -1
- package/lib/operations/MachinesSetMemoryLimit.js +0 -33
- package/lib/operations/MachinesSetMemoryLimit.js.map +0 -1
- package/lib/operations/MachinesShow.d.ts +0 -553
- package/lib/operations/MachinesShow.d.ts.map +0 -1
- package/lib/operations/MachinesShow.js +0 -626
- package/lib/operations/MachinesShow.js.map +0 -1
- package/lib/operations/MachinesShowLease.d.ts +0 -25
- package/lib/operations/MachinesShowLease.d.ts.map +0 -1
- package/lib/operations/MachinesShowLease.js +0 -34
- package/lib/operations/MachinesShowLease.js.map +0 -1
- package/lib/operations/MachinesShowMetadata.d.ts +0 -19
- package/lib/operations/MachinesShowMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesShowMetadata.js +0 -29
- package/lib/operations/MachinesShowMetadata.js.map +0 -1
- package/lib/operations/MachinesSignal.d.ts +0 -20
- package/lib/operations/MachinesSignal.d.ts.map +0 -1
- package/lib/operations/MachinesSignal.js +0 -44
- package/lib/operations/MachinesSignal.js.map +0 -1
- package/lib/operations/MachinesStart.d.ts +0 -19
- package/lib/operations/MachinesStart.d.ts.map +0 -1
- package/lib/operations/MachinesStart.js +0 -28
- package/lib/operations/MachinesStart.js.map +0 -1
- package/lib/operations/MachinesStop.d.ts +0 -21
- package/lib/operations/MachinesStop.d.ts.map +0 -1
- package/lib/operations/MachinesStop.js +0 -38
- package/lib/operations/MachinesStop.js.map +0 -1
- package/lib/operations/MachinesSuspend.d.ts +0 -19
- package/lib/operations/MachinesSuspend.d.ts.map +0 -1
- package/lib/operations/MachinesSuspend.js +0 -28
- package/lib/operations/MachinesSuspend.js.map +0 -1
- package/lib/operations/MachinesUncordon.d.ts +0 -19
- package/lib/operations/MachinesUncordon.d.ts.map +0 -1
- package/lib/operations/MachinesUncordon.js +0 -28
- package/lib/operations/MachinesUncordon.js.map +0 -1
- package/lib/operations/MachinesUpdate.d.ts +0 -812
- package/lib/operations/MachinesUpdate.d.ts.map +0 -1
- package/lib/operations/MachinesUpdate.js +0 -919
- package/lib/operations/MachinesUpdate.js.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpdateMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpdateMetadata.js +0 -33
- package/lib/operations/MachinesUpdateMetadata.js.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.d.ts +0 -23
- package/lib/operations/MachinesUpsertMetadata.d.ts.map +0 -1
- package/lib/operations/MachinesUpsertMetadata.js +0 -33
- package/lib/operations/MachinesUpsertMetadata.js.map +0 -1
- package/lib/operations/MachinesWait.d.ts +0 -35
- package/lib/operations/MachinesWait.d.ts.map +0 -1
- package/lib/operations/MachinesWait.js +0 -50
- package/lib/operations/MachinesWait.js.map +0 -1
- package/lib/operations/PlatformPlacementsPost.d.ts +0 -37
- package/lib/operations/PlatformPlacementsPost.d.ts.map +0 -1
- package/lib/operations/PlatformPlacementsPost.js +0 -44
- package/lib/operations/PlatformPlacementsPost.js.map +0 -1
- package/lib/operations/PlatformRegionsGet.d.ts +0 -26
- package/lib/operations/PlatformRegionsGet.d.ts.map +0 -1
- package/lib/operations/PlatformRegionsGet.js +0 -32
- package/lib/operations/PlatformRegionsGet.js.map +0 -1
- package/lib/operations/SecretCreate.d.ts +0 -26
- package/lib/operations/SecretCreate.d.ts.map +0 -1
- package/lib/operations/SecretCreate.js +0 -31
- package/lib/operations/SecretCreate.js.map +0 -1
- package/lib/operations/SecretDelete.d.ts +0 -20
- package/lib/operations/SecretDelete.d.ts.map +0 -1
- package/lib/operations/SecretDelete.js +0 -25
- package/lib/operations/SecretDelete.js.map +0 -1
- package/lib/operations/SecretGet.d.ts +0 -27
- package/lib/operations/SecretGet.d.ts.map +0 -1
- package/lib/operations/SecretGet.js +0 -32
- package/lib/operations/SecretGet.js.map +0 -1
- package/lib/operations/SecretkeyDecrypt.d.ts +0 -23
- package/lib/operations/SecretkeyDecrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyDecrypt.js +0 -31
- package/lib/operations/SecretkeyDecrypt.js.map +0 -1
- package/lib/operations/SecretkeyDelete.d.ts +0 -20
- package/lib/operations/SecretkeyDelete.d.ts.map +0 -1
- package/lib/operations/SecretkeyDelete.js +0 -28
- package/lib/operations/SecretkeyDelete.js.map +0 -1
- package/lib/operations/SecretkeyEncrypt.d.ts +0 -23
- package/lib/operations/SecretkeyEncrypt.d.ts.map +0 -1
- package/lib/operations/SecretkeyEncrypt.js +0 -31
- package/lib/operations/SecretkeyEncrypt.js.map +0 -1
- package/lib/operations/SecretkeyGenerate.d.ts +0 -27
- package/lib/operations/SecretkeyGenerate.d.ts.map +0 -1
- package/lib/operations/SecretkeyGenerate.js +0 -36
- package/lib/operations/SecretkeyGenerate.js.map +0 -1
- package/lib/operations/SecretkeyGet.d.ts +0 -25
- package/lib/operations/SecretkeyGet.d.ts.map +0 -1
- package/lib/operations/SecretkeyGet.js +0 -30
- package/lib/operations/SecretkeyGet.js.map +0 -1
- package/lib/operations/SecretkeySet.d.ts +0 -27
- package/lib/operations/SecretkeySet.d.ts.map +0 -1
- package/lib/operations/SecretkeySet.js +0 -32
- package/lib/operations/SecretkeySet.js.map +0 -1
- package/lib/operations/SecretkeySign.d.ts +0 -22
- package/lib/operations/SecretkeySign.d.ts.map +0 -1
- package/lib/operations/SecretkeySign.js +0 -30
- package/lib/operations/SecretkeySign.js.map +0 -1
- package/lib/operations/SecretkeyVerify.d.ts +0 -21
- package/lib/operations/SecretkeyVerify.d.ts.map +0 -1
- package/lib/operations/SecretkeyVerify.js +0 -30
- package/lib/operations/SecretkeyVerify.js.map +0 -1
- package/lib/operations/SecretkeysList.d.ts +0 -27
- package/lib/operations/SecretkeysList.d.ts.map +0 -1
- package/lib/operations/SecretkeysList.js +0 -32
- package/lib/operations/SecretkeysList.js.map +0 -1
- package/lib/operations/SecretsList.d.ts +0 -27
- package/lib/operations/SecretsList.d.ts.map +0 -1
- package/lib/operations/SecretsList.js +0 -32
- package/lib/operations/SecretsList.js.map +0 -1
- package/lib/operations/SecretsUpdate.d.ts +0 -26
- package/lib/operations/SecretsUpdate.d.ts.map +0 -1
- package/lib/operations/SecretsUpdate.js +0 -31
- package/lib/operations/SecretsUpdate.js.map +0 -1
- package/lib/operations/TokensAuthenticate.d.ts +0 -26
- package/lib/operations/TokensAuthenticate.d.ts.map +0 -1
- package/lib/operations/TokensAuthenticate.js +0 -33
- package/lib/operations/TokensAuthenticate.js.map +0 -1
- package/lib/operations/TokensAuthorize.d.ts +0 -59
- package/lib/operations/TokensAuthorize.d.ts.map +0 -1
- package/lib/operations/TokensAuthorize.js +0 -64
- package/lib/operations/TokensAuthorize.js.map +0 -1
- package/lib/operations/TokensRequestKms.d.ts +0 -14
- package/lib/operations/TokensRequestKms.d.ts.map +0 -1
- package/lib/operations/TokensRequestKms.js +0 -19
- package/lib/operations/TokensRequestKms.js.map +0 -1
- package/lib/operations/TokensRequestOIDC.d.ts +0 -16
- package/lib/operations/TokensRequestOIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequestOIDC.js +0 -22
- package/lib/operations/TokensRequestOIDC.js.map +0 -1
- package/lib/operations/TokensRequest_Kms.d.ts +0 -12
- package/lib/operations/TokensRequest_Kms.d.ts.map +0 -1
- package/lib/operations/TokensRequest_Kms.js +0 -18
- package/lib/operations/TokensRequest_Kms.js.map +0 -1
- package/lib/operations/TokensRequest_OIDC.d.ts +0 -18
- package/lib/operations/TokensRequest_OIDC.d.ts.map +0 -1
- package/lib/operations/TokensRequest_OIDC.js +0 -22
- package/lib/operations/TokensRequest_OIDC.js.map +0 -1
- package/lib/operations/VolumeDelete.d.ts +0 -41
- package/lib/operations/VolumeDelete.d.ts.map +0 -1
- package/lib/operations/VolumeDelete.js +0 -46
- package/lib/operations/VolumeDelete.js.map +0 -1
- package/lib/operations/VolumesCreate.d.ts +0 -62
- package/lib/operations/VolumesCreate.d.ts.map +0 -1
- package/lib/operations/VolumesCreate.js +0 -67
- package/lib/operations/VolumesCreate.js.map +0 -1
- package/lib/operations/VolumesExtend.d.ts +0 -45
- package/lib/operations/VolumesExtend.d.ts.map +0 -1
- package/lib/operations/VolumesExtend.js +0 -53
- package/lib/operations/VolumesExtend.js.map +0 -1
- package/lib/operations/VolumesGetById.d.ts +0 -41
- package/lib/operations/VolumesGetById.d.ts.map +0 -1
- package/lib/operations/VolumesGetById.js +0 -46
- package/lib/operations/VolumesGetById.js.map +0 -1
- package/lib/operations/VolumesList.d.ts +0 -41
- package/lib/operations/VolumesList.d.ts.map +0 -1
- package/lib/operations/VolumesList.js +0 -46
- package/lib/operations/VolumesList.js.map +0 -1
- package/lib/operations/VolumesListSnapshots.d.ts +0 -27
- package/lib/operations/VolumesListSnapshots.d.ts.map +0 -1
- package/lib/operations/VolumesListSnapshots.js +0 -37
- package/lib/operations/VolumesListSnapshots.js.map +0 -1
- package/lib/operations/VolumesOrgList.d.ts +0 -59
- package/lib/operations/VolumesOrgList.d.ts.map +0 -1
- package/lib/operations/VolumesOrgList.js +0 -63
- package/lib/operations/VolumesOrgList.js.map +0 -1
- package/lib/operations/VolumesUpdate.d.ts +0 -43
- package/lib/operations/VolumesUpdate.d.ts.map +0 -1
- package/lib/operations/VolumesUpdate.js +0 -48
- package/lib/operations/VolumesUpdate.js.map +0 -1
- package/lib/operations/createVolumeSnapshot.d.ts +0 -19
- package/lib/operations/createVolumeSnapshot.d.ts.map +0 -1
- package/lib/operations/createVolumeSnapshot.js +0 -29
- package/lib/operations/createVolumeSnapshot.js.map +0 -1
- package/lib/operations/index.d.ts +0 -77
- package/lib/operations/index.d.ts.map +0 -1
- package/lib/operations/index.js +0 -77
- package/lib/operations/index.js.map +0 -1
- package/lib/sensitive.d.ts +0 -5
- package/lib/sensitive.d.ts.map +0 -1
- package/lib/sensitive.js +0 -5
- package/lib/sensitive.js.map +0 -1
- package/src/category.ts +0 -4
- package/src/client.ts +0 -71
- package/src/operations/AppCertificatesAcmeCreate.ts +0 -148
- package/src/operations/AppCertificatesAcmeDelete.ts +0 -147
- package/src/operations/AppCertificatesCheck.ts +0 -167
- package/src/operations/AppCertificatesCustomCreate.ts +0 -154
- package/src/operations/AppCertificatesCustomDelete.ts +0 -149
- package/src/operations/AppCertificatesDelete.ts +0 -38
- package/src/operations/AppCertificatesList.ts +0 -81
- package/src/operations/AppCertificatesShow.ts +0 -144
- package/src/operations/AppCreateDeployToken.ts +0 -38
- package/src/operations/AppIPAssignmentsCreate.ts +0 -54
- package/src/operations/AppIPAssignmentsDelete.ts +0 -35
- package/src/operations/AppIPAssignmentsList.ts +0 -52
- package/src/operations/App_CertificatesAcmeCreate.ts +0 -99
- package/src/operations/App_CertificatesAcmeDelete.ts +0 -100
- package/src/operations/App_CertificatesCheck.ts +0 -110
- package/src/operations/App_CertificatesCustomCreate.ts +0 -102
- package/src/operations/App_CertificatesCustomDelete.ts +0 -102
- package/src/operations/App_CertificatesDelete.ts +0 -28
- package/src/operations/App_CertificatesList.ts +0 -52
- package/src/operations/App_CertificatesShow.ts +0 -95
- package/src/operations/App_IPAssignmentsCreate.ts +0 -36
- package/src/operations/App_IPAssignmentsDelete.ts +0 -25
- package/src/operations/App_IPAssignmentsList.ts +0 -37
- package/src/operations/AppsCreate.ts +0 -37
- package/src/operations/AppsDelete.ts +0 -33
- package/src/operations/AppsList.ts +0 -73
- package/src/operations/AppsShow.ts +0 -56
- package/src/operations/CurrentTokenShow.ts +0 -48
- package/src/operations/MachinesCordon.ts +0 -39
- package/src/operations/MachinesCreate.ts +0 -2166
- package/src/operations/MachinesCreateLease.ts +0 -57
- package/src/operations/MachinesDelete.ts +0 -39
- package/src/operations/MachinesDeleteMetadata.ts +0 -43
- package/src/operations/MachinesExec.ts +0 -58
- package/src/operations/MachinesGetMemory.ts +0 -45
- package/src/operations/MachinesGetMetadataKey.ts +0 -47
- package/src/operations/MachinesList.ts +0 -1494
- package/src/operations/MachinesListEvents.ts +0 -59
- package/src/operations/MachinesListProcesses.ts +0 -73
- package/src/operations/MachinesListVersions.ts +0 -742
- package/src/operations/MachinesOrgList.ts +0 -128
- package/src/operations/MachinesPatchMetadata.ts +0 -38
- package/src/operations/MachinesReclaimMemory.ts +0 -46
- package/src/operations/MachinesReleaseLease.ts +0 -41
- package/src/operations/MachinesRestart.ts +0 -62
- package/src/operations/MachinesSetMemoryLimit.ts +0 -48
- package/src/operations/MachinesShow.ts +0 -1473
- package/src/operations/MachinesShowLease.ts +0 -51
- package/src/operations/MachinesShowMetadata.ts +0 -43
- package/src/operations/MachinesSignal.ts +0 -72
- package/src/operations/MachinesStart.ts +0 -39
- package/src/operations/MachinesStop.ts +0 -60
- package/src/operations/MachinesSuspend.ts +0 -39
- package/src/operations/MachinesUncordon.ts +0 -39
- package/src/operations/MachinesUpdate.ts +0 -2170
- package/src/operations/MachinesUpdateMetadata.ts +0 -47
- package/src/operations/MachinesUpsertMetadata.ts +0 -47
- package/src/operations/MachinesWait.ts +0 -79
- package/src/operations/PlatformPlacementsPost.ts +0 -80
- package/src/operations/PlatformRegionsGet.ts +0 -56
- package/src/operations/SecretCreate.ts +0 -51
- package/src/operations/SecretDelete.ts +0 -39
- package/src/operations/SecretGet.ts +0 -51
- package/src/operations/SecretkeyDecrypt.ts +0 -47
- package/src/operations/SecretkeyDelete.ts +0 -42
- package/src/operations/SecretkeyEncrypt.ts +0 -47
- package/src/operations/SecretkeyGenerate.ts +0 -57
- package/src/operations/SecretkeyGet.ts +0 -48
- package/src/operations/SecretkeySet.ts +0 -53
- package/src/operations/SecretkeySign.ts +0 -45
- package/src/operations/SecretkeyVerify.ts +0 -44
- package/src/operations/SecretkeysList.ts +0 -56
- package/src/operations/SecretsList.ts +0 -56
- package/src/operations/SecretsUpdate.ts +0 -56
- package/src/operations/TokensAuthenticate.ts +0 -54
- package/src/operations/TokensAuthorize.ts +0 -122
- package/src/operations/TokensRequestKms.ts +0 -27
- package/src/operations/TokensRequestOIDC.ts +0 -33
- package/src/operations/TokensRequest_Kms.ts +0 -24
- package/src/operations/TokensRequest_OIDC.ts +0 -26
- package/src/operations/VolumeDelete.ts +0 -81
- package/src/operations/VolumesCreate.ts +0 -128
- package/src/operations/VolumesExtend.ts +0 -94
- package/src/operations/VolumesGetById.ts +0 -81
- package/src/operations/VolumesList.ts +0 -83
- package/src/operations/VolumesListSnapshots.ts +0 -58
- package/src/operations/VolumesOrgList.ts +0 -115
- package/src/operations/VolumesUpdate.ts +0 -85
- package/src/operations/createVolumeSnapshot.ts +0 -40
- package/src/operations/index.ts +0 -76
- package/src/sensitive.ts +0 -4
|
@@ -0,0 +1,2236 @@
|
|
|
1
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
2
|
+
import * as API from "@distilled.cloud/core/api";
|
|
3
|
+
import { type FlyIoOpError, type FlyIoOpContext } from "../protocol.ts";
|
|
4
|
+
import { BadRequest, Forbidden, NotFound, UnprocessableEntity } from "../errors.ts";
|
|
5
|
+
export type { FlyIoOpError, FlyIoOpContext };
|
|
6
|
+
export interface AppCertificatesAcmeCreateRequest {
|
|
7
|
+
/** Fly App Name */
|
|
8
|
+
app_name: string;
|
|
9
|
+
hostname?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const AppCertificatesAcmeCreateRequest: S.Schema<AppCertificatesAcmeCreateRequest>;
|
|
12
|
+
export type IssuedCertificateType = "rsa" | "ecdsa";
|
|
13
|
+
export declare const IssuedCertificateType: any;
|
|
14
|
+
export interface IssuedCertificate {
|
|
15
|
+
certificate_authority?: string;
|
|
16
|
+
expires_at?: string;
|
|
17
|
+
type?: IssuedCertificateType;
|
|
18
|
+
}
|
|
19
|
+
export declare const IssuedCertificate: S.Schema<IssuedCertificate>;
|
|
20
|
+
export type CertificateEntryIssuedList = Array<IssuedCertificate>;
|
|
21
|
+
export declare const CertificateEntryIssuedList: S.Schema<CertificateEntryIssuedList>;
|
|
22
|
+
export type CertificateEntrySource = "custom" | "fly";
|
|
23
|
+
export declare const CertificateEntrySource: any;
|
|
24
|
+
export type CertificateEntryStatus = "active" | "pending_ownership" | "pending_validation";
|
|
25
|
+
export declare const CertificateEntryStatus: any;
|
|
26
|
+
export interface CertificateEntry {
|
|
27
|
+
created_at?: string;
|
|
28
|
+
expires_at?: string;
|
|
29
|
+
issued?: CertificateEntryIssuedList;
|
|
30
|
+
issuer?: string;
|
|
31
|
+
source?: CertificateEntrySource;
|
|
32
|
+
status?: CertificateEntryStatus;
|
|
33
|
+
}
|
|
34
|
+
export declare const CertificateEntry: S.Schema<CertificateEntry>;
|
|
35
|
+
export type CertificateDetailCertificatesList = Array<CertificateEntry>;
|
|
36
|
+
export declare const CertificateDetailCertificatesList: S.Schema<CertificateDetailCertificatesList>;
|
|
37
|
+
export type DNSRequirementsAList = Array<string>;
|
|
38
|
+
export declare const DNSRequirementsAList: S.Schema<DNSRequirementsAList>;
|
|
39
|
+
export type DNSRequirementsAaaaList = Array<string>;
|
|
40
|
+
export declare const DNSRequirementsAaaaList: S.Schema<DNSRequirementsAaaaList>;
|
|
41
|
+
export interface AcmeChallenge {
|
|
42
|
+
name?: string;
|
|
43
|
+
target?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare const AcmeChallenge: S.Schema<AcmeChallenge>;
|
|
46
|
+
export interface OwnershipVerification {
|
|
47
|
+
app_value?: string;
|
|
48
|
+
name?: string;
|
|
49
|
+
org_value?: string;
|
|
50
|
+
}
|
|
51
|
+
export declare const OwnershipVerification: S.Schema<OwnershipVerification>;
|
|
52
|
+
export interface DNSRequirements {
|
|
53
|
+
a?: DNSRequirementsAList;
|
|
54
|
+
aaaa?: DNSRequirementsAaaaList;
|
|
55
|
+
acme_challenge?: AcmeChallenge;
|
|
56
|
+
cname?: string;
|
|
57
|
+
ownership?: OwnershipVerification;
|
|
58
|
+
}
|
|
59
|
+
export declare const DNSRequirements: S.Schema<DNSRequirements>;
|
|
60
|
+
export interface CertificateValidation {
|
|
61
|
+
alpn_configured?: boolean;
|
|
62
|
+
dns_configured?: boolean;
|
|
63
|
+
http_configured?: boolean;
|
|
64
|
+
ownership_txt_configured?: boolean;
|
|
65
|
+
}
|
|
66
|
+
export declare const CertificateValidation: S.Schema<CertificateValidation>;
|
|
67
|
+
export interface CertificateValidationError {
|
|
68
|
+
code?: string;
|
|
69
|
+
message?: string;
|
|
70
|
+
remediation?: string;
|
|
71
|
+
timestamp?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare const CertificateValidationError: S.Schema<CertificateValidationError>;
|
|
74
|
+
export type CertificateDetailValidationErrorsList = Array<CertificateValidationError>;
|
|
75
|
+
export declare const CertificateDetailValidationErrorsList: S.Schema<CertificateDetailValidationErrorsList>;
|
|
76
|
+
export interface CertificateDetail {
|
|
77
|
+
acme_requested?: boolean;
|
|
78
|
+
certificates?: CertificateDetailCertificatesList;
|
|
79
|
+
configured?: boolean;
|
|
80
|
+
dns_provider?: string;
|
|
81
|
+
dns_requirements?: DNSRequirements;
|
|
82
|
+
hostname?: string;
|
|
83
|
+
rate_limited_until?: string;
|
|
84
|
+
status?: string;
|
|
85
|
+
validation?: CertificateValidation;
|
|
86
|
+
validation_errors?: CertificateDetailValidationErrorsList;
|
|
87
|
+
}
|
|
88
|
+
export declare const CertificateDetail: S.Schema<CertificateDetail>;
|
|
89
|
+
export interface AppCertificatesAcmeDeleteRequest {
|
|
90
|
+
/** Fly App Name */
|
|
91
|
+
app_name: string;
|
|
92
|
+
/** Certificate Hostname */
|
|
93
|
+
hostname: string;
|
|
94
|
+
}
|
|
95
|
+
export declare const AppCertificatesAcmeDeleteRequest: S.Schema<AppCertificatesAcmeDeleteRequest>;
|
|
96
|
+
export interface AppCertificatesCheckRequest {
|
|
97
|
+
/** Fly App Name */
|
|
98
|
+
app_name: string;
|
|
99
|
+
/** Certificate Hostname */
|
|
100
|
+
hostname: string;
|
|
101
|
+
}
|
|
102
|
+
export declare const AppCertificatesCheckRequest: S.Schema<AppCertificatesCheckRequest>;
|
|
103
|
+
export type CertificateCheckResponseCertificatesList = Array<CertificateEntry>;
|
|
104
|
+
export declare const CertificateCheckResponseCertificatesList: S.Schema<CertificateCheckResponseCertificatesList>;
|
|
105
|
+
export type DNSRecordsAList = Array<string>;
|
|
106
|
+
export declare const DNSRecordsAList: S.Schema<DNSRecordsAList>;
|
|
107
|
+
export type DNSRecordsAaaaList = Array<string>;
|
|
108
|
+
export declare const DNSRecordsAaaaList: S.Schema<DNSRecordsAaaaList>;
|
|
109
|
+
export type DNSRecordsCnameList = Array<string>;
|
|
110
|
+
export declare const DNSRecordsCnameList: S.Schema<DNSRecordsCnameList>;
|
|
111
|
+
export type DNSRecordsResolvedAddressesList = Array<string>;
|
|
112
|
+
export declare const DNSRecordsResolvedAddressesList: S.Schema<DNSRecordsResolvedAddressesList>;
|
|
113
|
+
export interface DNSRecords {
|
|
114
|
+
a?: DNSRecordsAList;
|
|
115
|
+
aaaa?: DNSRecordsAaaaList;
|
|
116
|
+
acme_challenge_cname?: string;
|
|
117
|
+
cname?: DNSRecordsCnameList;
|
|
118
|
+
ownership_txt?: string;
|
|
119
|
+
resolved_addresses?: DNSRecordsResolvedAddressesList;
|
|
120
|
+
soa?: string;
|
|
121
|
+
}
|
|
122
|
+
export declare const DNSRecords: S.Schema<DNSRecords>;
|
|
123
|
+
export type CertificateCheckResponseValidationErrorsList = Array<CertificateValidationError>;
|
|
124
|
+
export declare const CertificateCheckResponseValidationErrorsList: S.Schema<CertificateCheckResponseValidationErrorsList>;
|
|
125
|
+
export interface CertificateCheckResponse {
|
|
126
|
+
acme_requested?: boolean;
|
|
127
|
+
certificates?: CertificateCheckResponseCertificatesList;
|
|
128
|
+
configured?: boolean;
|
|
129
|
+
dns_provider?: string;
|
|
130
|
+
dns_records?: DNSRecords;
|
|
131
|
+
dns_requirements?: DNSRequirements;
|
|
132
|
+
hostname?: string;
|
|
133
|
+
rate_limited_until?: string;
|
|
134
|
+
status?: string;
|
|
135
|
+
validation?: CertificateValidation;
|
|
136
|
+
validation_errors?: CertificateCheckResponseValidationErrorsList;
|
|
137
|
+
}
|
|
138
|
+
export declare const CertificateCheckResponse: S.Schema<CertificateCheckResponse>;
|
|
139
|
+
export interface AppCertificatesCustomCreateRequest {
|
|
140
|
+
/** Fly App Name */
|
|
141
|
+
app_name: string;
|
|
142
|
+
fullchain?: string;
|
|
143
|
+
hostname?: string;
|
|
144
|
+
private_key?: string;
|
|
145
|
+
}
|
|
146
|
+
export declare const AppCertificatesCustomCreateRequest: S.Schema<AppCertificatesCustomCreateRequest>;
|
|
147
|
+
export interface AppCertificatesCustomDeleteRequest {
|
|
148
|
+
/** Fly App Name */
|
|
149
|
+
app_name: string;
|
|
150
|
+
/** Certificate Hostname */
|
|
151
|
+
hostname: string;
|
|
152
|
+
}
|
|
153
|
+
export declare const AppCertificatesCustomDeleteRequest: S.Schema<AppCertificatesCustomDeleteRequest>;
|
|
154
|
+
export type DestroyCustomCertificateResponseCertificatesList = Array<CertificateEntry>;
|
|
155
|
+
export declare const DestroyCustomCertificateResponseCertificatesList: S.Schema<DestroyCustomCertificateResponseCertificatesList>;
|
|
156
|
+
export type DestroyCustomCertificateResponseValidationErrorsList = Array<CertificateValidationError>;
|
|
157
|
+
export declare const DestroyCustomCertificateResponseValidationErrorsList: S.Schema<DestroyCustomCertificateResponseValidationErrorsList>;
|
|
158
|
+
export interface DestroyCustomCertificateResponse {
|
|
159
|
+
acme_requested?: boolean;
|
|
160
|
+
certificates?: DestroyCustomCertificateResponseCertificatesList;
|
|
161
|
+
configured?: boolean;
|
|
162
|
+
dns_provider?: string;
|
|
163
|
+
dns_requirements?: DNSRequirements;
|
|
164
|
+
hostname?: string;
|
|
165
|
+
rate_limited_until?: string;
|
|
166
|
+
status?: string;
|
|
167
|
+
validation?: CertificateValidation;
|
|
168
|
+
validation_errors?: DestroyCustomCertificateResponseValidationErrorsList;
|
|
169
|
+
warning?: string;
|
|
170
|
+
}
|
|
171
|
+
export declare const DestroyCustomCertificateResponse: S.Schema<DestroyCustomCertificateResponse>;
|
|
172
|
+
export interface AppCertificatesDeleteRequest {
|
|
173
|
+
/** Fly App Name */
|
|
174
|
+
app_name: string;
|
|
175
|
+
/** Certificate Hostname */
|
|
176
|
+
hostname: string;
|
|
177
|
+
}
|
|
178
|
+
export declare const AppCertificatesDeleteRequest: S.Schema<AppCertificatesDeleteRequest>;
|
|
179
|
+
export interface AppCertificatesDeleteResponse {
|
|
180
|
+
}
|
|
181
|
+
export declare const AppCertificatesDeleteResponse: S.Schema<AppCertificatesDeleteResponse>;
|
|
182
|
+
export interface AppCertificatesListRequest {
|
|
183
|
+
/** Fly App Name */
|
|
184
|
+
app_name: string;
|
|
185
|
+
/** Hostname filter (substring match) */
|
|
186
|
+
filter?: string;
|
|
187
|
+
/** Pagination cursor from previous response */
|
|
188
|
+
cursor?: string;
|
|
189
|
+
/** Number of results per page (default 25, max 500) */
|
|
190
|
+
limit?: number;
|
|
191
|
+
}
|
|
192
|
+
export declare const AppCertificatesListRequest: S.Schema<AppCertificatesListRequest>;
|
|
193
|
+
export interface CertificateSummary {
|
|
194
|
+
acme_alpn_configured?: boolean;
|
|
195
|
+
acme_dns_configured?: boolean;
|
|
196
|
+
acme_http_configured?: boolean;
|
|
197
|
+
acme_requested?: boolean;
|
|
198
|
+
configured?: boolean;
|
|
199
|
+
created_at?: string;
|
|
200
|
+
dns_provider?: string;
|
|
201
|
+
has_custom_certificate?: boolean;
|
|
202
|
+
has_fly_certificate?: boolean;
|
|
203
|
+
hostname?: string;
|
|
204
|
+
ownership_txt_configured?: boolean;
|
|
205
|
+
status?: string;
|
|
206
|
+
updated_at?: string;
|
|
207
|
+
}
|
|
208
|
+
export declare const CertificateSummary: S.Schema<CertificateSummary>;
|
|
209
|
+
export type ListCertificatesResponseCertificatesList = Array<CertificateSummary>;
|
|
210
|
+
export declare const ListCertificatesResponseCertificatesList: S.Schema<ListCertificatesResponseCertificatesList>;
|
|
211
|
+
export interface ListCertificatesResponse {
|
|
212
|
+
certificates?: ListCertificatesResponseCertificatesList;
|
|
213
|
+
next_cursor?: string;
|
|
214
|
+
total_count?: number;
|
|
215
|
+
}
|
|
216
|
+
export declare const ListCertificatesResponse: S.Schema<ListCertificatesResponse>;
|
|
217
|
+
export interface AppCertificatesShowRequest {
|
|
218
|
+
/** Fly App Name */
|
|
219
|
+
app_name: string;
|
|
220
|
+
/** Certificate Hostname */
|
|
221
|
+
hostname: string;
|
|
222
|
+
}
|
|
223
|
+
export declare const AppCertificatesShowRequest: S.Schema<AppCertificatesShowRequest>;
|
|
224
|
+
export interface AppCreateDeployTokenRequest {
|
|
225
|
+
/** Fly App Name */
|
|
226
|
+
app_name: string;
|
|
227
|
+
expiry?: string;
|
|
228
|
+
}
|
|
229
|
+
export declare const AppCreateDeployTokenRequest: S.Schema<AppCreateDeployTokenRequest>;
|
|
230
|
+
export interface CreateAppResponse {
|
|
231
|
+
token?: string;
|
|
232
|
+
}
|
|
233
|
+
export declare const CreateAppResponse: S.Schema<CreateAppResponse>;
|
|
234
|
+
export interface AppIPAssignmentsCreateRequest {
|
|
235
|
+
/** Fly App Name */
|
|
236
|
+
app_name: string;
|
|
237
|
+
network?: string;
|
|
238
|
+
org_slug?: string;
|
|
239
|
+
region?: string;
|
|
240
|
+
service_name?: string;
|
|
241
|
+
type?: string;
|
|
242
|
+
}
|
|
243
|
+
export declare const AppIPAssignmentsCreateRequest: S.Schema<AppIPAssignmentsCreateRequest>;
|
|
244
|
+
export interface IPAssignment {
|
|
245
|
+
created_at?: string;
|
|
246
|
+
ip?: string;
|
|
247
|
+
region?: string;
|
|
248
|
+
service_name?: string;
|
|
249
|
+
shared?: boolean;
|
|
250
|
+
}
|
|
251
|
+
export declare const IPAssignment: S.Schema<IPAssignment>;
|
|
252
|
+
export interface AppIPAssignmentsDeleteRequest {
|
|
253
|
+
/** Fly App Name */
|
|
254
|
+
app_name: string;
|
|
255
|
+
/** IP address */
|
|
256
|
+
ip: string;
|
|
257
|
+
}
|
|
258
|
+
export declare const AppIPAssignmentsDeleteRequest: S.Schema<AppIPAssignmentsDeleteRequest>;
|
|
259
|
+
export interface AppIPAssignmentsDeleteResponse {
|
|
260
|
+
}
|
|
261
|
+
export declare const AppIPAssignmentsDeleteResponse: S.Schema<AppIPAssignmentsDeleteResponse>;
|
|
262
|
+
export interface AppIPAssignmentsListRequest {
|
|
263
|
+
/** Fly App Name */
|
|
264
|
+
app_name: string;
|
|
265
|
+
}
|
|
266
|
+
export declare const AppIPAssignmentsListRequest: S.Schema<AppIPAssignmentsListRequest>;
|
|
267
|
+
export type ListIPAssignmentsResponseIpsList = Array<IPAssignment>;
|
|
268
|
+
export declare const ListIPAssignmentsResponseIpsList: S.Schema<ListIPAssignmentsResponseIpsList>;
|
|
269
|
+
export interface ListIPAssignmentsResponse {
|
|
270
|
+
ips?: ListIPAssignmentsResponseIpsList;
|
|
271
|
+
}
|
|
272
|
+
export declare const ListIPAssignmentsResponse: S.Schema<ListIPAssignmentsResponse>;
|
|
273
|
+
export interface AppsCreateRequest {
|
|
274
|
+
enable_subdomains?: boolean;
|
|
275
|
+
name?: string;
|
|
276
|
+
network?: string;
|
|
277
|
+
org_slug?: string;
|
|
278
|
+
}
|
|
279
|
+
export declare const AppsCreateRequest: S.Schema<AppsCreateRequest>;
|
|
280
|
+
export interface AppsCreateResponse {
|
|
281
|
+
}
|
|
282
|
+
export declare const AppsCreateResponse: S.Schema<AppsCreateResponse>;
|
|
283
|
+
export interface AppsDeleteRequest {
|
|
284
|
+
/** Fly App Name */
|
|
285
|
+
app_name: string;
|
|
286
|
+
}
|
|
287
|
+
export declare const AppsDeleteRequest: S.Schema<AppsDeleteRequest>;
|
|
288
|
+
export interface AppsDeleteResponse {
|
|
289
|
+
}
|
|
290
|
+
export declare const AppsDeleteResponse: S.Schema<AppsDeleteResponse>;
|
|
291
|
+
export interface AppsListRequest {
|
|
292
|
+
/** The org slug, or 'personal', to filter apps */
|
|
293
|
+
org_slug: string;
|
|
294
|
+
/** Filter apps by role */
|
|
295
|
+
app_role?: string;
|
|
296
|
+
}
|
|
297
|
+
export declare const AppsListRequest: S.Schema<AppsListRequest>;
|
|
298
|
+
export interface AppOrganizationInfo {
|
|
299
|
+
internal_numeric_id?: number;
|
|
300
|
+
name?: string;
|
|
301
|
+
slug?: string;
|
|
302
|
+
}
|
|
303
|
+
export declare const AppOrganizationInfo: S.Schema<AppOrganizationInfo>;
|
|
304
|
+
export interface App {
|
|
305
|
+
id?: string;
|
|
306
|
+
internal_numeric_id?: number;
|
|
307
|
+
machine_count?: number;
|
|
308
|
+
name?: string;
|
|
309
|
+
network?: string;
|
|
310
|
+
organization?: AppOrganizationInfo;
|
|
311
|
+
status?: string;
|
|
312
|
+
volume_count?: number;
|
|
313
|
+
}
|
|
314
|
+
export declare const App: S.Schema<App>;
|
|
315
|
+
export type ListAppsResponseAppsList = Array<App>;
|
|
316
|
+
export declare const ListAppsResponseAppsList: S.Schema<ListAppsResponseAppsList>;
|
|
317
|
+
export interface ListAppsResponse {
|
|
318
|
+
apps?: ListAppsResponseAppsList;
|
|
319
|
+
total_apps?: number;
|
|
320
|
+
}
|
|
321
|
+
export declare const ListAppsResponse: S.Schema<ListAppsResponse>;
|
|
322
|
+
export interface AppsShowRequest {
|
|
323
|
+
/** Fly App Name */
|
|
324
|
+
app_name: string;
|
|
325
|
+
}
|
|
326
|
+
export declare const AppsShowRequest: S.Schema<AppsShowRequest>;
|
|
327
|
+
export interface CreateVolumeSnapshotRequest {
|
|
328
|
+
/** Fly App Name */
|
|
329
|
+
app_name: string;
|
|
330
|
+
/** Volume ID */
|
|
331
|
+
volume_id: string;
|
|
332
|
+
}
|
|
333
|
+
export declare const CreateVolumeSnapshotRequest: S.Schema<CreateVolumeSnapshotRequest>;
|
|
334
|
+
export interface CreateVolumeSnapshotResponse {
|
|
335
|
+
}
|
|
336
|
+
export declare const CreateVolumeSnapshotResponse: S.Schema<CreateVolumeSnapshotResponse>;
|
|
337
|
+
export interface CurrentTokenShowRequest {
|
|
338
|
+
}
|
|
339
|
+
export declare const CurrentTokenShowRequest: S.Schema<CurrentTokenShowRequest>;
|
|
340
|
+
export type MainTokenInfoAppsList = Array<string>;
|
|
341
|
+
export declare const MainTokenInfoAppsList: S.Schema<MainTokenInfoAppsList>;
|
|
342
|
+
export interface MainTokenInfo {
|
|
343
|
+
apps?: MainTokenInfoAppsList;
|
|
344
|
+
org_slug?: string;
|
|
345
|
+
organization?: string;
|
|
346
|
+
/** Machine the token is restricted to (FromMachine caveat) */
|
|
347
|
+
restricted_to_machine?: string;
|
|
348
|
+
/** Machine making the request */
|
|
349
|
+
source_machine_id?: string;
|
|
350
|
+
token_id?: string;
|
|
351
|
+
/** User identifier if token is for a user */
|
|
352
|
+
user?: string;
|
|
353
|
+
}
|
|
354
|
+
export declare const MainTokenInfo: S.Schema<MainTokenInfo>;
|
|
355
|
+
export type CurrentTokenResponseTokensList = Array<MainTokenInfo>;
|
|
356
|
+
export declare const CurrentTokenResponseTokensList: S.Schema<CurrentTokenResponseTokensList>;
|
|
357
|
+
export interface CurrentTokenResponse {
|
|
358
|
+
tokens?: CurrentTokenResponseTokensList;
|
|
359
|
+
}
|
|
360
|
+
export declare const CurrentTokenResponse: S.Schema<CurrentTokenResponse>;
|
|
361
|
+
export interface MachinesCordonRequest {
|
|
362
|
+
/** Fly App Name */
|
|
363
|
+
app_name: string;
|
|
364
|
+
/** Machine ID */
|
|
365
|
+
machine_id: string;
|
|
366
|
+
}
|
|
367
|
+
export declare const MachinesCordonRequest: S.Schema<MachinesCordonRequest>;
|
|
368
|
+
export interface MachinesCordonResponse {
|
|
369
|
+
}
|
|
370
|
+
export declare const MachinesCordonResponse: S.Schema<MachinesCordonResponse>;
|
|
371
|
+
export interface FlyMachineCacheDrive {
|
|
372
|
+
size_mb?: number;
|
|
373
|
+
}
|
|
374
|
+
export declare const FlyMachineCacheDrive: S.Schema<FlyMachineCacheDrive>;
|
|
375
|
+
/** The header value */
|
|
376
|
+
export type FlyMachineHTTPHeaderValuesList = Array<string>;
|
|
377
|
+
export declare const FlyMachineHTTPHeaderValuesList: S.Schema<FlyMachineHTTPHeaderValuesList>;
|
|
378
|
+
/** For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call. */
|
|
379
|
+
export interface FlyMachineHTTPHeader {
|
|
380
|
+
/** The header name */
|
|
381
|
+
name?: string;
|
|
382
|
+
/** The header value */
|
|
383
|
+
values?: FlyMachineHTTPHeaderValuesList;
|
|
384
|
+
}
|
|
385
|
+
export declare const FlyMachineHTTPHeader: S.Schema<FlyMachineHTTPHeader>;
|
|
386
|
+
export type FlyMachineCheckHeadersList = Array<FlyMachineHTTPHeader>;
|
|
387
|
+
export declare const FlyMachineCheckHeadersList: S.Schema<FlyMachineCheckHeadersList>;
|
|
388
|
+
/** Kind of the check (informational, readiness) */
|
|
389
|
+
export type FlyMachineCheckKind = "informational" | "readiness";
|
|
390
|
+
export declare const FlyMachineCheckKind: any;
|
|
391
|
+
export interface FlyMachineCheck {
|
|
392
|
+
/** The time to wait after a VM starts before checking its health */
|
|
393
|
+
grace_period?: string;
|
|
394
|
+
headers?: FlyMachineCheckHeadersList;
|
|
395
|
+
/** The time between connectivity checks */
|
|
396
|
+
interval?: string;
|
|
397
|
+
/** Kind of the check (informational, readiness) */
|
|
398
|
+
kind?: FlyMachineCheckKind | (string & {});
|
|
399
|
+
/** For http checks, the HTTP method to use to when making the request */
|
|
400
|
+
method?: string;
|
|
401
|
+
/** For http checks, the path to send the request to */
|
|
402
|
+
path?: string;
|
|
403
|
+
/** The port to connect to, often the same as internal_port */
|
|
404
|
+
port?: number;
|
|
405
|
+
/** For http checks, whether to use http or https */
|
|
406
|
+
protocol?: string;
|
|
407
|
+
/** The maximum time a connection can take before being reported as failing its health check */
|
|
408
|
+
timeout?: string;
|
|
409
|
+
/** If the protocol is https, the hostname to use for TLS certificate validation */
|
|
410
|
+
tls_server_name?: string;
|
|
411
|
+
/** For http checks with https protocol, whether or not to verify the TLS certificate */
|
|
412
|
+
tls_skip_verify?: boolean;
|
|
413
|
+
/** tcp or http */
|
|
414
|
+
type?: string;
|
|
415
|
+
}
|
|
416
|
+
export declare const FlyMachineCheck: S.Schema<FlyMachineCheck>;
|
|
417
|
+
/** An optional object that defines one or more named top-level checks. The key for each check is the check name. */
|
|
418
|
+
export type FlyMachineConfigChecksMap = {
|
|
419
|
+
[key: string]: FlyMachineCheck | undefined;
|
|
420
|
+
};
|
|
421
|
+
export declare const FlyMachineConfigChecksMap: S.Schema<FlyMachineConfigChecksMap>;
|
|
422
|
+
/** CmdOverride is used to override the default command of the image. */
|
|
423
|
+
export type FlyContainerConfigCmdList = Array<string>;
|
|
424
|
+
export declare const FlyContainerConfigCmdList: S.Schema<FlyContainerConfigCmdList>;
|
|
425
|
+
export type FlyContainerDependencyCondition = "exited_successfully" | "healthy" | "started";
|
|
426
|
+
export declare const FlyContainerDependencyCondition: any;
|
|
427
|
+
export interface FlyContainerDependency {
|
|
428
|
+
condition?: FlyContainerDependencyCondition | (string & {});
|
|
429
|
+
name?: string;
|
|
430
|
+
}
|
|
431
|
+
export declare const FlyContainerDependency: S.Schema<FlyContainerDependency>;
|
|
432
|
+
/** DependsOn can be used to define dependencies between containers. The container will only be started after all of its dependent conditions have been satisfied. */
|
|
433
|
+
export type FlyContainerConfigDependsOnList = Array<FlyContainerDependency>;
|
|
434
|
+
export declare const FlyContainerConfigDependsOnList: S.Schema<FlyContainerConfigDependsOnList>;
|
|
435
|
+
/** EntrypointOverride is used to override the default entrypoint of the image. */
|
|
436
|
+
export type FlyContainerConfigEntrypointList = Array<string>;
|
|
437
|
+
export declare const FlyContainerConfigEntrypointList: S.Schema<FlyContainerConfigEntrypointList>;
|
|
438
|
+
/** ExtraEnv is used to add additional environment variables to the container. */
|
|
439
|
+
export type FlyContainerConfigEnvMap = {
|
|
440
|
+
[key: string]: string | undefined;
|
|
441
|
+
};
|
|
442
|
+
export declare const FlyContainerConfigEnvMap: S.Schema<FlyContainerConfigEnvMap>;
|
|
443
|
+
/** FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image. */
|
|
444
|
+
export type FlyEnvFromFieldRef = "id" | "version" | "app_name" | "private_ip" | "region" | "image";
|
|
445
|
+
export declare const FlyEnvFromFieldRef: any;
|
|
446
|
+
/** EnvVar defines an environment variable to be populated from a machine field, env_var */
|
|
447
|
+
export interface FlyEnvFrom {
|
|
448
|
+
/** EnvVar is required and is the name of the environment variable that will be set from the secret. It must be a valid environment variable name. */
|
|
449
|
+
env_var?: string;
|
|
450
|
+
/** FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image. */
|
|
451
|
+
field_ref?: FlyEnvFromFieldRef | (string & {});
|
|
452
|
+
}
|
|
453
|
+
export declare const FlyEnvFrom: S.Schema<FlyEnvFrom>;
|
|
454
|
+
/** EnvFrom can be provided to set environment variables from machine fields. */
|
|
455
|
+
export type FlyContainerConfigEnvFromList = Array<FlyEnvFrom>;
|
|
456
|
+
export declare const FlyContainerConfigEnvFromList: S.Schema<FlyContainerConfigEnvFromList>;
|
|
457
|
+
/** Image Config overrides - these fields are used to override the image configuration. If not provided, the image configuration will be used. ExecOverride is used to override the default command of the image. */
|
|
458
|
+
export type FlyContainerConfigExecList = Array<string>;
|
|
459
|
+
export declare const FlyContainerConfigExecList: S.Schema<FlyContainerConfigExecList>;
|
|
460
|
+
/** A file that will be written to the Machine. One of RawValue or SecretName must be set. */
|
|
461
|
+
export interface FlyFile {
|
|
462
|
+
/** GuestPath is the path on the machine where the file will be written and must be an absolute path. For example: /full/path/to/file.json */
|
|
463
|
+
guest_path?: string;
|
|
464
|
+
/** The name of an image to use the OCI image config as the file contents. */
|
|
465
|
+
image_config?: string;
|
|
466
|
+
/** Mode bits used to set permissions on this file as accepted by chmod(2). */
|
|
467
|
+
mode?: number;
|
|
468
|
+
/** The base64 encoded string of the file contents. */
|
|
469
|
+
raw_value?: string;
|
|
470
|
+
/** The name of the secret that contains the base64 encoded file contents. */
|
|
471
|
+
secret_name?: string;
|
|
472
|
+
}
|
|
473
|
+
export declare const FlyFile: S.Schema<FlyFile>;
|
|
474
|
+
/** Files are files that will be written to the container file system. */
|
|
475
|
+
export type FlyContainerConfigFilesList = Array<FlyFile>;
|
|
476
|
+
export declare const FlyContainerConfigFilesList: S.Schema<FlyContainerConfigFilesList>;
|
|
477
|
+
/** The command to run to check the health of the container (e.g. ["cat", "/tmp/healthy"]) */
|
|
478
|
+
export type FlyExecHealthcheckCommandList = Array<string>;
|
|
479
|
+
export declare const FlyExecHealthcheckCommandList: S.Schema<FlyExecHealthcheckCommandList>;
|
|
480
|
+
export interface FlyExecHealthcheck {
|
|
481
|
+
/** The command to run to check the health of the container (e.g. ["cat", "/tmp/healthy"]) */
|
|
482
|
+
command?: FlyExecHealthcheckCommandList;
|
|
483
|
+
}
|
|
484
|
+
export declare const FlyExecHealthcheck: S.Schema<FlyExecHealthcheck>;
|
|
485
|
+
/** Additional headers to send with the request */
|
|
486
|
+
export type FlyHTTPHealthcheckHeadersList = Array<FlyMachineHTTPHeader>;
|
|
487
|
+
export declare const FlyHTTPHealthcheckHeadersList: S.Schema<FlyHTTPHealthcheckHeadersList>;
|
|
488
|
+
export type FlyContainerHealthcheckScheme = "http" | "https";
|
|
489
|
+
export declare const FlyContainerHealthcheckScheme: any;
|
|
490
|
+
export interface FlyHTTPHealthcheck {
|
|
491
|
+
/** Additional headers to send with the request */
|
|
492
|
+
headers?: FlyHTTPHealthcheckHeadersList;
|
|
493
|
+
/** The HTTP method to use to when making the request */
|
|
494
|
+
method?: string;
|
|
495
|
+
/** The path to send the request to */
|
|
496
|
+
path?: string;
|
|
497
|
+
/** The port to connect to, often the same as internal_port */
|
|
498
|
+
port?: number;
|
|
499
|
+
/** Whether to use http or https */
|
|
500
|
+
scheme?: FlyContainerHealthcheckScheme | (string & {});
|
|
501
|
+
/** If the protocol is https, the hostname to use for TLS certificate validation */
|
|
502
|
+
tls_server_name?: string;
|
|
503
|
+
/** If the protocol is https, whether or not to verify the TLS certificate */
|
|
504
|
+
tls_skip_verify?: boolean;
|
|
505
|
+
}
|
|
506
|
+
export declare const FlyHTTPHealthcheck: S.Schema<FlyHTTPHealthcheck>;
|
|
507
|
+
export type FlyContainerHealthcheckKind = "readiness" | "liveness";
|
|
508
|
+
export declare const FlyContainerHealthcheckKind: any;
|
|
509
|
+
export interface FlyTCPHealthcheck {
|
|
510
|
+
/** The port to connect to, often the same as internal_port */
|
|
511
|
+
port?: number;
|
|
512
|
+
}
|
|
513
|
+
export declare const FlyTCPHealthcheck: S.Schema<FlyTCPHealthcheck>;
|
|
514
|
+
export type FlyUnhealthyPolicy = "stop";
|
|
515
|
+
export declare const FlyUnhealthyPolicy: any;
|
|
516
|
+
export interface FlyContainerHealthcheck {
|
|
517
|
+
exec?: FlyExecHealthcheck;
|
|
518
|
+
/** The number of times the check must fail before considering the container unhealthy. */
|
|
519
|
+
failure_threshold?: number;
|
|
520
|
+
/** The time in seconds to wait after a container starts before checking its health. */
|
|
521
|
+
grace_period?: number;
|
|
522
|
+
http?: FlyHTTPHealthcheck;
|
|
523
|
+
/** The time in seconds between executing the defined check. */
|
|
524
|
+
interval?: number;
|
|
525
|
+
/** Kind of healthcheck (readiness, liveness) */
|
|
526
|
+
kind?: FlyContainerHealthcheckKind | (string & {});
|
|
527
|
+
/** The name of the check. Must be unique within the container. */
|
|
528
|
+
name?: string;
|
|
529
|
+
/** The number of times the check must succeeed before considering the container healthy. */
|
|
530
|
+
success_threshold?: number;
|
|
531
|
+
tcp?: FlyTCPHealthcheck;
|
|
532
|
+
/** The time in seconds to wait for the check to complete. */
|
|
533
|
+
timeout?: number;
|
|
534
|
+
/** Unhealthy policy that determines what action to take if a container is deemed unhealthy */
|
|
535
|
+
unhealthy?: FlyUnhealthyPolicy | (string & {});
|
|
536
|
+
}
|
|
537
|
+
export declare const FlyContainerHealthcheck: S.Schema<FlyContainerHealthcheck>;
|
|
538
|
+
/** Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command. */
|
|
539
|
+
export type FlyContainerConfigHealthchecksList = Array<FlyContainerHealthcheck>;
|
|
540
|
+
export declare const FlyContainerConfigHealthchecksList: S.Schema<FlyContainerConfigHealthchecksList>;
|
|
541
|
+
/** * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash. * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly. * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules. * spot-price - Starts the Machine only when there is capacity and the spot price is less than or equal to the bid price. */
|
|
542
|
+
export type FlyMachineRestartPolicy = "no" | "always" | "on-failure" | "spot-price";
|
|
543
|
+
export declare const FlyMachineRestartPolicy: any;
|
|
544
|
+
/** The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/. */
|
|
545
|
+
export interface FlyMachineRestart {
|
|
546
|
+
/** GPU bid price for spot Machines. */
|
|
547
|
+
gpu_bid_price?: number;
|
|
548
|
+
/** When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop. */
|
|
549
|
+
max_retries?: number;
|
|
550
|
+
/** * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash. * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly. * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules. * spot-price - Starts the Machine only when there is capacity and the spot price is less than or equal to the bid price. */
|
|
551
|
+
policy?: FlyMachineRestartPolicy | (string & {});
|
|
552
|
+
}
|
|
553
|
+
export declare const FlyMachineRestart: S.Schema<FlyMachineRestart>;
|
|
554
|
+
/** A Secret needing to be set in the environment of the Machine. env_var is required */
|
|
555
|
+
export interface FlyMachineSecret {
|
|
556
|
+
/** EnvVar is required and is the name of the environment variable that will be set from the secret. It must be a valid environment variable name. */
|
|
557
|
+
env_var?: string;
|
|
558
|
+
/** Name is optional and when provided is used to reference a secret name where the EnvVar is different from what was set as the secret name. */
|
|
559
|
+
name?: string;
|
|
560
|
+
}
|
|
561
|
+
export declare const FlyMachineSecret: S.Schema<FlyMachineSecret>;
|
|
562
|
+
/** Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used. */
|
|
563
|
+
export type FlyContainerConfigSecretsList = Array<FlyMachineSecret>;
|
|
564
|
+
export declare const FlyContainerConfigSecretsList: S.Schema<FlyContainerConfigSecretsList>;
|
|
565
|
+
export type FlyStopConfigSignal = "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
|
|
566
|
+
export declare const FlyStopConfigSignal: any;
|
|
567
|
+
export interface FlyStopConfig {
|
|
568
|
+
signal?: FlyStopConfigSignal | (string & {});
|
|
569
|
+
timeout?: string;
|
|
570
|
+
}
|
|
571
|
+
export declare const FlyStopConfig: S.Schema<FlyStopConfig>;
|
|
572
|
+
export interface FlyContainerConfig {
|
|
573
|
+
/** CmdOverride is used to override the default command of the image. */
|
|
574
|
+
cmd?: FlyContainerConfigCmdList;
|
|
575
|
+
/** DependsOn can be used to define dependencies between containers. The container will only be started after all of its dependent conditions have been satisfied. */
|
|
576
|
+
depends_on?: FlyContainerConfigDependsOnList;
|
|
577
|
+
/** EntrypointOverride is used to override the default entrypoint of the image. */
|
|
578
|
+
entrypoint?: FlyContainerConfigEntrypointList;
|
|
579
|
+
/** ExtraEnv is used to add additional environment variables to the container. */
|
|
580
|
+
env?: FlyContainerConfigEnvMap;
|
|
581
|
+
/** EnvFrom can be provided to set environment variables from machine fields. */
|
|
582
|
+
env_from?: FlyContainerConfigEnvFromList;
|
|
583
|
+
/** Image Config overrides - these fields are used to override the image configuration. If not provided, the image configuration will be used. ExecOverride is used to override the default command of the image. */
|
|
584
|
+
exec?: FlyContainerConfigExecList;
|
|
585
|
+
/** Files are files that will be written to the container file system. */
|
|
586
|
+
files?: FlyContainerConfigFilesList;
|
|
587
|
+
/** Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command. */
|
|
588
|
+
healthchecks?: FlyContainerConfigHealthchecksList;
|
|
589
|
+
/** Image is the docker image to run. */
|
|
590
|
+
image?: string;
|
|
591
|
+
/** Name is used to identify the container in the machine. */
|
|
592
|
+
name?: string;
|
|
593
|
+
/** Restart is used to define the restart policy for the container. NOTE: spot-price is not supported for containers. */
|
|
594
|
+
restart?: FlyMachineRestart;
|
|
595
|
+
/** Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used. */
|
|
596
|
+
secrets?: FlyContainerConfigSecretsList;
|
|
597
|
+
/** Stop is used to define the signal and timeout for stopping the container. */
|
|
598
|
+
stop?: FlyStopConfig;
|
|
599
|
+
/** UserOverride is used to override the default user of the image. */
|
|
600
|
+
user?: string;
|
|
601
|
+
}
|
|
602
|
+
export declare const FlyContainerConfig: S.Schema<FlyContainerConfig>;
|
|
603
|
+
/** Containers are a list of containers that will run in the machine. Currently restricted to only specific organizations. */
|
|
604
|
+
export type FlyMachineConfigContainersList = Array<FlyContainerConfig>;
|
|
605
|
+
export declare const FlyMachineConfigContainersList: S.Schema<FlyMachineConfigContainersList>;
|
|
606
|
+
export interface FlyDnsForwardRule {
|
|
607
|
+
addr?: string;
|
|
608
|
+
basename?: string;
|
|
609
|
+
}
|
|
610
|
+
export declare const FlyDnsForwardRule: S.Schema<FlyDnsForwardRule>;
|
|
611
|
+
export type FlyDNSConfigDnsForwardRulesList = Array<FlyDnsForwardRule>;
|
|
612
|
+
export declare const FlyDNSConfigDnsForwardRulesList: S.Schema<FlyDNSConfigDnsForwardRulesList>;
|
|
613
|
+
export type FlyDNSConfigNameserversList = Array<string>;
|
|
614
|
+
export declare const FlyDNSConfigNameserversList: S.Schema<FlyDNSConfigNameserversList>;
|
|
615
|
+
export interface FlyDnsOption {
|
|
616
|
+
name?: string;
|
|
617
|
+
value?: string;
|
|
618
|
+
}
|
|
619
|
+
export declare const FlyDnsOption: S.Schema<FlyDnsOption>;
|
|
620
|
+
export type FlyDNSConfigOptionsList = Array<FlyDnsOption>;
|
|
621
|
+
export declare const FlyDNSConfigOptionsList: S.Schema<FlyDNSConfigOptionsList>;
|
|
622
|
+
export type FlyDNSConfigSearchesList = Array<string>;
|
|
623
|
+
export declare const FlyDNSConfigSearchesList: S.Schema<FlyDNSConfigSearchesList>;
|
|
624
|
+
export interface FlyDNSConfig {
|
|
625
|
+
dns_forward_rules?: FlyDNSConfigDnsForwardRulesList;
|
|
626
|
+
hostname?: string;
|
|
627
|
+
hostname_fqdn?: string;
|
|
628
|
+
nameservers?: FlyDNSConfigNameserversList;
|
|
629
|
+
options?: FlyDNSConfigOptionsList;
|
|
630
|
+
searches?: FlyDNSConfigSearchesList;
|
|
631
|
+
skip_registration?: boolean;
|
|
632
|
+
}
|
|
633
|
+
export declare const FlyDNSConfig: S.Schema<FlyDNSConfig>;
|
|
634
|
+
/** An object filled with key/value pairs to be set as environment variables */
|
|
635
|
+
export type FlyMachineConfigEnvMap = {
|
|
636
|
+
[key: string]: string | undefined;
|
|
637
|
+
};
|
|
638
|
+
export declare const FlyMachineConfigEnvMap: S.Schema<FlyMachineConfigEnvMap>;
|
|
639
|
+
export type FlyMachineConfigFilesList = Array<FlyFile>;
|
|
640
|
+
export declare const FlyMachineConfigFilesList: S.Schema<FlyMachineConfigFilesList>;
|
|
641
|
+
export type FlyMachineGuestKernelArgsList = Array<string>;
|
|
642
|
+
export declare const FlyMachineGuestKernelArgsList: S.Schema<FlyMachineGuestKernelArgsList>;
|
|
643
|
+
/** Deprecated: use MachineConfig.Rootfs instead */
|
|
644
|
+
export type FlyMachineGuestPersistRootfs = "never" | "always" | "restart";
|
|
645
|
+
export declare const FlyMachineGuestPersistRootfs: any;
|
|
646
|
+
export interface FlyMachineGuest {
|
|
647
|
+
cpu_kind?: string;
|
|
648
|
+
cpus?: number;
|
|
649
|
+
gpu_kind?: string;
|
|
650
|
+
gpus?: number;
|
|
651
|
+
host_dedication_id?: string;
|
|
652
|
+
kernel_args?: FlyMachineGuestKernelArgsList;
|
|
653
|
+
max_memory_mb?: number;
|
|
654
|
+
memory_mb?: number;
|
|
655
|
+
/** Deprecated: use MachineConfig.Rootfs instead */
|
|
656
|
+
persist_rootfs?: FlyMachineGuestPersistRootfs | (string & {});
|
|
657
|
+
}
|
|
658
|
+
export declare const FlyMachineGuest: S.Schema<FlyMachineGuest>;
|
|
659
|
+
export type FlyMachineInitCmdList = Array<string>;
|
|
660
|
+
export declare const FlyMachineInitCmdList: S.Schema<FlyMachineInitCmdList>;
|
|
661
|
+
export type FlyMachineInitEntrypointList = Array<string>;
|
|
662
|
+
export declare const FlyMachineInitEntrypointList: S.Schema<FlyMachineInitEntrypointList>;
|
|
663
|
+
export type FlyMachineInitExecList = Array<string>;
|
|
664
|
+
export declare const FlyMachineInitExecList: S.Schema<FlyMachineInitExecList>;
|
|
665
|
+
export type FlyMachineInitKernelArgsList = Array<string>;
|
|
666
|
+
export declare const FlyMachineInitKernelArgsList: S.Schema<FlyMachineInitKernelArgsList>;
|
|
667
|
+
export interface FlyMachineInit {
|
|
668
|
+
cmd?: FlyMachineInitCmdList;
|
|
669
|
+
entrypoint?: FlyMachineInitEntrypointList;
|
|
670
|
+
exec?: FlyMachineInitExecList;
|
|
671
|
+
kernel_args?: FlyMachineInitKernelArgsList;
|
|
672
|
+
swap_size_mb?: number;
|
|
673
|
+
tty?: boolean;
|
|
674
|
+
}
|
|
675
|
+
export declare const FlyMachineInit: S.Schema<FlyMachineInit>;
|
|
676
|
+
export type FlyMachineConfigMetadataMap = {
|
|
677
|
+
[key: string]: string | undefined;
|
|
678
|
+
};
|
|
679
|
+
export declare const FlyMachineConfigMetadataMap: S.Schema<FlyMachineConfigMetadataMap>;
|
|
680
|
+
export interface FlyMachineMetrics {
|
|
681
|
+
https?: boolean;
|
|
682
|
+
path?: string;
|
|
683
|
+
port?: number;
|
|
684
|
+
}
|
|
685
|
+
export declare const FlyMachineMetrics: S.Schema<FlyMachineMetrics>;
|
|
686
|
+
export interface FlyMachineMount {
|
|
687
|
+
add_size_gb?: number;
|
|
688
|
+
encrypted?: boolean;
|
|
689
|
+
extend_threshold_percent?: number;
|
|
690
|
+
name?: string;
|
|
691
|
+
path?: string;
|
|
692
|
+
size_gb?: number;
|
|
693
|
+
size_gb_limit?: number;
|
|
694
|
+
volume?: string;
|
|
695
|
+
}
|
|
696
|
+
export declare const FlyMachineMount: S.Schema<FlyMachineMount>;
|
|
697
|
+
export type FlyMachineConfigMountsList = Array<FlyMachineMount>;
|
|
698
|
+
export declare const FlyMachineConfigMountsList: S.Schema<FlyMachineConfigMountsList>;
|
|
699
|
+
export type FlyMachineProcessCmdList = Array<string>;
|
|
700
|
+
export declare const FlyMachineProcessCmdList: S.Schema<FlyMachineProcessCmdList>;
|
|
701
|
+
export type FlyMachineProcessEntrypointList = Array<string>;
|
|
702
|
+
export declare const FlyMachineProcessEntrypointList: S.Schema<FlyMachineProcessEntrypointList>;
|
|
703
|
+
export type FlyMachineProcessEnvMap = {
|
|
704
|
+
[key: string]: string | undefined;
|
|
705
|
+
};
|
|
706
|
+
export declare const FlyMachineProcessEnvMap: S.Schema<FlyMachineProcessEnvMap>;
|
|
707
|
+
/** EnvFrom can be provided to set environment variables from machine fields. */
|
|
708
|
+
export type FlyMachineProcessEnvFromList = Array<FlyEnvFrom>;
|
|
709
|
+
export declare const FlyMachineProcessEnvFromList: S.Schema<FlyMachineProcessEnvFromList>;
|
|
710
|
+
export type FlyMachineProcessExecList = Array<string>;
|
|
711
|
+
export declare const FlyMachineProcessExecList: S.Schema<FlyMachineProcessExecList>;
|
|
712
|
+
/** Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used. */
|
|
713
|
+
export type FlyMachineProcessSecretsList = Array<FlyMachineSecret>;
|
|
714
|
+
export declare const FlyMachineProcessSecretsList: S.Schema<FlyMachineProcessSecretsList>;
|
|
715
|
+
export interface FlyMachineProcess {
|
|
716
|
+
cmd?: FlyMachineProcessCmdList;
|
|
717
|
+
entrypoint?: FlyMachineProcessEntrypointList;
|
|
718
|
+
env?: FlyMachineProcessEnvMap;
|
|
719
|
+
/** EnvFrom can be provided to set environment variables from machine fields. */
|
|
720
|
+
env_from?: FlyMachineProcessEnvFromList;
|
|
721
|
+
exec?: FlyMachineProcessExecList;
|
|
722
|
+
/** IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to and only use the secrets provided at the process level. The default/legacy behavior is to use the secrets provided at the App level. */
|
|
723
|
+
ignore_app_secrets?: boolean;
|
|
724
|
+
/** Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used. */
|
|
725
|
+
secrets?: FlyMachineProcessSecretsList;
|
|
726
|
+
user?: string;
|
|
727
|
+
}
|
|
728
|
+
export declare const FlyMachineProcess: S.Schema<FlyMachineProcess>;
|
|
729
|
+
export type FlyMachineConfigProcessesList = Array<FlyMachineProcess>;
|
|
730
|
+
export declare const FlyMachineConfigProcessesList: S.Schema<FlyMachineConfigProcessesList>;
|
|
731
|
+
export type FlyMachineRootfsPersist = "never" | "always" | "restart";
|
|
732
|
+
export declare const FlyMachineRootfsPersist: any;
|
|
733
|
+
export interface FlyMachineRootfs {
|
|
734
|
+
persist?: FlyMachineRootfsPersist | (string & {});
|
|
735
|
+
size_gb?: number;
|
|
736
|
+
}
|
|
737
|
+
export declare const FlyMachineRootfs: S.Schema<FlyMachineRootfs>;
|
|
738
|
+
/** Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for "off" and "stop" in responses. * "off" or false - Do not autostop the Machine. * "stop" or true - Automatically stop the Machine. * "suspend" - Automatically suspend the Machine, falling back to a full stop if this is not possible. */
|
|
739
|
+
export type FlyMachineServiceAutostop = "off" | "stop" | "suspend";
|
|
740
|
+
export declare const FlyMachineServiceAutostop: any;
|
|
741
|
+
export type FlyMachineServiceCheckHeadersList = Array<FlyMachineHTTPHeader>;
|
|
742
|
+
export declare const FlyMachineServiceCheckHeadersList: S.Schema<FlyMachineServiceCheckHeadersList>;
|
|
743
|
+
export interface FlyMachineServiceCheck {
|
|
744
|
+
/** The time to wait after a VM starts before checking its health */
|
|
745
|
+
grace_period?: string;
|
|
746
|
+
headers?: FlyMachineServiceCheckHeadersList;
|
|
747
|
+
/** The time between connectivity checks */
|
|
748
|
+
interval?: string;
|
|
749
|
+
/** For http checks, the HTTP method to use to when making the request */
|
|
750
|
+
method?: string;
|
|
751
|
+
/** For http checks, the path to send the request to */
|
|
752
|
+
path?: string;
|
|
753
|
+
/** The port to connect to, often the same as internal_port */
|
|
754
|
+
port?: number;
|
|
755
|
+
/** For http checks, whether to use http or https */
|
|
756
|
+
protocol?: string;
|
|
757
|
+
/** The maximum time a connection can take before being reported as failing its health check */
|
|
758
|
+
timeout?: string;
|
|
759
|
+
/** If the protocol is https, the hostname to use for TLS certificate validation */
|
|
760
|
+
tls_server_name?: string;
|
|
761
|
+
/** For http checks with https protocol, whether or not to verify the TLS certificate */
|
|
762
|
+
tls_skip_verify?: boolean;
|
|
763
|
+
/** tcp or http */
|
|
764
|
+
type?: string;
|
|
765
|
+
}
|
|
766
|
+
export declare const FlyMachineServiceCheck: S.Schema<FlyMachineServiceCheck>;
|
|
767
|
+
/** An optional list of service checks */
|
|
768
|
+
export type FlyMachineServiceChecksList = Array<FlyMachineServiceCheck>;
|
|
769
|
+
export declare const FlyMachineServiceChecksList: S.Schema<FlyMachineServiceChecksList>;
|
|
770
|
+
export interface FlyMachineServiceConcurrency {
|
|
771
|
+
hard_limit?: number;
|
|
772
|
+
soft_limit?: number;
|
|
773
|
+
type?: string;
|
|
774
|
+
}
|
|
775
|
+
export declare const FlyMachineServiceConcurrency: S.Schema<FlyMachineServiceConcurrency>;
|
|
776
|
+
export type FlyMachinePortHandlersList = Array<string>;
|
|
777
|
+
export declare const FlyMachinePortHandlersList: S.Schema<FlyMachinePortHandlersList>;
|
|
778
|
+
/** Currently either "cookie" or "header" */
|
|
779
|
+
export type FlyReplayCacheType = "cookie" | "header";
|
|
780
|
+
export declare const FlyReplayCacheType: any;
|
|
781
|
+
export interface FlyReplayCache {
|
|
782
|
+
allow_bypass?: boolean;
|
|
783
|
+
/** Name of the cookie or header to key the cache on */
|
|
784
|
+
name?: string;
|
|
785
|
+
path_prefix?: string;
|
|
786
|
+
ttl_seconds?: number;
|
|
787
|
+
/** Currently either "cookie" or "header" */
|
|
788
|
+
type?: FlyReplayCacheType | (string & {});
|
|
789
|
+
}
|
|
790
|
+
export declare const FlyReplayCache: S.Schema<FlyReplayCache>;
|
|
791
|
+
export type FlyHTTPOptionsReplayCacheList = Array<FlyReplayCache>;
|
|
792
|
+
export declare const FlyHTTPOptionsReplayCacheList: S.Schema<FlyHTTPOptionsReplayCacheList>;
|
|
793
|
+
export type FlyHTTPResponseOptionsHeadersMap = {
|
|
794
|
+
[key: string]: unknown | undefined;
|
|
795
|
+
};
|
|
796
|
+
export declare const FlyHTTPResponseOptionsHeadersMap: S.Schema<FlyHTTPResponseOptionsHeadersMap>;
|
|
797
|
+
export interface FlyHTTPResponseOptions {
|
|
798
|
+
headers?: FlyHTTPResponseOptionsHeadersMap;
|
|
799
|
+
pristine?: boolean;
|
|
800
|
+
}
|
|
801
|
+
export declare const FlyHTTPResponseOptions: S.Schema<FlyHTTPResponseOptions>;
|
|
802
|
+
export interface FlyHTTPOptions {
|
|
803
|
+
compress?: boolean;
|
|
804
|
+
h2_backend?: boolean;
|
|
805
|
+
headers_read_timeout?: number;
|
|
806
|
+
idle_timeout?: number;
|
|
807
|
+
replay_cache?: FlyHTTPOptionsReplayCacheList;
|
|
808
|
+
response?: FlyHTTPResponseOptions;
|
|
809
|
+
}
|
|
810
|
+
export declare const FlyHTTPOptions: S.Schema<FlyHTTPOptions>;
|
|
811
|
+
export interface FlyProxyProtoOptions {
|
|
812
|
+
version?: string;
|
|
813
|
+
}
|
|
814
|
+
export declare const FlyProxyProtoOptions: S.Schema<FlyProxyProtoOptions>;
|
|
815
|
+
export type FlyTLSOptionsAlpnList = Array<string>;
|
|
816
|
+
export declare const FlyTLSOptionsAlpnList: S.Schema<FlyTLSOptionsAlpnList>;
|
|
817
|
+
export type FlyTLSOptionsVersionsList = Array<string>;
|
|
818
|
+
export declare const FlyTLSOptionsVersionsList: S.Schema<FlyTLSOptionsVersionsList>;
|
|
819
|
+
export interface FlyTLSOptions {
|
|
820
|
+
alpn?: FlyTLSOptionsAlpnList;
|
|
821
|
+
default_self_signed?: boolean;
|
|
822
|
+
versions?: FlyTLSOptionsVersionsList;
|
|
823
|
+
}
|
|
824
|
+
export declare const FlyTLSOptions: S.Schema<FlyTLSOptions>;
|
|
825
|
+
export interface FlyMachinePort {
|
|
826
|
+
end_port?: number;
|
|
827
|
+
force_https?: boolean;
|
|
828
|
+
handlers?: FlyMachinePortHandlersList;
|
|
829
|
+
http_options?: FlyHTTPOptions;
|
|
830
|
+
port?: number;
|
|
831
|
+
proxy_proto_options?: FlyProxyProtoOptions;
|
|
832
|
+
start_port?: number;
|
|
833
|
+
tls_options?: FlyTLSOptions;
|
|
834
|
+
}
|
|
835
|
+
export declare const FlyMachinePort: S.Schema<FlyMachinePort>;
|
|
836
|
+
export type FlyMachineServicePortsList = Array<FlyMachinePort>;
|
|
837
|
+
export declare const FlyMachineServicePortsList: S.Schema<FlyMachineServicePortsList>;
|
|
838
|
+
export interface FlyMachineService {
|
|
839
|
+
autostart?: boolean;
|
|
840
|
+
/** Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for "off" and "stop" in responses. * "off" or false - Do not autostop the Machine. * "stop" or true - Automatically stop the Machine. * "suspend" - Automatically suspend the Machine, falling back to a full stop if this is not possible. */
|
|
841
|
+
autostop?: FlyMachineServiceAutostop | (string & {});
|
|
842
|
+
/** An optional list of service checks */
|
|
843
|
+
checks?: FlyMachineServiceChecksList;
|
|
844
|
+
concurrency?: FlyMachineServiceConcurrency;
|
|
845
|
+
force_instance_description?: string;
|
|
846
|
+
force_instance_key?: string;
|
|
847
|
+
internal_port?: number;
|
|
848
|
+
min_machines_running?: number;
|
|
849
|
+
ports?: FlyMachineServicePortsList;
|
|
850
|
+
protocol?: string;
|
|
851
|
+
}
|
|
852
|
+
export declare const FlyMachineService: S.Schema<FlyMachineService>;
|
|
853
|
+
export type FlyMachineConfigServicesList = Array<FlyMachineService>;
|
|
854
|
+
export declare const FlyMachineConfigServicesList: S.Schema<FlyMachineConfigServicesList>;
|
|
855
|
+
export interface FlyMachineSpot {
|
|
856
|
+
/** MaxPriceFraction is the maximum fraction of the full Machine price you will pay for this Machine. Range: (0, 1.0] */
|
|
857
|
+
max_price_fraction?: number;
|
|
858
|
+
}
|
|
859
|
+
export declare const FlyMachineSpot: S.Schema<FlyMachineSpot>;
|
|
860
|
+
/** Standbys enable a machine to be a standby for another. In the event of a hardware failure, the standby machine will be started. */
|
|
861
|
+
export type FlyMachineConfigStandbysList = Array<string>;
|
|
862
|
+
export declare const FlyMachineConfigStandbysList: S.Schema<FlyMachineConfigStandbysList>;
|
|
863
|
+
export interface FlyStatic {
|
|
864
|
+
guest_path: string;
|
|
865
|
+
index_document?: string;
|
|
866
|
+
tigris_bucket?: string;
|
|
867
|
+
url_prefix: string;
|
|
868
|
+
}
|
|
869
|
+
export declare const FlyStatic: S.Schema<FlyStatic>;
|
|
870
|
+
export type FlyMachineConfigStaticsList = Array<FlyStatic>;
|
|
871
|
+
export declare const FlyMachineConfigStaticsList: S.Schema<FlyMachineConfigStaticsList>;
|
|
872
|
+
export interface FlyMachineConfig {
|
|
873
|
+
/** Optional boolean telling the Machine to destroy itself once it’s complete (default false) */
|
|
874
|
+
auto_destroy?: boolean;
|
|
875
|
+
cache_drive?: FlyMachineCacheDrive;
|
|
876
|
+
/** An optional object that defines one or more named top-level checks. The key for each check is the check name. */
|
|
877
|
+
checks?: FlyMachineConfigChecksMap;
|
|
878
|
+
/** Containers are a list of containers that will run in the machine. Currently restricted to only specific organizations. */
|
|
879
|
+
containers?: FlyMachineConfigContainersList;
|
|
880
|
+
/** Deprecated: use Service.Autostart instead */
|
|
881
|
+
disable_machine_autostart?: boolean;
|
|
882
|
+
dns?: FlyDNSConfig;
|
|
883
|
+
/** An object filled with key/value pairs to be set as environment variables */
|
|
884
|
+
env?: FlyMachineConfigEnvMap;
|
|
885
|
+
files?: FlyMachineConfigFilesList;
|
|
886
|
+
guest?: FlyMachineGuest;
|
|
887
|
+
/** The docker image to run */
|
|
888
|
+
image?: string;
|
|
889
|
+
init?: FlyMachineInit;
|
|
890
|
+
metadata?: FlyMachineConfigMetadataMap;
|
|
891
|
+
metrics?: FlyMachineMetrics;
|
|
892
|
+
mounts?: FlyMachineConfigMountsList;
|
|
893
|
+
processes?: FlyMachineConfigProcessesList;
|
|
894
|
+
restart?: FlyMachineRestart;
|
|
895
|
+
rootfs?: FlyMachineRootfs;
|
|
896
|
+
schedule?: string;
|
|
897
|
+
services?: FlyMachineConfigServicesList;
|
|
898
|
+
/** Deprecated: use Guest instead */
|
|
899
|
+
size?: string;
|
|
900
|
+
spot?: FlyMachineSpot;
|
|
901
|
+
/** Standbys enable a machine to be a standby for another. In the event of a hardware failure, the standby machine will be started. */
|
|
902
|
+
standbys?: FlyMachineConfigStandbysList;
|
|
903
|
+
statics?: FlyMachineConfigStaticsList;
|
|
904
|
+
stop_config?: FlyStopConfig;
|
|
905
|
+
}
|
|
906
|
+
export declare const FlyMachineConfig: S.Schema<FlyMachineConfig>;
|
|
907
|
+
export interface MachinesCreateRequest {
|
|
908
|
+
/** Fly App Name */
|
|
909
|
+
app_name: string;
|
|
910
|
+
/** An object defining the Machine configuration */
|
|
911
|
+
config?: FlyMachineConfig;
|
|
912
|
+
lease_ttl?: number;
|
|
913
|
+
min_secrets_version?: number;
|
|
914
|
+
/** Unique name for this Machine. If omitted, one is generated for you */
|
|
915
|
+
name?: string;
|
|
916
|
+
/** The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you). */
|
|
917
|
+
region?: string;
|
|
918
|
+
skip_launch?: boolean;
|
|
919
|
+
skip_secrets?: boolean;
|
|
920
|
+
skip_service_registration?: boolean;
|
|
921
|
+
}
|
|
922
|
+
export declare const MachinesCreateRequest: S.Schema<MachinesCreateRequest>;
|
|
923
|
+
export interface CheckStatus {
|
|
924
|
+
name?: string;
|
|
925
|
+
output?: string;
|
|
926
|
+
status?: string;
|
|
927
|
+
updated_at?: string;
|
|
928
|
+
}
|
|
929
|
+
export declare const CheckStatus: S.Schema<CheckStatus>;
|
|
930
|
+
export type MachineChecksList = Array<CheckStatus>;
|
|
931
|
+
export declare const MachineChecksList: S.Schema<MachineChecksList>;
|
|
932
|
+
export interface MachineEvent {
|
|
933
|
+
id?: string;
|
|
934
|
+
request?: unknown;
|
|
935
|
+
source?: string;
|
|
936
|
+
status?: string;
|
|
937
|
+
timestamp?: number;
|
|
938
|
+
type?: string;
|
|
939
|
+
}
|
|
940
|
+
export declare const MachineEvent: S.Schema<MachineEvent>;
|
|
941
|
+
export type MachineEventsList = Array<MachineEvent>;
|
|
942
|
+
export declare const MachineEventsList: S.Schema<MachineEventsList>;
|
|
943
|
+
export type MachineHostStatus = "ok" | "unknown" | "unreachable";
|
|
944
|
+
export declare const MachineHostStatus: any;
|
|
945
|
+
export type ImageRefLabelsMap = {
|
|
946
|
+
[key: string]: string | undefined;
|
|
947
|
+
};
|
|
948
|
+
export declare const ImageRefLabelsMap: S.Schema<ImageRefLabelsMap>;
|
|
949
|
+
export interface ImageRef {
|
|
950
|
+
digest?: string;
|
|
951
|
+
labels?: ImageRefLabelsMap;
|
|
952
|
+
registry?: string;
|
|
953
|
+
repository?: string;
|
|
954
|
+
tag?: string;
|
|
955
|
+
}
|
|
956
|
+
export declare const ImageRef: S.Schema<ImageRef>;
|
|
957
|
+
export interface Machine {
|
|
958
|
+
checks?: MachineChecksList;
|
|
959
|
+
config?: FlyMachineConfig;
|
|
960
|
+
created_at?: string;
|
|
961
|
+
events?: MachineEventsList;
|
|
962
|
+
host_status?: MachineHostStatus;
|
|
963
|
+
id?: string;
|
|
964
|
+
image_ref?: ImageRef;
|
|
965
|
+
incomplete_config?: FlyMachineConfig;
|
|
966
|
+
/** InstanceID is unique for each version of the machine */
|
|
967
|
+
instance_id?: string;
|
|
968
|
+
name?: string;
|
|
969
|
+
/** Nonce is only every returned on machine creation if a lease_duration was provided. */
|
|
970
|
+
nonce?: string;
|
|
971
|
+
/** PrivateIP is the internal 6PN address of the machine. */
|
|
972
|
+
private_ip?: string;
|
|
973
|
+
region?: string;
|
|
974
|
+
state?: string;
|
|
975
|
+
updated_at?: string;
|
|
976
|
+
}
|
|
977
|
+
export declare const Machine: S.Schema<Machine>;
|
|
978
|
+
export interface MachinesCreateLeaseRequest {
|
|
979
|
+
/** Fly App Name */
|
|
980
|
+
app_name: string;
|
|
981
|
+
/** Machine ID */
|
|
982
|
+
machine_id: string;
|
|
983
|
+
description?: string;
|
|
984
|
+
/** seconds lease will be valid */
|
|
985
|
+
ttl?: number;
|
|
986
|
+
}
|
|
987
|
+
export declare const MachinesCreateLeaseRequest: S.Schema<MachinesCreateLeaseRequest>;
|
|
988
|
+
export interface Lease {
|
|
989
|
+
/** Description or reason for the Lease. */
|
|
990
|
+
description?: string;
|
|
991
|
+
/** ExpiresAt is the unix timestamp in UTC to denote when the Lease will no longer be valid. */
|
|
992
|
+
expires_at?: number;
|
|
993
|
+
/** Nonce is the unique ID autogenerated and associated with the Lease. */
|
|
994
|
+
nonce?: string;
|
|
995
|
+
/** Owner is the user identifier which acquired the Lease. */
|
|
996
|
+
owner?: string;
|
|
997
|
+
/** Machine version */
|
|
998
|
+
version?: string;
|
|
999
|
+
}
|
|
1000
|
+
export declare const Lease: S.Schema<Lease>;
|
|
1001
|
+
export interface MachinesDeleteRequest {
|
|
1002
|
+
/** Fly App Name */
|
|
1003
|
+
app_name: string;
|
|
1004
|
+
/** Machine ID */
|
|
1005
|
+
machine_id: string;
|
|
1006
|
+
/** Force kill the machine if it's running */
|
|
1007
|
+
force?: boolean;
|
|
1008
|
+
}
|
|
1009
|
+
export declare const MachinesDeleteRequest: S.Schema<MachinesDeleteRequest>;
|
|
1010
|
+
export interface MachinesDeleteResponse {
|
|
1011
|
+
}
|
|
1012
|
+
export declare const MachinesDeleteResponse: S.Schema<MachinesDeleteResponse>;
|
|
1013
|
+
export interface MachinesDeleteMetadataRequest {
|
|
1014
|
+
/** Fly App Name */
|
|
1015
|
+
app_name: string;
|
|
1016
|
+
/** Machine ID */
|
|
1017
|
+
machine_id: string;
|
|
1018
|
+
/** Metadata Key */
|
|
1019
|
+
key: string;
|
|
1020
|
+
}
|
|
1021
|
+
export declare const MachinesDeleteMetadataRequest: S.Schema<MachinesDeleteMetadataRequest>;
|
|
1022
|
+
export interface MachinesDeleteMetadataResponse {
|
|
1023
|
+
}
|
|
1024
|
+
export declare const MachinesDeleteMetadataResponse: S.Schema<MachinesDeleteMetadataResponse>;
|
|
1025
|
+
export type MachinesExecRequestCommandList = Array<string>;
|
|
1026
|
+
export declare const MachinesExecRequestCommandList: S.Schema<MachinesExecRequestCommandList>;
|
|
1027
|
+
export interface MachinesExecRequest {
|
|
1028
|
+
/** Fly App Name */
|
|
1029
|
+
app_name: string;
|
|
1030
|
+
/** Machine ID */
|
|
1031
|
+
machine_id: string;
|
|
1032
|
+
/** Deprecated: use Command instead */
|
|
1033
|
+
cmd?: string;
|
|
1034
|
+
command?: MachinesExecRequestCommandList;
|
|
1035
|
+
container?: string;
|
|
1036
|
+
stdin?: string;
|
|
1037
|
+
timeout?: number;
|
|
1038
|
+
}
|
|
1039
|
+
export declare const MachinesExecRequest: S.Schema<MachinesExecRequest>;
|
|
1040
|
+
export interface Flydv1ExecResponse {
|
|
1041
|
+
exit_code?: number;
|
|
1042
|
+
exit_signal?: number;
|
|
1043
|
+
stderr?: string;
|
|
1044
|
+
stdout?: string;
|
|
1045
|
+
}
|
|
1046
|
+
export declare const Flydv1ExecResponse: S.Schema<Flydv1ExecResponse>;
|
|
1047
|
+
export interface MachinesGetMemoryRequest {
|
|
1048
|
+
/** Fly App Name */
|
|
1049
|
+
app_name: string;
|
|
1050
|
+
/** Machine ID */
|
|
1051
|
+
machine_id: string;
|
|
1052
|
+
}
|
|
1053
|
+
export declare const MachinesGetMemoryRequest: S.Schema<MachinesGetMemoryRequest>;
|
|
1054
|
+
export interface MainMemoryResponse {
|
|
1055
|
+
available_mb?: number;
|
|
1056
|
+
limit_mb?: number;
|
|
1057
|
+
}
|
|
1058
|
+
export declare const MainMemoryResponse: S.Schema<MainMemoryResponse>;
|
|
1059
|
+
export interface MachinesGetMetadataKeyRequest {
|
|
1060
|
+
/** Fly App Name */
|
|
1061
|
+
app_name: string;
|
|
1062
|
+
/** Machine ID */
|
|
1063
|
+
machine_id: string;
|
|
1064
|
+
/** Metadata Key */
|
|
1065
|
+
key: string;
|
|
1066
|
+
}
|
|
1067
|
+
export declare const MachinesGetMetadataKeyRequest: S.Schema<MachinesGetMetadataKeyRequest>;
|
|
1068
|
+
export interface MetadataValueResponse {
|
|
1069
|
+
value?: string;
|
|
1070
|
+
}
|
|
1071
|
+
export declare const MetadataValueResponse: S.Schema<MetadataValueResponse>;
|
|
1072
|
+
export interface MachinesListRequest {
|
|
1073
|
+
/** Fly App Name */
|
|
1074
|
+
app_name: string;
|
|
1075
|
+
/** Include deleted machines */
|
|
1076
|
+
include_deleted?: boolean;
|
|
1077
|
+
/** Region filter */
|
|
1078
|
+
region?: string;
|
|
1079
|
+
/** comma separated list of states to filter (created, started, stopped, suspended) */
|
|
1080
|
+
state?: string;
|
|
1081
|
+
/** Only return summary info about machines (omit config, checks, events, host_status, nonce, etc.) */
|
|
1082
|
+
summary?: boolean;
|
|
1083
|
+
}
|
|
1084
|
+
export declare const MachinesListRequest: S.Schema<MachinesListRequest>;
|
|
1085
|
+
export type MachinesListResponseBodyList = Array<Machine>;
|
|
1086
|
+
export declare const MachinesListResponseBodyList: S.Schema<MachinesListResponseBodyList>;
|
|
1087
|
+
export type MachinesListResponse = MachinesListResponseBodyList;
|
|
1088
|
+
export declare const MachinesListResponse: S.Schema<MachinesListResponse>;
|
|
1089
|
+
export interface MachinesListEventsRequest {
|
|
1090
|
+
/** Fly App Name */
|
|
1091
|
+
app_name: string;
|
|
1092
|
+
/** Machine ID */
|
|
1093
|
+
machine_id: string;
|
|
1094
|
+
/** The number of events to fetch (max of 50). If omitted, this is set to 20 by default. */
|
|
1095
|
+
limit?: number;
|
|
1096
|
+
}
|
|
1097
|
+
export declare const MachinesListEventsRequest: S.Schema<MachinesListEventsRequest>;
|
|
1098
|
+
export type MachinesListEventsResponseBodyList = Array<MachineEvent>;
|
|
1099
|
+
export declare const MachinesListEventsResponseBodyList: S.Schema<MachinesListEventsResponseBodyList>;
|
|
1100
|
+
export type MachinesListEventsResponse = MachinesListEventsResponseBodyList;
|
|
1101
|
+
export declare const MachinesListEventsResponse: S.Schema<MachinesListEventsResponse>;
|
|
1102
|
+
export interface MachinesListProcessesRequest {
|
|
1103
|
+
/** Fly App Name */
|
|
1104
|
+
app_name: string;
|
|
1105
|
+
/** Machine ID */
|
|
1106
|
+
machine_id: string;
|
|
1107
|
+
/** Sort by */
|
|
1108
|
+
sort_by?: string;
|
|
1109
|
+
/** Order */
|
|
1110
|
+
order?: string;
|
|
1111
|
+
}
|
|
1112
|
+
export declare const MachinesListProcessesRequest: S.Schema<MachinesListProcessesRequest>;
|
|
1113
|
+
export interface ListenSocket {
|
|
1114
|
+
address?: string;
|
|
1115
|
+
proto?: string;
|
|
1116
|
+
}
|
|
1117
|
+
export declare const ListenSocket: S.Schema<ListenSocket>;
|
|
1118
|
+
export type ProcessStatListenSocketsList = Array<ListenSocket>;
|
|
1119
|
+
export declare const ProcessStatListenSocketsList: S.Schema<ProcessStatListenSocketsList>;
|
|
1120
|
+
export interface ProcessStat {
|
|
1121
|
+
command?: string;
|
|
1122
|
+
cpu?: number;
|
|
1123
|
+
directory?: string;
|
|
1124
|
+
listen_sockets?: ProcessStatListenSocketsList;
|
|
1125
|
+
pid?: number;
|
|
1126
|
+
rss?: number;
|
|
1127
|
+
rtime?: number;
|
|
1128
|
+
stime?: number;
|
|
1129
|
+
}
|
|
1130
|
+
export declare const ProcessStat: S.Schema<ProcessStat>;
|
|
1131
|
+
export type MachinesListProcessesResponseBodyList = Array<ProcessStat>;
|
|
1132
|
+
export declare const MachinesListProcessesResponseBodyList: S.Schema<MachinesListProcessesResponseBodyList>;
|
|
1133
|
+
export type MachinesListProcessesResponse = MachinesListProcessesResponseBodyList;
|
|
1134
|
+
export declare const MachinesListProcessesResponse: S.Schema<MachinesListProcessesResponse>;
|
|
1135
|
+
export interface MachinesListVersionsRequest {
|
|
1136
|
+
/** Fly App Name */
|
|
1137
|
+
app_name: string;
|
|
1138
|
+
/** Machine ID */
|
|
1139
|
+
machine_id: string;
|
|
1140
|
+
}
|
|
1141
|
+
export declare const MachinesListVersionsRequest: S.Schema<MachinesListVersionsRequest>;
|
|
1142
|
+
export interface MachineVersion {
|
|
1143
|
+
user_config?: FlyMachineConfig;
|
|
1144
|
+
version?: string;
|
|
1145
|
+
}
|
|
1146
|
+
export declare const MachineVersion: S.Schema<MachineVersion>;
|
|
1147
|
+
export type MachinesListVersionsResponseBodyList = Array<MachineVersion>;
|
|
1148
|
+
export declare const MachinesListVersionsResponseBodyList: S.Schema<MachinesListVersionsResponseBodyList>;
|
|
1149
|
+
export type MachinesListVersionsResponse = MachinesListVersionsResponseBodyList;
|
|
1150
|
+
export declare const MachinesListVersionsResponse: S.Schema<MachinesListVersionsResponse>;
|
|
1151
|
+
export interface MachinesOrgListRequest {
|
|
1152
|
+
/** Fly Organization Slug */
|
|
1153
|
+
org_slug: string;
|
|
1154
|
+
/** Include deleted machines */
|
|
1155
|
+
include_deleted?: boolean;
|
|
1156
|
+
/** Region filter */
|
|
1157
|
+
region?: string;
|
|
1158
|
+
/** Comma separated list of states to filter (created, started, stopped, suspended) */
|
|
1159
|
+
state?: string;
|
|
1160
|
+
/** Omit config from responses */
|
|
1161
|
+
summary?: boolean;
|
|
1162
|
+
/** Only return machines updated after this time. Timestamp must be in the RFC 3339 format */
|
|
1163
|
+
updated_after?: string;
|
|
1164
|
+
/** 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. */
|
|
1165
|
+
cursor?: string;
|
|
1166
|
+
/** 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 */
|
|
1167
|
+
limit?: number;
|
|
1168
|
+
}
|
|
1169
|
+
export declare const MachinesOrgListRequest: S.Schema<MachinesOrgListRequest>;
|
|
1170
|
+
export type OrgMachinesResponseErrorRegionsList = Array<string>;
|
|
1171
|
+
export declare const OrgMachinesResponseErrorRegionsList: S.Schema<OrgMachinesResponseErrorRegionsList>;
|
|
1172
|
+
export type MachineOverviewConfigMetadataMap = {
|
|
1173
|
+
[key: string]: string | undefined;
|
|
1174
|
+
};
|
|
1175
|
+
export declare const MachineOverviewConfigMetadataMap: S.Schema<MachineOverviewConfigMetadataMap>;
|
|
1176
|
+
export interface MachineOverviewConfig {
|
|
1177
|
+
guest?: FlyMachineGuest;
|
|
1178
|
+
image?: string;
|
|
1179
|
+
metadata?: MachineOverviewConfigMetadataMap;
|
|
1180
|
+
}
|
|
1181
|
+
export declare const MachineOverviewConfig: S.Schema<MachineOverviewConfig>;
|
|
1182
|
+
export interface OrgMachine {
|
|
1183
|
+
app_name?: string;
|
|
1184
|
+
config?: MachineOverviewConfig;
|
|
1185
|
+
created_at?: string;
|
|
1186
|
+
id?: string;
|
|
1187
|
+
name?: string;
|
|
1188
|
+
private_ip?: string;
|
|
1189
|
+
region?: string;
|
|
1190
|
+
state?: string;
|
|
1191
|
+
updated_at?: string;
|
|
1192
|
+
version?: string;
|
|
1193
|
+
}
|
|
1194
|
+
export declare const OrgMachine: S.Schema<OrgMachine>;
|
|
1195
|
+
export type OrgMachinesResponseMachinesList = Array<OrgMachine>;
|
|
1196
|
+
export declare const OrgMachinesResponseMachinesList: S.Schema<OrgMachinesResponseMachinesList>;
|
|
1197
|
+
export interface OrgMachinesResponse {
|
|
1198
|
+
error_regions?: OrgMachinesResponseErrorRegionsList;
|
|
1199
|
+
last_machine_id?: string;
|
|
1200
|
+
last_updated_at?: string;
|
|
1201
|
+
machines?: OrgMachinesResponseMachinesList;
|
|
1202
|
+
next_cursor?: string;
|
|
1203
|
+
}
|
|
1204
|
+
export declare const OrgMachinesResponse: S.Schema<OrgMachinesResponse>;
|
|
1205
|
+
export interface MachinesReclaimMemoryRequest {
|
|
1206
|
+
/** Fly App Name */
|
|
1207
|
+
app_name: string;
|
|
1208
|
+
/** Machine ID */
|
|
1209
|
+
machine_id: string;
|
|
1210
|
+
amount_mb?: number;
|
|
1211
|
+
}
|
|
1212
|
+
export declare const MachinesReclaimMemoryRequest: S.Schema<MachinesReclaimMemoryRequest>;
|
|
1213
|
+
export interface MainReclaimMemoryResponse {
|
|
1214
|
+
actual_mb?: number;
|
|
1215
|
+
}
|
|
1216
|
+
export declare const MainReclaimMemoryResponse: S.Schema<MainReclaimMemoryResponse>;
|
|
1217
|
+
export interface MachinesReleaseLeaseRequest {
|
|
1218
|
+
/** Fly App Name */
|
|
1219
|
+
app_name: string;
|
|
1220
|
+
/** Machine ID */
|
|
1221
|
+
machine_id: string;
|
|
1222
|
+
}
|
|
1223
|
+
export declare const MachinesReleaseLeaseRequest: S.Schema<MachinesReleaseLeaseRequest>;
|
|
1224
|
+
export interface MachinesReleaseLeaseResponse {
|
|
1225
|
+
}
|
|
1226
|
+
export declare const MachinesReleaseLeaseResponse: S.Schema<MachinesReleaseLeaseResponse>;
|
|
1227
|
+
export type MachinesRestartRequestSignal = "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
|
|
1228
|
+
export declare const MachinesRestartRequestSignal: any;
|
|
1229
|
+
export interface MachinesRestartRequest {
|
|
1230
|
+
/** Fly App Name */
|
|
1231
|
+
app_name: string;
|
|
1232
|
+
/** Machine ID */
|
|
1233
|
+
machine_id: string;
|
|
1234
|
+
/** Restart timeout as a Go duration string or number of seconds */
|
|
1235
|
+
timeout?: string;
|
|
1236
|
+
/** Unix signal name */
|
|
1237
|
+
signal?: MachinesRestartRequestSignal | (string & {});
|
|
1238
|
+
}
|
|
1239
|
+
export declare const MachinesRestartRequest: S.Schema<MachinesRestartRequest>;
|
|
1240
|
+
export interface MachinesRestartResponse {
|
|
1241
|
+
}
|
|
1242
|
+
export declare const MachinesRestartResponse: S.Schema<MachinesRestartResponse>;
|
|
1243
|
+
export interface MachinesSetMemoryLimitRequest {
|
|
1244
|
+
/** Fly App Name */
|
|
1245
|
+
app_name: string;
|
|
1246
|
+
/** Machine ID */
|
|
1247
|
+
machine_id: string;
|
|
1248
|
+
limit_mb?: number;
|
|
1249
|
+
}
|
|
1250
|
+
export declare const MachinesSetMemoryLimitRequest: S.Schema<MachinesSetMemoryLimitRequest>;
|
|
1251
|
+
export interface MachinesShowRequest {
|
|
1252
|
+
/** Fly App Name */
|
|
1253
|
+
app_name: string;
|
|
1254
|
+
/** Machine ID */
|
|
1255
|
+
machine_id: string;
|
|
1256
|
+
}
|
|
1257
|
+
export declare const MachinesShowRequest: S.Schema<MachinesShowRequest>;
|
|
1258
|
+
export interface MachinesShowLeaseRequest {
|
|
1259
|
+
/** Fly App Name */
|
|
1260
|
+
app_name: string;
|
|
1261
|
+
/** Machine ID */
|
|
1262
|
+
machine_id: string;
|
|
1263
|
+
}
|
|
1264
|
+
export declare const MachinesShowLeaseRequest: S.Schema<MachinesShowLeaseRequest>;
|
|
1265
|
+
export interface MachinesShowMetadataRequest {
|
|
1266
|
+
/** Fly App Name */
|
|
1267
|
+
app_name: string;
|
|
1268
|
+
/** Machine ID */
|
|
1269
|
+
machine_id: string;
|
|
1270
|
+
}
|
|
1271
|
+
export declare const MachinesShowMetadataRequest: S.Schema<MachinesShowMetadataRequest>;
|
|
1272
|
+
export type MachinesShowMetadataResponseBodyMap = {
|
|
1273
|
+
[key: string]: string | undefined;
|
|
1274
|
+
};
|
|
1275
|
+
export declare const MachinesShowMetadataResponseBodyMap: S.Schema<MachinesShowMetadataResponseBodyMap>;
|
|
1276
|
+
export type MachinesShowMetadataResponse = MachinesShowMetadataResponseBodyMap;
|
|
1277
|
+
export declare const MachinesShowMetadataResponse: S.Schema<MachinesShowMetadataResponse>;
|
|
1278
|
+
export type MachinesSignalRequestSignal = "SIGABRT" | "SIGALRM" | "SIGFPE" | "SIGHUP" | "SIGILL" | "SIGINT" | "SIGKILL" | "SIGPIPE" | "SIGQUIT" | "SIGSEGV" | "SIGTERM" | "SIGTRAP" | "SIGUSR1" | "SIGUSR2";
|
|
1279
|
+
export declare const MachinesSignalRequestSignal: any;
|
|
1280
|
+
export interface MachinesSignalRequest {
|
|
1281
|
+
/** Fly App Name */
|
|
1282
|
+
app_name: string;
|
|
1283
|
+
/** Machine ID */
|
|
1284
|
+
machine_id: string;
|
|
1285
|
+
signal?: MachinesSignalRequestSignal | (string & {});
|
|
1286
|
+
}
|
|
1287
|
+
export declare const MachinesSignalRequest: S.Schema<MachinesSignalRequest>;
|
|
1288
|
+
export interface MachinesSignalResponse {
|
|
1289
|
+
}
|
|
1290
|
+
export declare const MachinesSignalResponse: S.Schema<MachinesSignalResponse>;
|
|
1291
|
+
export interface MachinesStartRequest {
|
|
1292
|
+
/** Fly App Name */
|
|
1293
|
+
app_name: string;
|
|
1294
|
+
/** Machine ID */
|
|
1295
|
+
machine_id: string;
|
|
1296
|
+
}
|
|
1297
|
+
export declare const MachinesStartRequest: S.Schema<MachinesStartRequest>;
|
|
1298
|
+
export interface MachinesStartResponse {
|
|
1299
|
+
}
|
|
1300
|
+
export declare const MachinesStartResponse: S.Schema<MachinesStartResponse>;
|
|
1301
|
+
export type MachinesStopRequestSignal = "SIGHUP" | "SIGINT" | "SIGQUIT" | "SIGKILL" | "SIGUSR1" | "SIGUSR2" | "SIGTERM";
|
|
1302
|
+
export declare const MachinesStopRequestSignal: any;
|
|
1303
|
+
export interface MachinesStopRequest {
|
|
1304
|
+
/** Fly App Name */
|
|
1305
|
+
app_name: string;
|
|
1306
|
+
/** Machine ID */
|
|
1307
|
+
machine_id: string;
|
|
1308
|
+
signal?: MachinesStopRequestSignal | (string & {});
|
|
1309
|
+
timeout?: string;
|
|
1310
|
+
}
|
|
1311
|
+
export declare const MachinesStopRequest: S.Schema<MachinesStopRequest>;
|
|
1312
|
+
export interface MachinesStopResponse {
|
|
1313
|
+
}
|
|
1314
|
+
export declare const MachinesStopResponse: S.Schema<MachinesStopResponse>;
|
|
1315
|
+
export interface MachinesSuspendRequest {
|
|
1316
|
+
/** Fly App Name */
|
|
1317
|
+
app_name: string;
|
|
1318
|
+
/** Machine ID */
|
|
1319
|
+
machine_id: string;
|
|
1320
|
+
}
|
|
1321
|
+
export declare const MachinesSuspendRequest: S.Schema<MachinesSuspendRequest>;
|
|
1322
|
+
export interface MachinesSuspendResponse {
|
|
1323
|
+
}
|
|
1324
|
+
export declare const MachinesSuspendResponse: S.Schema<MachinesSuspendResponse>;
|
|
1325
|
+
export interface MachinesUncordonRequest {
|
|
1326
|
+
/** Fly App Name */
|
|
1327
|
+
app_name: string;
|
|
1328
|
+
/** Machine ID */
|
|
1329
|
+
machine_id: string;
|
|
1330
|
+
}
|
|
1331
|
+
export declare const MachinesUncordonRequest: S.Schema<MachinesUncordonRequest>;
|
|
1332
|
+
export interface MachinesUncordonResponse {
|
|
1333
|
+
}
|
|
1334
|
+
export declare const MachinesUncordonResponse: S.Schema<MachinesUncordonResponse>;
|
|
1335
|
+
export interface MachinesUpdateRequest {
|
|
1336
|
+
/** Fly App Name */
|
|
1337
|
+
app_name: string;
|
|
1338
|
+
/** Machine ID */
|
|
1339
|
+
machine_id: string;
|
|
1340
|
+
/** An object defining the Machine configuration */
|
|
1341
|
+
config?: FlyMachineConfig;
|
|
1342
|
+
current_version?: string;
|
|
1343
|
+
lease_ttl?: number;
|
|
1344
|
+
min_secrets_version?: number;
|
|
1345
|
+
/** Unique name for this Machine. If omitted, one is generated for you */
|
|
1346
|
+
name?: string;
|
|
1347
|
+
/** The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you). */
|
|
1348
|
+
region?: string;
|
|
1349
|
+
skip_launch?: boolean;
|
|
1350
|
+
skip_secrets?: boolean;
|
|
1351
|
+
skip_service_registration?: boolean;
|
|
1352
|
+
}
|
|
1353
|
+
export declare const MachinesUpdateRequest: S.Schema<MachinesUpdateRequest>;
|
|
1354
|
+
export type MachinesUpdateMetadataRequestMetadataMap = {
|
|
1355
|
+
[key: string]: string | undefined;
|
|
1356
|
+
};
|
|
1357
|
+
export declare const MachinesUpdateMetadataRequestMetadataMap: S.Schema<MachinesUpdateMetadataRequestMetadataMap>;
|
|
1358
|
+
export interface MachinesUpdateMetadataRequest {
|
|
1359
|
+
/** Fly App Name */
|
|
1360
|
+
app_name: string;
|
|
1361
|
+
/** Machine ID */
|
|
1362
|
+
machine_id: string;
|
|
1363
|
+
machine_version?: string;
|
|
1364
|
+
metadata?: MachinesUpdateMetadataRequestMetadataMap;
|
|
1365
|
+
updated_at?: string;
|
|
1366
|
+
}
|
|
1367
|
+
export declare const MachinesUpdateMetadataRequest: S.Schema<MachinesUpdateMetadataRequest>;
|
|
1368
|
+
export interface MachinesUpdateMetadataResponse {
|
|
1369
|
+
}
|
|
1370
|
+
export declare const MachinesUpdateMetadataResponse: S.Schema<MachinesUpdateMetadataResponse>;
|
|
1371
|
+
export type MachinesUpdateMetadataRequestMetadataMap2 = {
|
|
1372
|
+
[key: string]: string | undefined;
|
|
1373
|
+
};
|
|
1374
|
+
export declare const MachinesUpdateMetadataRequestMetadataMap2: S.Schema<MachinesUpdateMetadataRequestMetadataMap2>;
|
|
1375
|
+
export interface MachinesUpdateMetadataRequest2 {
|
|
1376
|
+
/** Fly App Name */
|
|
1377
|
+
app_name: string;
|
|
1378
|
+
/** Machine ID */
|
|
1379
|
+
machine_id: string;
|
|
1380
|
+
machine_version?: string;
|
|
1381
|
+
metadata?: MachinesUpdateMetadataRequestMetadataMap2;
|
|
1382
|
+
updated_at?: string;
|
|
1383
|
+
}
|
|
1384
|
+
export declare const MachinesUpdateMetadataRequest2: S.Schema<MachinesUpdateMetadataRequest2>;
|
|
1385
|
+
export interface MachinesUpdateMetadata2Response {
|
|
1386
|
+
}
|
|
1387
|
+
export declare const MachinesUpdateMetadata2Response: S.Schema<MachinesUpdateMetadata2Response>;
|
|
1388
|
+
export interface MachinesUpsertMetadataRequest {
|
|
1389
|
+
/** Fly App Name */
|
|
1390
|
+
app_name: string;
|
|
1391
|
+
/** Machine ID */
|
|
1392
|
+
machine_id: string;
|
|
1393
|
+
/** Metadata Key */
|
|
1394
|
+
key: string;
|
|
1395
|
+
updated_at?: string;
|
|
1396
|
+
value?: string;
|
|
1397
|
+
}
|
|
1398
|
+
export declare const MachinesUpsertMetadataRequest: S.Schema<MachinesUpsertMetadataRequest>;
|
|
1399
|
+
export interface MachinesUpsertMetadataResponse {
|
|
1400
|
+
}
|
|
1401
|
+
export declare const MachinesUpsertMetadataResponse: S.Schema<MachinesUpsertMetadataResponse>;
|
|
1402
|
+
export type MachinesWaitRequestState = "started" | "stopped" | "suspended" | "destroyed" | "failed" | "settled";
|
|
1403
|
+
export declare const MachinesWaitRequestState: any;
|
|
1404
|
+
export interface MachinesWaitRequest {
|
|
1405
|
+
/** Fly App Name */
|
|
1406
|
+
app_name: string;
|
|
1407
|
+
/** Machine ID */
|
|
1408
|
+
machine_id: string;
|
|
1409
|
+
/** 26-character Machine version ID */
|
|
1410
|
+
version?: string;
|
|
1411
|
+
/** 26-character Machine version ID (deprecated; use version) */
|
|
1412
|
+
instance_id?: string;
|
|
1413
|
+
/** 26-character Machine event ID to start waiting after */
|
|
1414
|
+
from_event_id?: string;
|
|
1415
|
+
/** wait timeout. default 60s */
|
|
1416
|
+
timeout?: number;
|
|
1417
|
+
/** desired state(s), supports repeated or comma-separated values */
|
|
1418
|
+
state?: MachinesWaitRequestState | (string & {});
|
|
1419
|
+
}
|
|
1420
|
+
export declare const MachinesWaitRequest: S.Schema<MachinesWaitRequest>;
|
|
1421
|
+
export interface WaitMachineResponse {
|
|
1422
|
+
event_id?: string;
|
|
1423
|
+
ok?: boolean;
|
|
1424
|
+
state?: string;
|
|
1425
|
+
version?: string;
|
|
1426
|
+
}
|
|
1427
|
+
export declare const WaitMachineResponse: S.Schema<WaitMachineResponse>;
|
|
1428
|
+
export type PlacementWeights = {
|
|
1429
|
+
[key: string]: number | undefined;
|
|
1430
|
+
};
|
|
1431
|
+
export declare const PlacementWeights: S.Schema<PlacementWeights>;
|
|
1432
|
+
export interface PlatformPlacementsPostRequest {
|
|
1433
|
+
/** Resource requirements for the Machine to simulate. Defaults to a performance-1x machine */
|
|
1434
|
+
compute?: FlyMachineGuest;
|
|
1435
|
+
/** Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region. */
|
|
1436
|
+
count?: number;
|
|
1437
|
+
org_slug: string;
|
|
1438
|
+
/** Region expression for placement as a comma-delimited set of regions or aliases. Defaults to "[region],any", to prefer the API endpoint's local region with any other region as fallback. */
|
|
1439
|
+
region?: string;
|
|
1440
|
+
volume_name?: string;
|
|
1441
|
+
volume_size_bytes?: number;
|
|
1442
|
+
/** Optional weights to override default placement preferences. */
|
|
1443
|
+
weights?: PlacementWeights;
|
|
1444
|
+
}
|
|
1445
|
+
export declare const PlatformPlacementsPostRequest: S.Schema<PlatformPlacementsPostRequest>;
|
|
1446
|
+
export interface PlacementRegionPlacement {
|
|
1447
|
+
concurrency?: number;
|
|
1448
|
+
count?: number;
|
|
1449
|
+
region?: string;
|
|
1450
|
+
}
|
|
1451
|
+
export declare const PlacementRegionPlacement: S.Schema<PlacementRegionPlacement>;
|
|
1452
|
+
export type MainGetPlacementsResponseRegionsList = Array<PlacementRegionPlacement>;
|
|
1453
|
+
export declare const MainGetPlacementsResponseRegionsList: S.Schema<MainGetPlacementsResponseRegionsList>;
|
|
1454
|
+
export interface MainGetPlacementsResponse {
|
|
1455
|
+
regions?: MainGetPlacementsResponseRegionsList;
|
|
1456
|
+
}
|
|
1457
|
+
export declare const MainGetPlacementsResponse: S.Schema<MainGetPlacementsResponse>;
|
|
1458
|
+
export interface PlatformRegionsGetRequest {
|
|
1459
|
+
}
|
|
1460
|
+
export declare const PlatformRegionsGetRequest: S.Schema<PlatformRegionsGetRequest>;
|
|
1461
|
+
export interface MainRegionRow {
|
|
1462
|
+
code?: string;
|
|
1463
|
+
deprecated?: boolean;
|
|
1464
|
+
gateway_available?: boolean;
|
|
1465
|
+
geo_region?: string;
|
|
1466
|
+
latitude?: number;
|
|
1467
|
+
longitude?: number;
|
|
1468
|
+
name?: string;
|
|
1469
|
+
requires_paid_plan?: boolean;
|
|
1470
|
+
}
|
|
1471
|
+
export declare const MainRegionRow: S.Schema<MainRegionRow>;
|
|
1472
|
+
export type MainRegionResponseRegionsList = Array<MainRegionRow>;
|
|
1473
|
+
export declare const MainRegionResponseRegionsList: S.Schema<MainRegionResponseRegionsList>;
|
|
1474
|
+
export interface MainRegionResponse {
|
|
1475
|
+
nearest?: string;
|
|
1476
|
+
regions?: MainRegionResponseRegionsList;
|
|
1477
|
+
}
|
|
1478
|
+
export declare const MainRegionResponse: S.Schema<MainRegionResponse>;
|
|
1479
|
+
export interface SecretCreateRequest {
|
|
1480
|
+
/** Fly App Name */
|
|
1481
|
+
app_name: string;
|
|
1482
|
+
/** App secret name */
|
|
1483
|
+
secret_name: string;
|
|
1484
|
+
value?: string;
|
|
1485
|
+
}
|
|
1486
|
+
export declare const SecretCreateRequest: S.Schema<SecretCreateRequest>;
|
|
1487
|
+
export interface SetAppSecretResponse {
|
|
1488
|
+
/** DEPRECATED */
|
|
1489
|
+
Version?: number;
|
|
1490
|
+
created_at?: string;
|
|
1491
|
+
digest?: string;
|
|
1492
|
+
name?: string;
|
|
1493
|
+
updated_at?: string;
|
|
1494
|
+
value?: string;
|
|
1495
|
+
version?: number;
|
|
1496
|
+
}
|
|
1497
|
+
export declare const SetAppSecretResponse: S.Schema<SetAppSecretResponse>;
|
|
1498
|
+
export interface SecretDeleteRequest {
|
|
1499
|
+
/** Fly App Name */
|
|
1500
|
+
app_name: string;
|
|
1501
|
+
/** App secret name */
|
|
1502
|
+
secret_name: string;
|
|
1503
|
+
}
|
|
1504
|
+
export declare const SecretDeleteRequest: S.Schema<SecretDeleteRequest>;
|
|
1505
|
+
export interface DeleteAppSecretResponse {
|
|
1506
|
+
/** DEPRECATED */
|
|
1507
|
+
Version?: number;
|
|
1508
|
+
version?: number;
|
|
1509
|
+
}
|
|
1510
|
+
export declare const DeleteAppSecretResponse: S.Schema<DeleteAppSecretResponse>;
|
|
1511
|
+
export interface SecretGetRequest {
|
|
1512
|
+
/** Fly App Name */
|
|
1513
|
+
app_name: string;
|
|
1514
|
+
/** App secret name */
|
|
1515
|
+
secret_name: string;
|
|
1516
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1517
|
+
min_version?: string;
|
|
1518
|
+
/** Show the secret value. */
|
|
1519
|
+
show_secrets?: boolean;
|
|
1520
|
+
}
|
|
1521
|
+
export declare const SecretGetRequest: S.Schema<SecretGetRequest>;
|
|
1522
|
+
export interface AppSecret {
|
|
1523
|
+
created_at?: string;
|
|
1524
|
+
digest?: string;
|
|
1525
|
+
name?: string;
|
|
1526
|
+
updated_at?: string;
|
|
1527
|
+
value?: string;
|
|
1528
|
+
}
|
|
1529
|
+
export declare const AppSecret: S.Schema<AppSecret>;
|
|
1530
|
+
export type SecretkeyDecryptRequestAssociatedDataList = Array<number>;
|
|
1531
|
+
export declare const SecretkeyDecryptRequestAssociatedDataList: S.Schema<SecretkeyDecryptRequestAssociatedDataList>;
|
|
1532
|
+
export type SecretkeyDecryptRequestCiphertextList = Array<number>;
|
|
1533
|
+
export declare const SecretkeyDecryptRequestCiphertextList: S.Schema<SecretkeyDecryptRequestCiphertextList>;
|
|
1534
|
+
export interface SecretkeyDecryptRequest {
|
|
1535
|
+
/** Fly App Name */
|
|
1536
|
+
app_name: string;
|
|
1537
|
+
/** Secret key name */
|
|
1538
|
+
secret_name: string;
|
|
1539
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1540
|
+
min_version?: string;
|
|
1541
|
+
associated_data?: SecretkeyDecryptRequestAssociatedDataList;
|
|
1542
|
+
ciphertext?: SecretkeyDecryptRequestCiphertextList;
|
|
1543
|
+
}
|
|
1544
|
+
export declare const SecretkeyDecryptRequest: S.Schema<SecretkeyDecryptRequest>;
|
|
1545
|
+
export type DecryptSecretkeyResponsePlaintextList = Array<number>;
|
|
1546
|
+
export declare const DecryptSecretkeyResponsePlaintextList: S.Schema<DecryptSecretkeyResponsePlaintextList>;
|
|
1547
|
+
export interface DecryptSecretkeyResponse {
|
|
1548
|
+
plaintext?: DecryptSecretkeyResponsePlaintextList;
|
|
1549
|
+
}
|
|
1550
|
+
export declare const DecryptSecretkeyResponse: S.Schema<DecryptSecretkeyResponse>;
|
|
1551
|
+
export interface SecretkeyDeleteRequest {
|
|
1552
|
+
/** Fly App Name */
|
|
1553
|
+
app_name: string;
|
|
1554
|
+
/** Secret key name */
|
|
1555
|
+
secret_name: string;
|
|
1556
|
+
}
|
|
1557
|
+
export declare const SecretkeyDeleteRequest: S.Schema<SecretkeyDeleteRequest>;
|
|
1558
|
+
export interface DeleteSecretkeyResponse {
|
|
1559
|
+
/** DEPRECATED */
|
|
1560
|
+
Version?: number;
|
|
1561
|
+
version?: number;
|
|
1562
|
+
}
|
|
1563
|
+
export declare const DeleteSecretkeyResponse: S.Schema<DeleteSecretkeyResponse>;
|
|
1564
|
+
export type SecretkeyEncryptRequestAssociatedDataList = Array<number>;
|
|
1565
|
+
export declare const SecretkeyEncryptRequestAssociatedDataList: S.Schema<SecretkeyEncryptRequestAssociatedDataList>;
|
|
1566
|
+
export type SecretkeyEncryptRequestPlaintextList = Array<number>;
|
|
1567
|
+
export declare const SecretkeyEncryptRequestPlaintextList: S.Schema<SecretkeyEncryptRequestPlaintextList>;
|
|
1568
|
+
export interface SecretkeyEncryptRequest {
|
|
1569
|
+
/** Fly App Name */
|
|
1570
|
+
app_name: string;
|
|
1571
|
+
/** Secret key name */
|
|
1572
|
+
secret_name: string;
|
|
1573
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1574
|
+
min_version?: string;
|
|
1575
|
+
associated_data?: SecretkeyEncryptRequestAssociatedDataList;
|
|
1576
|
+
plaintext?: SecretkeyEncryptRequestPlaintextList;
|
|
1577
|
+
}
|
|
1578
|
+
export declare const SecretkeyEncryptRequest: S.Schema<SecretkeyEncryptRequest>;
|
|
1579
|
+
export type EncryptSecretkeyResponseCiphertextList = Array<number>;
|
|
1580
|
+
export declare const EncryptSecretkeyResponseCiphertextList: S.Schema<EncryptSecretkeyResponseCiphertextList>;
|
|
1581
|
+
export interface EncryptSecretkeyResponse {
|
|
1582
|
+
ciphertext?: EncryptSecretkeyResponseCiphertextList;
|
|
1583
|
+
}
|
|
1584
|
+
export declare const EncryptSecretkeyResponse: S.Schema<EncryptSecretkeyResponse>;
|
|
1585
|
+
export type SecretkeyGenerateRequestValueList = Array<number>;
|
|
1586
|
+
export declare const SecretkeyGenerateRequestValueList: S.Schema<SecretkeyGenerateRequestValueList>;
|
|
1587
|
+
export interface SecretkeyGenerateRequest {
|
|
1588
|
+
/** Fly App Name */
|
|
1589
|
+
app_name: string;
|
|
1590
|
+
/** Secret key name */
|
|
1591
|
+
secret_name: string;
|
|
1592
|
+
type?: string;
|
|
1593
|
+
value?: SecretkeyGenerateRequestValueList;
|
|
1594
|
+
}
|
|
1595
|
+
export declare const SecretkeyGenerateRequest: S.Schema<SecretkeyGenerateRequest>;
|
|
1596
|
+
export type SetSecretkeyResponsePublicKeyList = Array<number>;
|
|
1597
|
+
export declare const SetSecretkeyResponsePublicKeyList: S.Schema<SetSecretkeyResponsePublicKeyList>;
|
|
1598
|
+
export interface SetSecretkeyResponse {
|
|
1599
|
+
/** DEPRECATED */
|
|
1600
|
+
Version?: number;
|
|
1601
|
+
created_at?: string;
|
|
1602
|
+
name?: string;
|
|
1603
|
+
public_key?: SetSecretkeyResponsePublicKeyList;
|
|
1604
|
+
type?: string;
|
|
1605
|
+
updated_at?: string;
|
|
1606
|
+
version?: number;
|
|
1607
|
+
}
|
|
1608
|
+
export declare const SetSecretkeyResponse: S.Schema<SetSecretkeyResponse>;
|
|
1609
|
+
export interface SecretkeyGetRequest {
|
|
1610
|
+
/** Fly App Name */
|
|
1611
|
+
app_name: string;
|
|
1612
|
+
/** Secret key name */
|
|
1613
|
+
secret_name: string;
|
|
1614
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1615
|
+
min_version?: string;
|
|
1616
|
+
}
|
|
1617
|
+
export declare const SecretkeyGetRequest: S.Schema<SecretkeyGetRequest>;
|
|
1618
|
+
export type SecretKeyPublicKeyList = Array<number>;
|
|
1619
|
+
export declare const SecretKeyPublicKeyList: S.Schema<SecretKeyPublicKeyList>;
|
|
1620
|
+
export interface SecretKey {
|
|
1621
|
+
created_at?: string;
|
|
1622
|
+
name?: string;
|
|
1623
|
+
public_key?: SecretKeyPublicKeyList;
|
|
1624
|
+
type?: string;
|
|
1625
|
+
updated_at?: string;
|
|
1626
|
+
}
|
|
1627
|
+
export declare const SecretKey: S.Schema<SecretKey>;
|
|
1628
|
+
export type SecretkeySetRequestValueList = Array<number>;
|
|
1629
|
+
export declare const SecretkeySetRequestValueList: S.Schema<SecretkeySetRequestValueList>;
|
|
1630
|
+
export interface SecretkeySetRequest {
|
|
1631
|
+
/** Fly App Name */
|
|
1632
|
+
app_name: string;
|
|
1633
|
+
/** Secret key name */
|
|
1634
|
+
secret_name: string;
|
|
1635
|
+
type?: string;
|
|
1636
|
+
value?: SecretkeySetRequestValueList;
|
|
1637
|
+
}
|
|
1638
|
+
export declare const SecretkeySetRequest: S.Schema<SecretkeySetRequest>;
|
|
1639
|
+
export type SecretkeySignRequestPlaintextList = Array<number>;
|
|
1640
|
+
export declare const SecretkeySignRequestPlaintextList: S.Schema<SecretkeySignRequestPlaintextList>;
|
|
1641
|
+
export interface SecretkeySignRequest {
|
|
1642
|
+
/** Fly App Name */
|
|
1643
|
+
app_name: string;
|
|
1644
|
+
/** Secret key name */
|
|
1645
|
+
secret_name: string;
|
|
1646
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1647
|
+
min_version?: string;
|
|
1648
|
+
plaintext?: SecretkeySignRequestPlaintextList;
|
|
1649
|
+
}
|
|
1650
|
+
export declare const SecretkeySignRequest: S.Schema<SecretkeySignRequest>;
|
|
1651
|
+
export type SignSecretkeyResponseSignatureList = Array<number>;
|
|
1652
|
+
export declare const SignSecretkeyResponseSignatureList: S.Schema<SignSecretkeyResponseSignatureList>;
|
|
1653
|
+
export interface SignSecretkeyResponse {
|
|
1654
|
+
signature?: SignSecretkeyResponseSignatureList;
|
|
1655
|
+
}
|
|
1656
|
+
export declare const SignSecretkeyResponse: S.Schema<SignSecretkeyResponse>;
|
|
1657
|
+
export interface SecretkeysListRequest {
|
|
1658
|
+
/** Fly App Name */
|
|
1659
|
+
app_name: string;
|
|
1660
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1661
|
+
min_version?: string;
|
|
1662
|
+
/** Comma-seperated list of secret keys to list */
|
|
1663
|
+
types?: string;
|
|
1664
|
+
}
|
|
1665
|
+
export declare const SecretkeysListRequest: S.Schema<SecretkeysListRequest>;
|
|
1666
|
+
export type SecretKeysSecretKeysList = Array<SecretKey>;
|
|
1667
|
+
export declare const SecretKeysSecretKeysList: S.Schema<SecretKeysSecretKeysList>;
|
|
1668
|
+
export interface SecretKeys {
|
|
1669
|
+
secret_keys?: SecretKeysSecretKeysList;
|
|
1670
|
+
}
|
|
1671
|
+
export declare const SecretKeys: S.Schema<SecretKeys>;
|
|
1672
|
+
export type SecretkeyVerifyRequestPlaintextList = Array<number>;
|
|
1673
|
+
export declare const SecretkeyVerifyRequestPlaintextList: S.Schema<SecretkeyVerifyRequestPlaintextList>;
|
|
1674
|
+
export type SecretkeyVerifyRequestSignatureList = Array<number>;
|
|
1675
|
+
export declare const SecretkeyVerifyRequestSignatureList: S.Schema<SecretkeyVerifyRequestSignatureList>;
|
|
1676
|
+
export interface SecretkeyVerifyRequest {
|
|
1677
|
+
/** Fly App Name */
|
|
1678
|
+
app_name: string;
|
|
1679
|
+
/** Secret key name */
|
|
1680
|
+
secret_name: string;
|
|
1681
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1682
|
+
min_version?: string;
|
|
1683
|
+
plaintext?: SecretkeyVerifyRequestPlaintextList;
|
|
1684
|
+
signature?: SecretkeyVerifyRequestSignatureList;
|
|
1685
|
+
}
|
|
1686
|
+
export declare const SecretkeyVerifyRequest: S.Schema<SecretkeyVerifyRequest>;
|
|
1687
|
+
export interface SecretkeyVerifyResponse {
|
|
1688
|
+
}
|
|
1689
|
+
export declare const SecretkeyVerifyResponse: S.Schema<SecretkeyVerifyResponse>;
|
|
1690
|
+
export interface SecretsListRequest {
|
|
1691
|
+
/** Fly App Name */
|
|
1692
|
+
app_name: string;
|
|
1693
|
+
/** Minimum secrets version to return. Returned when setting a new secret */
|
|
1694
|
+
min_version?: string;
|
|
1695
|
+
/** Show the secret values. */
|
|
1696
|
+
show_secrets?: boolean;
|
|
1697
|
+
}
|
|
1698
|
+
export declare const SecretsListRequest: S.Schema<SecretsListRequest>;
|
|
1699
|
+
export type AppSecretsSecretsList = Array<AppSecret>;
|
|
1700
|
+
export declare const AppSecretsSecretsList: S.Schema<AppSecretsSecretsList>;
|
|
1701
|
+
export interface AppSecrets {
|
|
1702
|
+
secrets?: AppSecretsSecretsList;
|
|
1703
|
+
}
|
|
1704
|
+
export declare const AppSecrets: S.Schema<AppSecrets>;
|
|
1705
|
+
export type SecretsUpdateRequestValuesMap = {
|
|
1706
|
+
[key: string]: string | undefined;
|
|
1707
|
+
};
|
|
1708
|
+
export declare const SecretsUpdateRequestValuesMap: S.Schema<SecretsUpdateRequestValuesMap>;
|
|
1709
|
+
export interface SecretsUpdateRequest {
|
|
1710
|
+
/** Fly App Name */
|
|
1711
|
+
app_name: string;
|
|
1712
|
+
values?: SecretsUpdateRequestValuesMap;
|
|
1713
|
+
}
|
|
1714
|
+
export declare const SecretsUpdateRequest: S.Schema<SecretsUpdateRequest>;
|
|
1715
|
+
export type AppSecretsUpdateRespSecretsList = Array<AppSecret>;
|
|
1716
|
+
export declare const AppSecretsUpdateRespSecretsList: S.Schema<AppSecretsUpdateRespSecretsList>;
|
|
1717
|
+
export interface AppSecretsUpdateResp {
|
|
1718
|
+
/** DEPRECATED */
|
|
1719
|
+
Version?: number;
|
|
1720
|
+
secrets?: AppSecretsUpdateRespSecretsList;
|
|
1721
|
+
version?: number;
|
|
1722
|
+
}
|
|
1723
|
+
export declare const AppSecretsUpdateResp: S.Schema<AppSecretsUpdateResp>;
|
|
1724
|
+
export interface TokensAuthenticateRequest {
|
|
1725
|
+
header?: string;
|
|
1726
|
+
}
|
|
1727
|
+
export declare const TokensAuthenticateRequest: S.Schema<TokensAuthenticateRequest>;
|
|
1728
|
+
export type MacaroonCaveatSetCaveatsList = Array<unknown>;
|
|
1729
|
+
export declare const MacaroonCaveatSetCaveatsList: S.Schema<MacaroonCaveatSetCaveatsList>;
|
|
1730
|
+
export interface MacaroonCaveatSet {
|
|
1731
|
+
caveats?: MacaroonCaveatSetCaveatsList;
|
|
1732
|
+
}
|
|
1733
|
+
export declare const MacaroonCaveatSet: S.Schema<MacaroonCaveatSet>;
|
|
1734
|
+
export type MacaroonNonceKidList = Array<number>;
|
|
1735
|
+
export declare const MacaroonNonceKidList: S.Schema<MacaroonNonceKidList>;
|
|
1736
|
+
export type MacaroonNonceRndList = Array<number>;
|
|
1737
|
+
export declare const MacaroonNonceRndList: S.Schema<MacaroonNonceRndList>;
|
|
1738
|
+
export interface MacaroonNonce {
|
|
1739
|
+
kid?: MacaroonNonceKidList;
|
|
1740
|
+
proof?: boolean;
|
|
1741
|
+
rnd?: MacaroonNonceRndList;
|
|
1742
|
+
}
|
|
1743
|
+
export declare const MacaroonNonce: S.Schema<MacaroonNonce>;
|
|
1744
|
+
export type RootVerifiedTokenPermissionTokenList = Array<number>;
|
|
1745
|
+
export declare const RootVerifiedTokenPermissionTokenList: S.Schema<RootVerifiedTokenPermissionTokenList>;
|
|
1746
|
+
export interface RootVerifiedToken {
|
|
1747
|
+
caveats?: MacaroonCaveatSet;
|
|
1748
|
+
header?: string;
|
|
1749
|
+
nonce?: MacaroonNonce;
|
|
1750
|
+
permission_token?: RootVerifiedTokenPermissionTokenList;
|
|
1751
|
+
}
|
|
1752
|
+
export declare const RootVerifiedToken: S.Schema<RootVerifiedToken>;
|
|
1753
|
+
export type TokensAuthenticateResponseBodyList = Array<RootVerifiedToken>;
|
|
1754
|
+
export declare const TokensAuthenticateResponseBodyList: S.Schema<TokensAuthenticateResponseBodyList>;
|
|
1755
|
+
export type TokensAuthenticateResponse = TokensAuthenticateResponseBodyList;
|
|
1756
|
+
export declare const TokensAuthenticateResponse: S.Schema<TokensAuthenticateResponse>;
|
|
1757
|
+
export type RessetAction = 1 | 2 | 4 | 8 | 16 | 31 | 0;
|
|
1758
|
+
export declare const RessetAction: any;
|
|
1759
|
+
/** Command is the command being executed on a machine. If this is specified, the Machine must be set. */
|
|
1760
|
+
export type MainTokenAccessCommandList = Array<string>;
|
|
1761
|
+
export declare const MainTokenAccessCommandList: S.Schema<MainTokenAccessCommandList>;
|
|
1762
|
+
export interface MainTokenAccess {
|
|
1763
|
+
/** Action is the action being taken on the specified resource. This is the combination of individual action characters (e.g "rw") - r: read - w: write - c: create - d: delete - C: control */
|
|
1764
|
+
action?: RessetAction | (number & {});
|
|
1765
|
+
/** AppFeature is a named set of functionality associated with the app. If this is specified, the AppName field must be set. - images: images in the fly.io registry */
|
|
1766
|
+
app_feature?: string;
|
|
1767
|
+
/** AppName is the name of the app being accessed. */
|
|
1768
|
+
app_name?: string;
|
|
1769
|
+
/** Command is the command being executed on a machine. If this is specified, the Machine must be set. */
|
|
1770
|
+
command?: MainTokenAccessCommandList;
|
|
1771
|
+
/** MachineFeature is a named set of functionality associated with the machine. If this is specified, the Machine field must be set. - metadata: machine metadata service - oidc: OIDC tokens - kmstoken: Petsem tokens for KMS access */
|
|
1772
|
+
machine_feature?: string;
|
|
1773
|
+
/** MachineID is the ID of the machine being accessed (e.g. 7811701f564258). */
|
|
1774
|
+
machine_id?: string;
|
|
1775
|
+
/** Mutation is the GraphQL mutation being performed. */
|
|
1776
|
+
mutation?: string;
|
|
1777
|
+
/** OrgFeature is a named set of functionality associated with the organization. If this is specified, the OrgSlug field must be set. - wg: WireGuard peers - builder: remote builders - addon: addons - membership: organization membership - billing: billing - litefs-cloud: LiteFS Cloud - authentication: authentication settings */
|
|
1778
|
+
org_feature?: string;
|
|
1779
|
+
/** OrgSlug is the slug of the organization being accessed. */
|
|
1780
|
+
org_slug?: string;
|
|
1781
|
+
/** SourceMachine is the machine ID of the actor attempting access. */
|
|
1782
|
+
source_machine?: string;
|
|
1783
|
+
/** StorageObject is the storage object being accessed. If this is specified, the OrgSlug must be set. */
|
|
1784
|
+
storage_object?: string;
|
|
1785
|
+
/** VolumeID is the encoded ID of the volume being accessed (e.g. vol_r1p6pln1k9m9j7zr). */
|
|
1786
|
+
volume_id?: string;
|
|
1787
|
+
}
|
|
1788
|
+
export declare const MainTokenAccess: S.Schema<MainTokenAccess>;
|
|
1789
|
+
export interface TokensAuthorizeRequest {
|
|
1790
|
+
access?: MainTokenAccess;
|
|
1791
|
+
header?: string;
|
|
1792
|
+
}
|
|
1793
|
+
export declare const TokensAuthorizeRequest: S.Schema<TokensAuthorizeRequest>;
|
|
1794
|
+
export type FlyioAccessCommandList = Array<string>;
|
|
1795
|
+
export declare const FlyioAccessCommandList: S.Schema<FlyioAccessCommandList>;
|
|
1796
|
+
export interface FlyioAccess {
|
|
1797
|
+
action?: RessetAction;
|
|
1798
|
+
app_feature?: string;
|
|
1799
|
+
appid?: number;
|
|
1800
|
+
cluster?: string;
|
|
1801
|
+
command?: FlyioAccessCommandList;
|
|
1802
|
+
feature?: string;
|
|
1803
|
+
machine?: string;
|
|
1804
|
+
machine_feature?: string;
|
|
1805
|
+
mutation?: string;
|
|
1806
|
+
orgid?: number;
|
|
1807
|
+
sourceApp?: string;
|
|
1808
|
+
sourceMachine?: string;
|
|
1809
|
+
sourceOrganization?: string;
|
|
1810
|
+
storage_object?: string;
|
|
1811
|
+
volume?: string;
|
|
1812
|
+
}
|
|
1813
|
+
export declare const FlyioAccess: S.Schema<FlyioAccess>;
|
|
1814
|
+
export interface AuthorizeResponse {
|
|
1815
|
+
access?: FlyioAccess;
|
|
1816
|
+
verified_token?: RootVerifiedToken;
|
|
1817
|
+
}
|
|
1818
|
+
export declare const AuthorizeResponse: S.Schema<AuthorizeResponse>;
|
|
1819
|
+
export interface TokensRequestKmsRequest {
|
|
1820
|
+
}
|
|
1821
|
+
export declare const TokensRequestKmsRequest: S.Schema<TokensRequestKmsRequest>;
|
|
1822
|
+
export interface TokensRequestKmsResponse {
|
|
1823
|
+
}
|
|
1824
|
+
export declare const TokensRequestKmsResponse: S.Schema<TokensRequestKmsResponse>;
|
|
1825
|
+
export interface TokensRequestOIDCRequest {
|
|
1826
|
+
aud?: string;
|
|
1827
|
+
aws_principal_tags?: boolean;
|
|
1828
|
+
}
|
|
1829
|
+
export declare const TokensRequestOIDCRequest: S.Schema<TokensRequestOIDCRequest>;
|
|
1830
|
+
export interface TokensRequestOIDCResponse {
|
|
1831
|
+
}
|
|
1832
|
+
export declare const TokensRequestOIDCResponse: S.Schema<TokensRequestOIDCResponse>;
|
|
1833
|
+
export interface VolumeDeleteRequest {
|
|
1834
|
+
/** Fly App Name */
|
|
1835
|
+
app_name: string;
|
|
1836
|
+
/** Volume ID */
|
|
1837
|
+
volume_id: string;
|
|
1838
|
+
}
|
|
1839
|
+
export declare const VolumeDeleteRequest: S.Schema<VolumeDeleteRequest>;
|
|
1840
|
+
export type VolumeHostStatus = "ok" | "unknown" | "unreachable";
|
|
1841
|
+
export declare const VolumeHostStatus: any;
|
|
1842
|
+
export type VolumeType = "local" | "cache";
|
|
1843
|
+
export declare const VolumeType: any;
|
|
1844
|
+
export interface Volume {
|
|
1845
|
+
attached_alloc_id?: string;
|
|
1846
|
+
attached_machine_id?: string;
|
|
1847
|
+
auto_backup_enabled?: boolean;
|
|
1848
|
+
block_size?: number;
|
|
1849
|
+
blocks?: number;
|
|
1850
|
+
blocks_avail?: number;
|
|
1851
|
+
blocks_free?: number;
|
|
1852
|
+
bytes_total?: number;
|
|
1853
|
+
bytes_used?: number;
|
|
1854
|
+
created_at?: string;
|
|
1855
|
+
encrypted?: boolean;
|
|
1856
|
+
fstype?: string;
|
|
1857
|
+
host_status?: VolumeHostStatus;
|
|
1858
|
+
id?: string;
|
|
1859
|
+
name?: string;
|
|
1860
|
+
region?: string;
|
|
1861
|
+
size_gb?: number;
|
|
1862
|
+
snapshot_retention?: number;
|
|
1863
|
+
state?: string;
|
|
1864
|
+
type?: VolumeType;
|
|
1865
|
+
zone?: string;
|
|
1866
|
+
}
|
|
1867
|
+
export declare const Volume: S.Schema<Volume>;
|
|
1868
|
+
export interface VolumesCreateRequest {
|
|
1869
|
+
/** Fly App Name */
|
|
1870
|
+
app_name: string;
|
|
1871
|
+
/** enable scheduled automatic snapshots. Defaults to `true` */
|
|
1872
|
+
auto_backup_enabled?: boolean;
|
|
1873
|
+
compute?: FlyMachineGuest;
|
|
1874
|
+
compute_image?: string;
|
|
1875
|
+
encrypted?: boolean;
|
|
1876
|
+
fstype?: string;
|
|
1877
|
+
name?: string;
|
|
1878
|
+
region?: string;
|
|
1879
|
+
require_unique_zone?: boolean;
|
|
1880
|
+
size_gb?: number;
|
|
1881
|
+
/** restore from snapshot */
|
|
1882
|
+
snapshot_id?: string;
|
|
1883
|
+
snapshot_retention?: number;
|
|
1884
|
+
/** fork from remote volume */
|
|
1885
|
+
source_volume_id?: string;
|
|
1886
|
+
unique_zone_app_wide?: boolean;
|
|
1887
|
+
}
|
|
1888
|
+
export declare const VolumesCreateRequest: S.Schema<VolumesCreateRequest>;
|
|
1889
|
+
export interface VolumesExtendRequest {
|
|
1890
|
+
/** Fly App Name */
|
|
1891
|
+
app_name: string;
|
|
1892
|
+
/** Volume ID */
|
|
1893
|
+
volume_id: string;
|
|
1894
|
+
size_gb?: number;
|
|
1895
|
+
}
|
|
1896
|
+
export declare const VolumesExtendRequest: S.Schema<VolumesExtendRequest>;
|
|
1897
|
+
export interface ExtendVolumeResponse {
|
|
1898
|
+
needs_restart?: boolean;
|
|
1899
|
+
volume?: Volume;
|
|
1900
|
+
}
|
|
1901
|
+
export declare const ExtendVolumeResponse: S.Schema<ExtendVolumeResponse>;
|
|
1902
|
+
export interface VolumesGetByIdRequest {
|
|
1903
|
+
/** Fly App Name */
|
|
1904
|
+
app_name: string;
|
|
1905
|
+
/** Volume ID */
|
|
1906
|
+
volume_id: string;
|
|
1907
|
+
}
|
|
1908
|
+
export declare const VolumesGetByIdRequest: S.Schema<VolumesGetByIdRequest>;
|
|
1909
|
+
export interface VolumesListRequest {
|
|
1910
|
+
/** Fly App Name */
|
|
1911
|
+
app_name: string;
|
|
1912
|
+
/** Only return summary info about volumes (omit blocks, block size, etc) */
|
|
1913
|
+
summary?: boolean;
|
|
1914
|
+
}
|
|
1915
|
+
export declare const VolumesListRequest: S.Schema<VolumesListRequest>;
|
|
1916
|
+
export type VolumesListResponseBodyList = Array<Volume>;
|
|
1917
|
+
export declare const VolumesListResponseBodyList: S.Schema<VolumesListResponseBodyList>;
|
|
1918
|
+
export type VolumesListResponse = VolumesListResponseBodyList;
|
|
1919
|
+
export declare const VolumesListResponse: S.Schema<VolumesListResponse>;
|
|
1920
|
+
export interface VolumesListSnapshotsRequest {
|
|
1921
|
+
/** Fly App Name */
|
|
1922
|
+
app_name: string;
|
|
1923
|
+
/** Volume ID */
|
|
1924
|
+
volume_id: string;
|
|
1925
|
+
}
|
|
1926
|
+
export declare const VolumesListSnapshotsRequest: S.Schema<VolumesListSnapshotsRequest>;
|
|
1927
|
+
export interface VolumeSnapshot {
|
|
1928
|
+
created_at?: string;
|
|
1929
|
+
digest?: string;
|
|
1930
|
+
id?: string;
|
|
1931
|
+
retention_days?: number;
|
|
1932
|
+
size?: number;
|
|
1933
|
+
status?: string;
|
|
1934
|
+
volume_size?: number;
|
|
1935
|
+
}
|
|
1936
|
+
export declare const VolumeSnapshot: S.Schema<VolumeSnapshot>;
|
|
1937
|
+
export type VolumesListSnapshotsResponseBodyList = Array<VolumeSnapshot>;
|
|
1938
|
+
export declare const VolumesListSnapshotsResponseBodyList: S.Schema<VolumesListSnapshotsResponseBodyList>;
|
|
1939
|
+
export type VolumesListSnapshotsResponse = VolumesListSnapshotsResponseBodyList;
|
|
1940
|
+
export declare const VolumesListSnapshotsResponse: S.Schema<VolumesListSnapshotsResponse>;
|
|
1941
|
+
export interface VolumesOrgListRequest {
|
|
1942
|
+
/** Fly Organization Slug */
|
|
1943
|
+
org_slug: string;
|
|
1944
|
+
/** Include deleted volumes */
|
|
1945
|
+
include_deleted?: boolean;
|
|
1946
|
+
/** Region filter */
|
|
1947
|
+
region?: string;
|
|
1948
|
+
/** Comma separated list of volume states to filter */
|
|
1949
|
+
state?: string;
|
|
1950
|
+
/** Only return summary info about volumes (omit blocks, block size, etc) */
|
|
1951
|
+
summary?: boolean;
|
|
1952
|
+
/** Only return volumes updated after this time. Timestamp must be in the RFC 3339 format */
|
|
1953
|
+
updated_after?: string;
|
|
1954
|
+
/** Pagination cursor from previous response (takes precedence over updated_after) */
|
|
1955
|
+
cursor?: string;
|
|
1956
|
+
/** The number of volumes to fetch (max of 1000). This limit is advisory. Responses may be shorter, even when more volumes remain. If omitted, the maximum is used */
|
|
1957
|
+
limit?: number;
|
|
1958
|
+
}
|
|
1959
|
+
export declare const VolumesOrgListRequest: S.Schema<VolumesOrgListRequest>;
|
|
1960
|
+
export type OrgVolumeHostStatus = "ok" | "unknown" | "unreachable";
|
|
1961
|
+
export declare const OrgVolumeHostStatus: any;
|
|
1962
|
+
export type OrgVolumeType = "local" | "cache";
|
|
1963
|
+
export declare const OrgVolumeType: any;
|
|
1964
|
+
export interface OrgVolume {
|
|
1965
|
+
app_name?: string;
|
|
1966
|
+
attached_alloc_id?: string;
|
|
1967
|
+
attached_machine_id?: string;
|
|
1968
|
+
auto_backup_enabled?: boolean;
|
|
1969
|
+
block_size?: number;
|
|
1970
|
+
blocks?: number;
|
|
1971
|
+
blocks_avail?: number;
|
|
1972
|
+
blocks_free?: number;
|
|
1973
|
+
bytes_total?: number;
|
|
1974
|
+
bytes_used?: number;
|
|
1975
|
+
created_at?: string;
|
|
1976
|
+
encrypted?: boolean;
|
|
1977
|
+
fstype?: string;
|
|
1978
|
+
host_status?: OrgVolumeHostStatus;
|
|
1979
|
+
id?: string;
|
|
1980
|
+
name?: string;
|
|
1981
|
+
region?: string;
|
|
1982
|
+
size_gb?: number;
|
|
1983
|
+
snapshot_retention?: number;
|
|
1984
|
+
state?: string;
|
|
1985
|
+
type?: OrgVolumeType;
|
|
1986
|
+
updated_at?: string;
|
|
1987
|
+
zone?: string;
|
|
1988
|
+
}
|
|
1989
|
+
export declare const OrgVolume: S.Schema<OrgVolume>;
|
|
1990
|
+
export type OrgVolumesResponseVolumesList = Array<OrgVolume>;
|
|
1991
|
+
export declare const OrgVolumesResponseVolumesList: S.Schema<OrgVolumesResponseVolumesList>;
|
|
1992
|
+
export interface OrgVolumesResponse {
|
|
1993
|
+
last_updated_at?: string;
|
|
1994
|
+
last_volume_id?: string;
|
|
1995
|
+
next_cursor?: string;
|
|
1996
|
+
volumes?: OrgVolumesResponseVolumesList;
|
|
1997
|
+
}
|
|
1998
|
+
export declare const OrgVolumesResponse: S.Schema<OrgVolumesResponse>;
|
|
1999
|
+
export interface VolumesUpdateRequest {
|
|
2000
|
+
/** Fly App Name */
|
|
2001
|
+
app_name: string;
|
|
2002
|
+
/** Volume ID */
|
|
2003
|
+
volume_id: string;
|
|
2004
|
+
auto_backup_enabled?: boolean;
|
|
2005
|
+
snapshot_retention?: number;
|
|
2006
|
+
}
|
|
2007
|
+
export declare const VolumesUpdateRequest: S.Schema<VolumesUpdateRequest>;
|
|
2008
|
+
export type AppCertificatesAcmeCreateError = BadRequest | Forbidden | NotFound | UnprocessableEntity | FlyIoOpError;
|
|
2009
|
+
/** Request ACME certificate */
|
|
2010
|
+
export declare const appCertificatesAcmeCreate: API.OperationMethod<AppCertificatesAcmeCreateRequest, CertificateDetail, AppCertificatesAcmeCreateError, FlyIoOpContext>;
|
|
2011
|
+
export type AppCertificatesAcmeDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2012
|
+
/** Remove ACME certificates */
|
|
2013
|
+
export declare const appCertificatesAcmeDelete: API.OperationMethod<AppCertificatesAcmeDeleteRequest, CertificateDetail, AppCertificatesAcmeDeleteError, FlyIoOpContext>;
|
|
2014
|
+
export type AppCertificatesCheckError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2015
|
+
/** Check DNS and re-validate certificate */
|
|
2016
|
+
export declare const appCertificatesCheck: API.OperationMethod<AppCertificatesCheckRequest, CertificateCheckResponse, AppCertificatesCheckError, FlyIoOpContext>;
|
|
2017
|
+
export type AppCertificatesCustomCreateError = BadRequest | Forbidden | NotFound | UnprocessableEntity | FlyIoOpError;
|
|
2018
|
+
/** Upload custom certificate */
|
|
2019
|
+
export declare const appCertificatesCustomCreate: API.OperationMethod<AppCertificatesCustomCreateRequest, CertificateDetail, AppCertificatesCustomCreateError, FlyIoOpContext>;
|
|
2020
|
+
export type AppCertificatesCustomDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2021
|
+
/** Remove custom certificate */
|
|
2022
|
+
export declare const appCertificatesCustomDelete: API.OperationMethod<AppCertificatesCustomDeleteRequest, DestroyCustomCertificateResponse, AppCertificatesCustomDeleteError, FlyIoOpContext>;
|
|
2023
|
+
export type AppCertificatesDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2024
|
+
/** Remove certificate */
|
|
2025
|
+
export declare const appCertificatesDelete: API.OperationMethod<AppCertificatesDeleteRequest, AppCertificatesDeleteResponse, AppCertificatesDeleteError, FlyIoOpContext>;
|
|
2026
|
+
export type AppCertificatesListError = Forbidden | NotFound | FlyIoOpError;
|
|
2027
|
+
/** List certificates for app */
|
|
2028
|
+
export declare const appCertificatesList: API.OperationMethod<AppCertificatesListRequest, ListCertificatesResponse, AppCertificatesListError, FlyIoOpContext>;
|
|
2029
|
+
export type AppCertificatesShowError = Forbidden | NotFound | FlyIoOpError;
|
|
2030
|
+
/** Get certificate details */
|
|
2031
|
+
export declare const appCertificatesShow: API.OperationMethod<AppCertificatesShowRequest, CertificateDetail, AppCertificatesShowError, FlyIoOpContext>;
|
|
2032
|
+
export type AppCreateDeployTokenError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2033
|
+
/** Create App deploy token */
|
|
2034
|
+
export declare const appCreateDeployToken: API.OperationMethod<AppCreateDeployTokenRequest, CreateAppResponse, AppCreateDeployTokenError, FlyIoOpContext>;
|
|
2035
|
+
export type AppIPAssignmentsCreateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2036
|
+
/** Assign new IP address to app */
|
|
2037
|
+
export declare const appIPAssignmentsCreate: API.OperationMethod<AppIPAssignmentsCreateRequest, IPAssignment, AppIPAssignmentsCreateError, FlyIoOpContext>;
|
|
2038
|
+
export type AppIPAssignmentsDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2039
|
+
/** Remove IP assignment from app */
|
|
2040
|
+
export declare const appIPAssignmentsDelete: API.OperationMethod<AppIPAssignmentsDeleteRequest, AppIPAssignmentsDeleteResponse, AppIPAssignmentsDeleteError, FlyIoOpContext>;
|
|
2041
|
+
export type AppIPAssignmentsListError = Forbidden | NotFound | FlyIoOpError;
|
|
2042
|
+
/** List IP assignments for app */
|
|
2043
|
+
export declare const appIPAssignmentsList: API.OperationMethod<AppIPAssignmentsListRequest, ListIPAssignmentsResponse, AppIPAssignmentsListError, FlyIoOpContext>;
|
|
2044
|
+
export type AppsCreateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2045
|
+
/** Create App Create an app with the specified details in the request body. */
|
|
2046
|
+
export declare const appsCreate: API.OperationMethod<AppsCreateRequest, AppsCreateResponse, AppsCreateError, FlyIoOpContext>;
|
|
2047
|
+
export type AppsDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2048
|
+
/** Destroy App Delete an app by its name. */
|
|
2049
|
+
export declare const appsDelete: API.OperationMethod<AppsDeleteRequest, AppsDeleteResponse, AppsDeleteError, FlyIoOpContext>;
|
|
2050
|
+
export type AppsListError = Forbidden | FlyIoOpError;
|
|
2051
|
+
/** List Apps List all apps with the ability to filter by organization slug. */
|
|
2052
|
+
export declare const appsList: API.OperationMethod<AppsListRequest, ListAppsResponse, AppsListError, FlyIoOpContext>;
|
|
2053
|
+
export type AppsShowError = Forbidden | NotFound | FlyIoOpError;
|
|
2054
|
+
/** Get App Retrieve details about a specific app by its name. */
|
|
2055
|
+
export declare const appsShow: API.OperationMethod<AppsShowRequest, App, AppsShowError, FlyIoOpContext>;
|
|
2056
|
+
export type CreateVolumeSnapshotError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2057
|
+
/** Create Snapshot Create a snapshot for a specific volume within an app. */
|
|
2058
|
+
export declare const createVolumeSnapshot: API.OperationMethod<CreateVolumeSnapshotRequest, CreateVolumeSnapshotResponse, CreateVolumeSnapshotError, FlyIoOpContext>;
|
|
2059
|
+
export type CurrentTokenShowError = FlyIoOpError;
|
|
2060
|
+
/** Get Current Token Information Get information about the current macaroon token(s), including organizations, apps, user identity hashes, and machine restrictions */
|
|
2061
|
+
export declare const currentTokenShow: API.OperationMethod<CurrentTokenShowRequest, CurrentTokenResponse, CurrentTokenShowError, FlyIoOpContext>;
|
|
2062
|
+
export type MachinesCordonError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2063
|
+
/** Cordon Machine “Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones. */
|
|
2064
|
+
export declare const machinesCordon: API.OperationMethod<MachinesCordonRequest, MachinesCordonResponse, MachinesCordonError, FlyIoOpContext>;
|
|
2065
|
+
export type MachinesCreateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2066
|
+
/** Create Machine Create a Machine within a specific app using the details provided in the request body. **Important**: This request can fail, and you’re responsible for handling that failure. If you ask for a large Machine, or a Machine in a region we happen to be at capacity for, you might need to retry the request, or to fall back to another region. If you’re working directly with the Machines API, you’re taking some responsibility for your own orchestration! */
|
|
2067
|
+
export declare const machinesCreate: API.OperationMethod<MachinesCreateRequest, Machine, MachinesCreateError, FlyIoOpContext>;
|
|
2068
|
+
export type MachinesCreateLeaseError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2069
|
+
/** Create Lease Create a lease for a specific Machine within an app using the details provided in the request body. Machine leases can be used to obtain an exclusive lock on modifying a Machine. */
|
|
2070
|
+
export declare const machinesCreateLease: API.OperationMethod<MachinesCreateLeaseRequest, Lease, MachinesCreateLeaseError, FlyIoOpContext>;
|
|
2071
|
+
export type MachinesDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2072
|
+
/** Destroy Machine Delete a specific Machine within an app by Machine ID, with an optional force parameter to force kill the Machine if it's running. */
|
|
2073
|
+
export declare const machinesDelete: API.OperationMethod<MachinesDeleteRequest, MachinesDeleteResponse, MachinesDeleteError, FlyIoOpContext>;
|
|
2074
|
+
export type MachinesDeleteMetadataError = Forbidden | NotFound | FlyIoOpError;
|
|
2075
|
+
/** Delete Metadata Delete metadata for a specific Machine within an app by providing a metadata key. */
|
|
2076
|
+
export declare const machinesDeleteMetadata: API.OperationMethod<MachinesDeleteMetadataRequest, MachinesDeleteMetadataResponse, MachinesDeleteMetadataError, FlyIoOpContext>;
|
|
2077
|
+
export type MachinesExecError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2078
|
+
/** Execute Command Execute a command on a specific Machine and return the raw command output bytes. */
|
|
2079
|
+
export declare const machinesExec: API.OperationMethod<MachinesExecRequest, Flydv1ExecResponse, MachinesExecError, FlyIoOpContext>;
|
|
2080
|
+
export type MachinesGetMemoryError = Forbidden | NotFound | FlyIoOpError;
|
|
2081
|
+
/** Get Machine Memory Get current memory limit and available capacity for a machine */
|
|
2082
|
+
export declare const machinesGetMemory: API.OperationMethod<MachinesGetMemoryRequest, MainMemoryResponse, MachinesGetMemoryError, FlyIoOpContext>;
|
|
2083
|
+
export type MachinesGetMetadataKeyError = NotFound | FlyIoOpError;
|
|
2084
|
+
/** Get Metadata Value Get the value of a specific metadata key */
|
|
2085
|
+
export declare const machinesGetMetadataKey: API.OperationMethod<MachinesGetMetadataKeyRequest, MetadataValueResponse, MachinesGetMetadataKeyError, FlyIoOpContext>;
|
|
2086
|
+
export type MachinesListError = Forbidden | NotFound | FlyIoOpError;
|
|
2087
|
+
/** List Machines List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region. */
|
|
2088
|
+
export declare const machinesList: API.OperationMethod<MachinesListRequest, MachinesListResponse, MachinesListError, FlyIoOpContext>;
|
|
2089
|
+
export type MachinesListEventsError = Forbidden | NotFound | FlyIoOpError;
|
|
2090
|
+
/** List Events List all events associated with a specific Machine within an app. */
|
|
2091
|
+
export declare const machinesListEvents: API.OperationMethod<MachinesListEventsRequest, MachinesListEventsResponse, MachinesListEventsError, FlyIoOpContext>;
|
|
2092
|
+
export type MachinesListProcessesError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2093
|
+
/** List Processes List all processes running on a specific Machine within an app, with optional sorting parameters. */
|
|
2094
|
+
export declare const machinesListProcesses: API.OperationMethod<MachinesListProcessesRequest, MachinesListProcessesResponse, MachinesListProcessesError, FlyIoOpContext>;
|
|
2095
|
+
export type MachinesListVersionsError = Forbidden | NotFound | FlyIoOpError;
|
|
2096
|
+
/** List Versions List all versions of the configuration for a specific Machine within an app. */
|
|
2097
|
+
export declare const machinesListVersions: API.OperationMethod<MachinesListVersionsRequest, MachinesListVersionsResponse, MachinesListVersionsError, FlyIoOpContext>;
|
|
2098
|
+
export type MachinesOrgListError = Forbidden | NotFound | FlyIoOpError;
|
|
2099
|
+
/** List All Machines List all Machines associated with a specific organization. Machines are sorted by their `updated_at` timestamps, oldest to newest. This API call represents "a point in time". Recent machine changes, including creations and destructions, may take time to propagate. When polling with `updated_after`, offset your timestamps to catch late-arriving events. */
|
|
2100
|
+
export declare const machinesOrgList: API.OperationMethod<MachinesOrgListRequest, OrgMachinesResponse, MachinesOrgListError, FlyIoOpContext>;
|
|
2101
|
+
export type MachinesReclaimMemoryError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2102
|
+
/** Reclaim Machine Memory Trigger the balloon device to reclaim memory from a machine */
|
|
2103
|
+
export declare const machinesReclaimMemory: API.OperationMethod<MachinesReclaimMemoryRequest, MainReclaimMemoryResponse, MachinesReclaimMemoryError, FlyIoOpContext>;
|
|
2104
|
+
export type MachinesReleaseLeaseError = Forbidden | NotFound | FlyIoOpError;
|
|
2105
|
+
/** Release Lease Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine. */
|
|
2106
|
+
export declare const machinesReleaseLease: API.OperationMethod<MachinesReleaseLeaseRequest, MachinesReleaseLeaseResponse, MachinesReleaseLeaseError, FlyIoOpContext>;
|
|
2107
|
+
export type MachinesRestartError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2108
|
+
/** Restart Machine Restart a specific Machine within an app, with an optional timeout parameter. */
|
|
2109
|
+
export declare const machinesRestart: API.OperationMethod<MachinesRestartRequest, MachinesRestartResponse, MachinesRestartError, FlyIoOpContext>;
|
|
2110
|
+
export type MachinesSetMemoryLimitError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2111
|
+
/** Set Machine Memory Limit Set the memory limit for a machine using the balloon device */
|
|
2112
|
+
export declare const machinesSetMemoryLimit: API.OperationMethod<MachinesSetMemoryLimitRequest, MainMemoryResponse, MachinesSetMemoryLimitError, FlyIoOpContext>;
|
|
2113
|
+
export type MachinesShowError = Forbidden | NotFound | FlyIoOpError;
|
|
2114
|
+
/** Get Machine Get details of a specific Machine within an app by the Machine ID. */
|
|
2115
|
+
export declare const machinesShow: API.OperationMethod<MachinesShowRequest, Machine, MachinesShowError, FlyIoOpContext>;
|
|
2116
|
+
export type MachinesShowLeaseError = Forbidden | NotFound | FlyIoOpError;
|
|
2117
|
+
/** Get Lease Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine. */
|
|
2118
|
+
export declare const machinesShowLease: API.OperationMethod<MachinesShowLeaseRequest, Lease, MachinesShowLeaseError, FlyIoOpContext>;
|
|
2119
|
+
export type MachinesShowMetadataError = Forbidden | NotFound | FlyIoOpError;
|
|
2120
|
+
/** Get Metadata Retrieve metadata for a specific Machine within an app. */
|
|
2121
|
+
export declare const machinesShowMetadata: API.OperationMethod<MachinesShowMetadataRequest, MachinesShowMetadataResponse, MachinesShowMetadataError, FlyIoOpContext>;
|
|
2122
|
+
export type MachinesSignalError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2123
|
+
/** Signal Machine Send a signal to a specific Machine within an app using the details provided in the request body. */
|
|
2124
|
+
export declare const machinesSignal: API.OperationMethod<MachinesSignalRequest, MachinesSignalResponse, MachinesSignalError, FlyIoOpContext>;
|
|
2125
|
+
export type MachinesStartError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2126
|
+
/** Start Machine Start a specific Machine within an app. */
|
|
2127
|
+
export declare const machinesStart: API.OperationMethod<MachinesStartRequest, MachinesStartResponse, MachinesStartError, FlyIoOpContext>;
|
|
2128
|
+
export type MachinesStopError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2129
|
+
/** Stop Machine Stop a specific Machine within an app, with an optional request body to specify signal and timeout. */
|
|
2130
|
+
export declare const machinesStop: API.OperationMethod<MachinesStopRequest, MachinesStopResponse, MachinesStopError, FlyIoOpContext>;
|
|
2131
|
+
export type MachinesSuspendError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2132
|
+
/** Suspend Machine Suspend a specific Machine within an app. The next start operation will attempt (but is not guaranteed) to resume the Machine from a snapshot taken at suspension time, rather than performing a cold boot. */
|
|
2133
|
+
export declare const machinesSuspend: API.OperationMethod<MachinesSuspendRequest, MachinesSuspendResponse, MachinesSuspendError, FlyIoOpContext>;
|
|
2134
|
+
export type MachinesUncordonError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2135
|
+
/** Uncordon Machine “Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones. */
|
|
2136
|
+
export declare const machinesUncordon: API.OperationMethod<MachinesUncordonRequest, MachinesUncordonResponse, MachinesUncordonError, FlyIoOpContext>;
|
|
2137
|
+
export type MachinesUpdateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2138
|
+
/** Update Machine Update a Machine's configuration using the details provided in the request body. */
|
|
2139
|
+
export declare const machinesUpdate: API.OperationMethod<MachinesUpdateRequest, Machine, MachinesUpdateError, FlyIoOpContext>;
|
|
2140
|
+
export type MachinesUpdateMetadataError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2141
|
+
/** Update Metadata (set/remove multiple keys) Update multiple metadata keys at once. Null values and empty strings remove keys. + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed. */
|
|
2142
|
+
export declare const machinesUpdateMetadata: API.OperationMethod<MachinesUpdateMetadataRequest, MachinesUpdateMetadataResponse, MachinesUpdateMetadataError, FlyIoOpContext>;
|
|
2143
|
+
export type MachinesUpdateMetadata2Error = BadRequest | FlyIoOpError;
|
|
2144
|
+
/** Update Metadata (set/remove multiple keys) Update multiple metadata keys at once. Null values and empty strings remove keys. + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed. */
|
|
2145
|
+
export declare const machinesUpdateMetadata2: API.OperationMethod<MachinesUpdateMetadataRequest2, MachinesUpdateMetadata2Response, MachinesUpdateMetadata2Error, FlyIoOpContext>;
|
|
2146
|
+
export type MachinesUpsertMetadataError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2147
|
+
/** Upsert Metadata Key Update metadata for a specific machine within an app by providing a metadata key. */
|
|
2148
|
+
export declare const machinesUpsertMetadata: API.OperationMethod<MachinesUpsertMetadataRequest, MachinesUpsertMetadataResponse, MachinesUpsertMetadataError, FlyIoOpContext>;
|
|
2149
|
+
export type MachinesWaitError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2150
|
+
/** Wait for State Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`. This request will block for up to 60 seconds. Set a shorter timeout with the timeout parameter. */
|
|
2151
|
+
export declare const machinesWait: API.OperationMethod<MachinesWaitRequest, WaitMachineResponse, MachinesWaitError, FlyIoOpContext>;
|
|
2152
|
+
export type PlatformPlacementsPostError = BadRequest | Forbidden | FlyIoOpError;
|
|
2153
|
+
/** Get Placements Simulates placing the specified number of machines into regions, depending on available capacity and limits. */
|
|
2154
|
+
export declare const platformPlacementsPost: API.OperationMethod<PlatformPlacementsPostRequest, MainGetPlacementsResponse, PlatformPlacementsPostError, FlyIoOpContext>;
|
|
2155
|
+
export type PlatformRegionsGetError = Forbidden | FlyIoOpError;
|
|
2156
|
+
/** Get Regions List all regions on the platform with their details. */
|
|
2157
|
+
export declare const platformRegionsGet: API.OperationMethod<PlatformRegionsGetRequest, MainRegionResponse, PlatformRegionsGetError, FlyIoOpContext>;
|
|
2158
|
+
export type SecretCreateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2159
|
+
/** Create or update Secret */
|
|
2160
|
+
export declare const secretCreate: API.OperationMethod<SecretCreateRequest, SetAppSecretResponse, SecretCreateError, FlyIoOpContext>;
|
|
2161
|
+
export type SecretDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2162
|
+
/** Delete an app secret */
|
|
2163
|
+
export declare const secretDelete: API.OperationMethod<SecretDeleteRequest, DeleteAppSecretResponse, SecretDeleteError, FlyIoOpContext>;
|
|
2164
|
+
export type SecretGetError = Forbidden | NotFound | FlyIoOpError;
|
|
2165
|
+
/** Get an app secret */
|
|
2166
|
+
export declare const secretGet: API.OperationMethod<SecretGetRequest, AppSecret, SecretGetError, FlyIoOpContext>;
|
|
2167
|
+
export type SecretkeyDecryptError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2168
|
+
/** Decrypt with a secret key */
|
|
2169
|
+
export declare const secretkeyDecrypt: API.OperationMethod<SecretkeyDecryptRequest, DecryptSecretkeyResponse, SecretkeyDecryptError, FlyIoOpContext>;
|
|
2170
|
+
export type SecretkeyDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2171
|
+
/** Delete an app's secret key */
|
|
2172
|
+
export declare const secretkeyDelete: API.OperationMethod<SecretkeyDeleteRequest, DeleteSecretkeyResponse, SecretkeyDeleteError, FlyIoOpContext>;
|
|
2173
|
+
export type SecretkeyEncryptError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2174
|
+
/** Encrypt with a secret key */
|
|
2175
|
+
export declare const secretkeyEncrypt: API.OperationMethod<SecretkeyEncryptRequest, EncryptSecretkeyResponse, SecretkeyEncryptError, FlyIoOpContext>;
|
|
2176
|
+
export type SecretkeyGenerateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2177
|
+
/** Generate a random secret key */
|
|
2178
|
+
export declare const secretkeyGenerate: API.OperationMethod<SecretkeyGenerateRequest, SetSecretkeyResponse, SecretkeyGenerateError, FlyIoOpContext>;
|
|
2179
|
+
export type SecretkeyGetError = Forbidden | NotFound | FlyIoOpError;
|
|
2180
|
+
/** Get an app's secret key */
|
|
2181
|
+
export declare const secretkeyGet: API.OperationMethod<SecretkeyGetRequest, SecretKey, SecretkeyGetError, FlyIoOpContext>;
|
|
2182
|
+
export type SecretkeySetError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2183
|
+
/** Create or update a secret key */
|
|
2184
|
+
export declare const secretkeySet: API.OperationMethod<SecretkeySetRequest, SetSecretkeyResponse, SecretkeySetError, FlyIoOpContext>;
|
|
2185
|
+
export type SecretkeySignError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2186
|
+
/** Sign with a secret key */
|
|
2187
|
+
export declare const secretkeySign: API.OperationMethod<SecretkeySignRequest, SignSecretkeyResponse, SecretkeySignError, FlyIoOpContext>;
|
|
2188
|
+
export type SecretkeysListError = Forbidden | NotFound | FlyIoOpError;
|
|
2189
|
+
/** List secret keys belonging to an app */
|
|
2190
|
+
export declare const secretkeysList: API.OperationMethod<SecretkeysListRequest, SecretKeys, SecretkeysListError, FlyIoOpContext>;
|
|
2191
|
+
export type SecretkeyVerifyError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2192
|
+
/** Verify with a secret key */
|
|
2193
|
+
export declare const secretkeyVerify: API.OperationMethod<SecretkeyVerifyRequest, SecretkeyVerifyResponse, SecretkeyVerifyError, FlyIoOpContext>;
|
|
2194
|
+
export type SecretsListError = Forbidden | NotFound | FlyIoOpError;
|
|
2195
|
+
/** List app secrets belonging to an app */
|
|
2196
|
+
export declare const secretsList: API.OperationMethod<SecretsListRequest, AppSecrets, SecretsListError, FlyIoOpContext>;
|
|
2197
|
+
export type SecretsUpdateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2198
|
+
/** Update app secrets belonging to an app */
|
|
2199
|
+
export declare const secretsUpdate: API.OperationMethod<SecretsUpdateRequest, AppSecretsUpdateResp, SecretsUpdateError, FlyIoOpContext>;
|
|
2200
|
+
export type TokensAuthenticateError = BadRequest | FlyIoOpError;
|
|
2201
|
+
/** Authenticate token header Verify a token header without checking resource access. */
|
|
2202
|
+
export declare const tokensAuthenticate: API.OperationMethod<TokensAuthenticateRequest, TokensAuthenticateResponse, TokensAuthenticateError, FlyIoOpContext>;
|
|
2203
|
+
export type TokensAuthorizeError = BadRequest | FlyIoOpError;
|
|
2204
|
+
/** Authorize token for resource access Verify a token header and validate it against a requested access scope. */
|
|
2205
|
+
export declare const tokensAuthorize: API.OperationMethod<TokensAuthorizeRequest, AuthorizeResponse, TokensAuthorizeError, FlyIoOpContext>;
|
|
2206
|
+
export type TokensRequestKmsError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2207
|
+
/** Request a Petsem token for accessing KMS This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource. */
|
|
2208
|
+
export declare const tokensRequestKms: API.OperationMethod<TokensRequestKmsRequest, TokensRequestKmsResponse, TokensRequestKmsError, FlyIoOpContext>;
|
|
2209
|
+
export type TokensRequestOIDCError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2210
|
+
/** Request an OIDC token Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io. */
|
|
2211
|
+
export declare const tokensRequestOIDC: API.OperationMethod<TokensRequestOIDCRequest, TokensRequestOIDCResponse, TokensRequestOIDCError, FlyIoOpContext>;
|
|
2212
|
+
export type VolumeDeleteError = Forbidden | NotFound | FlyIoOpError;
|
|
2213
|
+
/** Destroy Volume Delete a specific volume within an app by volume ID. */
|
|
2214
|
+
export declare const volumeDelete: API.OperationMethod<VolumeDeleteRequest, Volume, VolumeDeleteError, FlyIoOpContext>;
|
|
2215
|
+
export type VolumesCreateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2216
|
+
/** Create Volume Create a volume for a specific app using the details provided in the request body. */
|
|
2217
|
+
export declare const volumesCreate: API.OperationMethod<VolumesCreateRequest, Volume, VolumesCreateError, FlyIoOpContext>;
|
|
2218
|
+
export type VolumesExtendError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2219
|
+
/** Extend Volume Extend a volume's size within an app using the details provided in the request body. */
|
|
2220
|
+
export declare const volumesExtend: API.OperationMethod<VolumesExtendRequest, ExtendVolumeResponse, VolumesExtendError, FlyIoOpContext>;
|
|
2221
|
+
export type VolumesGetByIdError = Forbidden | NotFound | FlyIoOpError;
|
|
2222
|
+
/** Get Volume Retrieve details about a specific volume by its ID within an app. */
|
|
2223
|
+
export declare const volumesGetById: API.OperationMethod<VolumesGetByIdRequest, Volume, VolumesGetByIdError, FlyIoOpContext>;
|
|
2224
|
+
export type VolumesListError = Forbidden | NotFound | FlyIoOpError;
|
|
2225
|
+
/** List Volumes List all volumes associated with a specific app. */
|
|
2226
|
+
export declare const volumesList: API.OperationMethod<VolumesListRequest, VolumesListResponse, VolumesListError, FlyIoOpContext>;
|
|
2227
|
+
export type VolumesListSnapshotsError = Forbidden | NotFound | FlyIoOpError;
|
|
2228
|
+
/** List Snapshots List all snapshots for a specific volume within an app. */
|
|
2229
|
+
export declare const volumesListSnapshots: API.OperationMethod<VolumesListSnapshotsRequest, VolumesListSnapshotsResponse, VolumesListSnapshotsError, FlyIoOpContext>;
|
|
2230
|
+
export type VolumesOrgListError = FlyIoOpError;
|
|
2231
|
+
/** List All Volumes List all volumes for an organization with optional filters and cursor-based pagination. */
|
|
2232
|
+
export declare const volumesOrgList: API.OperationMethod<VolumesOrgListRequest, OrgVolumesResponse, VolumesOrgListError, FlyIoOpContext>;
|
|
2233
|
+
export type VolumesUpdateError = BadRequest | Forbidden | NotFound | FlyIoOpError;
|
|
2234
|
+
/** Update Volume Update a volume's configuration using the details provided in the request body. */
|
|
2235
|
+
export declare const volumesUpdate: API.OperationMethod<VolumesUpdateRequest, Volume, VolumesUpdateError, FlyIoOpContext>;
|
|
2236
|
+
//# sourceMappingURL=machines.d.ts.map
|