UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

28 lines 916 B
import { AllocationPool } from '../project/AllocationPool'; import { IpBlock } from '../../IpBlock'; import { Ip } from '../../Ip'; import { HostRoute } from './HostRoute'; /** Parameters to create a subnet from another resource creation */ export interface CreateSubnetSummary { /** List of ip pools allocated in subnet */ allocationPools: AllocationPool[]; /** Subnet range in CIDR notation */ cidr: IpBlock; /** DNS nameservers */ dnsNameServers: Ip[]; /** Enable DHCP for the subnet */ enableDhcp: boolean; /** Set a gateway ip for the subnet */ enableGatewayIp: boolean; /** Gateway IP */ gatewayIp: Ip; /** Host routes */ hostRoutes: HostRoute[]; /** IP version */ ipVersion: number; /** Subnet name */ name: string; /** Use default DNS */ useDefaultPublicDNSResolver?: boolean; } //# sourceMappingURL=CreateSubnetSummary.d.ts.map