@cdk-x/hetzner
    Preparing search index...

    Interface HetznerSubnet

    Props for HtzSubnet.

    Manages a subnet added to an existing Hetzner Cloud Network via the add_subnet action.

    interface HetznerSubnet {
        ipRange?: string;
        networkId: number | IResolvable;
        networkZone: NetworkZone;
        type: NetworkSubnetType;
        vswitchId?: number | IResolvable;
    }
    Index

    Properties

    ipRange?: string

    IP range of the subnet in CIDR notation. If omitted, a /24 within the Network's ip_range is automatically allocated.

    networkId: number | IResolvable

    ID of the Network to add the subnet to.

    networkZone: NetworkZone

    Name of the Network Zone.

    Type of subnet.

    vswitchId?: number | IResolvable

    ID of the robot vSwitch. Required when type is 'vswitch'.