ServerActionRequest: {
    action?: ServerAction;
    disableIpv6?: boolean;
    name?: string;
    serverId: string;
    volumes?: Record<string, ServerActionRequestVolumeBackupTemplate>;
    zone?: Zone;
}

Type declaration

  • Optionalaction?: ServerAction

    Action to perform on the Instance.

  • OptionaldisableIpv6?: boolean

    Disable IPv6 on the Instance while performing migration to routed IPs. This field should only be specified when performing a enable_routed_ip action.

  • Optionalname?: string

    Name of the backup you want to create. This field should only be specified when performing a backup action.

  • serverId: string

    UUID of the Instance.

  • Optionalvolumes?: Record<string, ServerActionRequestVolumeBackupTemplate>

    For each volume UUID, the snapshot parameters of the volume. This field should only be specified when performing a backup action.

  • Optionalzone?: Zone

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