ionos-cloud / sdk-python

Apache License 2.0
2 stars 3 forks source link

Server Deployment: Add server to backupunit #17

Open docktordreh opened 1 year ago

docktordreh commented 1 year ago

Current SDK Version

-

Use-cases

Recently I noticed, that when deploying a server via Web UI, there is an option to add the server to a backupunit. It would be great, if this option was also available via API, which could then be integrated in the ansible collection, further increasing automation.

I understand that this would first off be a change in the current API and therefore the change would imply a change in your backend software, so this isn't really just a feature request for the sdk, but the best place I could think of to put the request.

Attempted Solutions

-

Proposal

When creating a server via API, allow to add the server to a backupunit. A possibility to reflect that in the API might be to allow for a parameter for the backupunit_id either to the Server model or the ServerProperties.

There is no need from our side for changing backupunits after the deployment, so maybe this would be a small change(?)

References

-

Let me know what you think! All the best