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

    Interface HetznerNetworkAttachment

    Props for HtzNetworkAttachment.

    Attaches a Server to a Network via the attach_to_network action.

    interface HetznerNetworkAttachment {
        aliasIps?: (string | IResolvable)[];
        ip?: string;
        ipRange?: string;
        networkId: number | IResolvable;
        serverId: number | IResolvable;
    }
    Index

    Properties

    aliasIps?: (string | IResolvable)[]

    Additional IPs to assign to the Server.

    ip?: string

    IP to assign to the Server. If not provided, an IP will be auto-assigned.

    ipRange?: string

    Subnet CIDR to auto-assign IP from. Must be a subnet of the Network.

    networkId: number | IResolvable

    ID of the Network to attach the Server to.

    serverId: number | IResolvable

    ID of the Server to attach to the Network.