sometimes the docs are slightly off.
check out this
https://www.pulumi.com/registry/packages/hcloud/api-docs/server/
and see if you can figure out what should be done.
If that doesn't get you anywhere, the way I find out is by looking through pulumi source files.