selfprivacy-rest-api/selfprivacy_api/graphql/queries/providers.py

22 lines
402 B
Python
Raw Normal View History

2022-06-24 12:26:51 +00:00
"""Enums representing different service providers."""
from enum import Enum
import strawberry
2022-06-24 18:14:20 +00:00
2022-06-24 12:26:51 +00:00
@strawberry.enum
class DnsProvider(Enum):
CLOUDFLARE = "CLOUDFLARE"
DIGITALOCEAN = "DIGITALOCEAN"
2023-05-09 08:58:30 +00:00
DESEC = "DESEC"
2022-06-24 12:26:51 +00:00
2022-06-24 18:14:20 +00:00
2022-06-24 12:26:51 +00:00
@strawberry.enum
class ServerProvider(Enum):
HETZNER = "HETZNER"
2022-10-28 11:55:21 +00:00
DIGITALOCEAN = "DIGITALOCEAN"
@strawberry.enum
class BackupProvider(Enum):
BACKBLAZE = "BACKBLAZE"