selfprivacy-rest-api/selfprivacy_api/graphql/queries/providers.py
2023-05-17 20:27:40 +00:00

24 lines
486 B
Python

"""Enums representing different service providers."""
from enum import Enum
import strawberry
@strawberry.enum
class DnsProvider(Enum):
CLOUDFLARE = "CLOUDFLARE"
DIGITALOCEAN = "DIGITALOCEAN"
DESEC = "DESEC"
@strawberry.enum
class ServerProvider(Enum):
HETZNER = "HETZNER"
DIGITALOCEAN = "DIGITALOCEAN"
@strawberry.enum
class BackupProvider(Enum):
BACKBLAZE = "BACKBLAZE"
# for testing purposes, make sure not selectable in prod.
MEMORY = "MEMORY"