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:
parent
923057c7b6
commit
fc56b9faeb
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 ``category`` property.
|
||||
|
|
@ -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