upcloud-python-api icon indicating copy to clipboard operation
upcloud-python-api copied to clipboard

Create server while attaching existing storage

Open matof opened this issue 11 months ago • 1 comments

In API documentation I see option to create server while attaching existing storage: Creating new server API docs

I see no such possibility in upcloud-python-api. Is that true? Is it possible to somehow create new server while attaching existing storage without cloning it? Thanks

matof avatar Jan 21 '25 13:01 matof

Hello!

During the server creation itself, it is indeed not possible at the moment. You can attach a storage right after the creation with add_storage(), see the docs here and source code here.

villevsv-upcloud avatar Jan 23 '25 09:01 villevsv-upcloud