CreateGatewayRequest: {
    bastionPort?: number;
    enableBastion: boolean;
    enableSmtp: boolean;
    ipId?: string;
    name?: string;
    projectId?: string;
    tags?: string[];
    type: string;
    upstreamDnsServers?: string[];
    zone?: Zone;
}

Type declaration

  • OptionalbastionPort?: number

    Port of the SSH bastion.

  • enableBastion: boolean

    Defines whether SSH bastion should be enabled the gateway.

  • enableSmtp: boolean

    Defines whether SMTP traffic should be allowed pass through the gateway.

  • OptionalipId?: string

    Existing IP address to attach to the gateway.

  • Optionalname?: string

    Name for the gateway.

  • OptionalprojectId?: string

    Scaleway Project to create the gateway in.

  • Optionaltags?: string[]

    Tags for the gateway.

  • type: string

    Gateway type (commercial offer type).

  • OptionalupstreamDnsServers?: string[]

    Array of DNS server IP addresses to override the gateway's default recursive DNS servers.

  • Optionalzone?: Zone

    Zone to target. If none is passed will use default zone from the config.