// Get the boot configuration for a server // Replace 1825193 with the server number you want to fetch let boot_config = hetzner.get_boot_configuration(1825193); print(boot_config); // Get the rescue boot configuration for a server // Replace 1825193 with the server number you want to fetch let rescue_config = hetzner.get_rescue_boot_configuration(1825193); print(rescue_config); // Enable rescue mode // Replace 1825193 with the server number you want to enable rescue mode on // Replace "linux" with the desired OS // Replace the fingerprint with your SSH key fingerprint //let enabled_rescue = hetzner.enable_rescue_mode(1825193, "linux", ["13:dc:a2:1e:a9:d2:1d:a9:39:f4:44:c5:f1:00:ec:c7"]); //print(enabled_rescue); // Disable rescue mode // Replace 1825193 with the server number you want to disable rescue mode on //let disabled_rescue = hetzner.disable_rescue_mode(1825193); //print(disabled_rescue);