Deprecation Info

class DeprecationInfo(announced: str | None = None, unavailable_after: str | None = None)[source]

Describes if, when & how the resources was deprecated. If this field is set to None the resource is not deprecated. If it has a value, it is considered deprecated.

Parameters:
  • announced – datetime Date of when the deprecation was announced.

  • unavailable_after – datetime After the time in this field, the resource will not be available from the general listing endpoint of the resource type, and it can not be used in new resources. For example, if this is an image, you can not create new servers with this image after the mentioned date.