Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create server while attaching existing storage #164

Open
matof opened this issue Jan 21, 2025 · 1 comment
Open

Create server while attaching existing storage #164

matof opened this issue Jan 21, 2025 · 1 comment

Comments

@matof
Copy link

matof commented Jan 21, 2025

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

@villevsv-upcloud
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants