feat: deprecate server_type_info included_traffic return value (#532)

### API Changes for Traffic Prices and Server Type Included Traffic

There will be a breaking change in the API regarding Traffic Prices and
Server Type Included Traffic on 2024-08-05. This release marks the
affected fields as `Deprecated`. Please check if this affects any of
your code and switch to the replacement fields where necessary.

You can learn more about this change in [our
changelog](https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format).
This commit is contained in:
Jonas L. 2024-07-25 13:45:29 +02:00 committed by GitHub
parent 42a1438d43
commit 39aa356c4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,3 @@
minor_changes:
- server_type_info - The 'included_traffic' return value is deprecated and will be set to 'None' on 5 August 2024.
See https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format.

View file

@ -96,7 +96,11 @@ hcloud_server_type_info:
type: str
sample: x86
included_traffic:
description: Free traffic per month in bytes
description: |
Free traffic per month in bytes
B(Deprecated): This field is deprecated and will be set to C(None) on 5 August 2024.
See U(https://docs.hetzner.cloud/changelog#2024-07-25-cloud-api-returns-traffic-information-in-different-format).
returned: always
type: int
sample: 21990232555520