UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

26 lines 732 B
import { AllocationPool } from './AllocationPool'; import { IpBlock } from '../../IpBlock'; import { Ip } from '../../Ip'; import { HostRoute } from '../network/HostRoute'; /** Subnet */ export interface Subnet { /** List of ip pools allocated in subnet */ allocationPools: AllocationPool[]; /** Subnet CIDR */ cidr: IpBlock; /** If DHCP is enabled on subnet */ dhcpEnabled: boolean; /** DNS nameservers */ dnsNameServers: Ip[]; /** Gateway IP */ gatewayIp?: Ip; /** Subnet host routes */ hostRoutes: HostRoute[]; /** Subnet id */ id: string; /** IP Version (4 or 6) */ ipVersion: number; /** Subnet name */ name: string; } //# sourceMappingURL=Subnet.d.ts.map