Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • VMPrimitive

Index

Constructors

Methods

  • _createMachineNetwork(networkName: string, ip: string, planetary: boolean, public_ip?: string): ZmachineNetwork
  • create(name: string, flist: string, cpu: number, memory: number, rootfs_size: number, disks: Mount[], networkName: string, ip: string, planetary: boolean, public_ip: string, entrypoint: string, env: Record<string, unknown>, metadata?: string, description?: string, version?: number, corex?: boolean, gpus?: string[]): Workload
  • Parameters

    • name: string
    • flist: string
    • cpu: number
    • memory: number
    • rootfs_size: number
    • disks: Mount[]
    • networkName: string
    • ip: string
    • planetary: boolean
    • public_ip: string
    • entrypoint: string
    • env: Record<string, unknown>
    • metadata: string = ""
    • description: string = ""
    • version: number = 0
    • corex: boolean = false
    • gpus: string[] = []

    Returns Workload

Generated using TypeDoc