UNPKG

palette-sdk-typescript

Version:

TypeScript SDK for Spectro Cloud Palette API

44 lines 2.29 kB
/** * Copyright (c) Spectro Cloud * SPDX-License-Identifier: Apache-2.0 */ /** * Generated by orval v7.17.0 🍺 * Do not edit manually. * Palette APIs - 4.8 * OpenAPI spec version: v1 */ import type { VmInterfaceBridge } from './vmInterfaceBridge'; import type { VmDHCPOptions } from './vmDHCPOptions'; import type { VmInterfaceMacvtap } from './vmInterfaceMacvtap'; import type { VmInterfaceMasquerade } from './vmInterfaceMasquerade'; import type { VmInterfacePasst } from './vmInterfacePasst'; import type { VmPort } from './vmPort'; import type { VmInterfaceSlirp } from './vmInterfaceSlirp'; import type { VmInterfaceSRIOV } from './vmInterfaceSRIOV'; export type VmInterface = { /** If specified, the ACPI index is used to provide network interface device naming, that is stable across changes in PCI addresses assigned to the device. This value is required to be unique across all devices and be between 1 and (16*1024-1). */ acpiIndex?: number; /** BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried. */ bootOrder?: number; bridge?: VmInterfaceBridge; dhcpOptions?: VmDHCPOptions; /** Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF. */ macAddress?: string; macvtap?: VmInterfaceMacvtap; masquerade?: VmInterfaceMasquerade; /** Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio. */ model?: string; /** Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network. */ name: string; passt?: VmInterfacePasst; /** If specified, the virtual network interface will be placed on the guests pci address with the specified PCI address. For example: 0000:81:01.10 */ pciAddress?: string; /** List of ports to be forwarded to the virtual machine. */ ports?: VmPort[]; slirp?: VmInterfaceSlirp; sriov?: VmInterfaceSRIOV; /** If specified, the virtual network interface address and its tag will be provided to the guest via config drive */ tag?: string; }; //# sourceMappingURL=vmInterface.d.ts.map