@@ -529,13 +529,15 @@ async def reboot_server(
529529 server_id : str ,
530530 zone : Optional [ScwZone ] = None ,
531531 boot_type : Optional [ServerBootType ] = None ,
532+ ssh_key_ids : Optional [List [str ]] = None ,
532533 ) -> Server :
533534 """
534535 Reboot an Elastic Metal server.
535536 Reboot the Elastic Metal server associated with the ID, use the `boot_type` `rescue` to reboot the server in rescue mode.
536537 :param server_id: ID of the server to reboot.
537538 :param zone: Zone to target. If none is passed will use default zone from the config.
538539 :param boot_type: The type of boot.
540+ :param ssh_key_ids: Additional SSH public key IDs to configure on rescue image.
539541 :return: :class:`Server <Server>`
540542
541543 Usage:
@@ -557,6 +559,7 @@ async def reboot_server(
557559 server_id = server_id ,
558560 zone = zone ,
559561 boot_type = boot_type ,
562+ ssh_key_ids = ssh_key_ids ,
560563 ),
561564 self .client ,
562565 ),
@@ -571,13 +574,15 @@ async def start_server(
571574 server_id : str ,
572575 zone : Optional [ScwZone ] = None ,
573576 boot_type : Optional [ServerBootType ] = None ,
577+ ssh_key_ids : Optional [List [str ]] = None ,
574578 ) -> Server :
575579 """
576580 Start an Elastic Metal server.
577581 Start the server associated with the ID.
578582 :param server_id: ID of the server to start.
579583 :param zone: Zone to target. If none is passed will use default zone from the config.
580584 :param boot_type: The type of boot.
585+ :param ssh_key_ids: Additional SSH public key IDs to configure on rescue image.
581586 :return: :class:`Server <Server>`
582587
583588 Usage:
@@ -599,6 +604,7 @@ async def start_server(
599604 server_id = server_id ,
600605 zone = zone ,
601606 boot_type = boot_type ,
607+ ssh_key_ids = ssh_key_ids ,
602608 ),
603609 self .client ,
604610 ),
0 commit comments