@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
28 lines • 871 B
TypeScript
import { AllocationPool } from '../project/AllocationPool';
import { IpBlock } from '../../IpBlock';
import { Ip } from '../../Ip';
import { HostRoute } from './HostRoute';
/** Parameters to create a subnet */
export interface CreateSubnet {
/** 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=CreateSubnet.d.ts.map