mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
feat: return server type category (#687)
##### SUMMARY Related to https://docs.hetzner.cloud/changelog#2025-08-25-category-for-server-types
This commit is contained in:
parent
923057c7b6
commit
3d809cbc6f
2 changed files with 8 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue