interface HostingService {
    active_deployment?: null | HostingServiceDeployment;
    capacity_model: HostingCapacityModel;
    container_cpu: number;
    container_memory_mb: number;
    database_bindings: string[];
    depends_on: string[];
    deployments?: HostingServiceDeployment[];
    health_check_path?: null | string;
    hosting_site_id: string;
    id: string;
    is_primary: boolean;
    liveness_check_path?: null | string;
    max_replicas: number;
    min_replicas: number;
    name: string;
    public_paths: string[];
    readiness_check_path?: null | string;
    role: HostingServiceRole;
    runtime: "node" | "python" | "rust" | "container";
    schedule_cron?: null | string;
    secret_names: string[];
    slug: string;
    startup_check_path?: null | string;
    status: "failed" | "active" | "draft" | "disabled" | "deploying";
    target_port?: null | number;
    termination_grace_seconds: number;
    transport: "http" | "http2" | "tcp";
    visibility: HostingServiceVisibility;
    volumes: HostingServiceVolume[];
}

Properties

active_deployment?: null | HostingServiceDeployment
capacity_model: HostingCapacityModel
container_cpu: number
container_memory_mb: number
database_bindings: string[]
depends_on: string[]
deployments?: HostingServiceDeployment[]
health_check_path?: null | string
hosting_site_id: string
id: string
is_primary: boolean
liveness_check_path?: null | string
max_replicas: number
min_replicas: number
name: string
public_paths: string[]
readiness_check_path?: null | string
runtime: "node" | "python" | "rust" | "container"
schedule_cron?: null | string
secret_names: string[]
slug: string
startup_check_path?: null | string
status: "failed" | "active" | "draft" | "disabled" | "deploying"
target_port?: null | number
termination_grace_seconds: number
transport: "http" | "http2" | "tcp"

Generated using TypeDoc