mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 16:11: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
2
changelogs/fragments/add-server-type-category.yml
Normal file
2
changelogs/fragments/add-server-type-category.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- server_type_info - Return new Server Type ``category`` property.
|
||||||
|
|
@ -65,6 +65,11 @@ hcloud_server_type_info:
|
||||||
returned: always
|
returned: always
|
||||||
type: str
|
type: str
|
||||||
sample: Falkenstein DC Park 1
|
sample: Falkenstein DC Park 1
|
||||||
|
category:
|
||||||
|
description: Category of Server Type
|
||||||
|
returned: always
|
||||||
|
type: str
|
||||||
|
sample: Shared vCPU
|
||||||
cores:
|
cores:
|
||||||
description: Number of cpu cores a server of this type will have
|
description: Number of cpu cores a server of this type will have
|
||||||
returned: always
|
returned: always
|
||||||
|
|
@ -151,6 +156,7 @@ class AnsibleHCloudServerTypeInfo(AnsibleHCloud):
|
||||||
"id": server_type.id,
|
"id": server_type.id,
|
||||||
"name": server_type.name,
|
"name": server_type.name,
|
||||||
"description": server_type.description,
|
"description": server_type.description,
|
||||||
|
"category": server_type.category,
|
||||||
"cores": server_type.cores,
|
"cores": server_type.cores,
|
||||||
"memory": server_type.memory,
|
"memory": server_type.memory,
|
||||||
"disk": server_type.disk,
|
"disk": server_type.disk,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue