1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

feat: return server type category

This commit is contained in:
jo 2025-09-08 12:45:34 +02:00
parent 923057c7b6
commit fc56b9faeb
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- server_type_info - Return new ``category`` property.

View file

@ -65,6 +65,11 @@ hcloud_server_type_info:
returned: always
type: str
sample: Falkenstein DC Park 1
category:
description: Category of Server Type
returned: always
type: str
sample: Shared vCPU
cores:
description: Number of cpu cores a server of this type will have
returned: always
@ -151,6 +156,7 @@ class AnsibleHCloudServerTypeInfo(AnsibleHCloud):
"id": server_type.id,
"name": server_type.name,
"description": server_type.description,
"category": server_type.category,
"cores": server_type.cores,
"memory": server_type.memory,
"disk": server_type.disk,