K8sRates: DiscountRateCard

Prev Next

This model describes a discount rate card, which calculates costs by applying percentage discounts to the On-Demand pricing published by the cloud provider. Discount rate cards are typically used to reflect negotiated discounts, such as an enterprise agreement with a cloud provider.

Example:

{
    "id": "2f6c1d8e-4b7a-4c39-9e51-7a0d3b2c8f14",
    "name": "Enterprise Agreement",
    "description": "Represents the negotiated discounts for the enterprise agreement.",
    "type": "DiscountRateCard",
    "totalDiscount": null,
    "totalComment": "",
    "kubernetesDiscount": 0.1,
    "kubernetesComment": "",
    "loadBalancerDiscount": 0.1,
    "loadBalancerComment": "",
    "nodeDiscount": 0.22,
    "nodeComment": "Negotiated compute discount",
    "storageDiscount": 0.15,
    "storageComment": "",
    "networkDiscount": 0.05,
    "networkComment": ""
}

where:

  • id: Represents the ID of the rate card.
  • name: Represents the name of the rate card.
  • description: Represents the description of the rate card.
  • type: Represents the type of the rate card. The value is always DiscountRateCard.
  • totalDiscount: Represents a discount applied to all costs, expressed as a value between 0 and 1.0 (for example, 0.2 represents a 20% discount). When set, this value overrides all other discounts on the rate card. This value can be null if not applicable.
  • totalComment: Represents any comment associated with the total discount.
  • kubernetesDiscount: Represents the discount applied to the managed Kubernetes service, expressed as a value between 0 and 1.0. This value can be null if not applicable.
  • kubernetesComment: Represents any comment associated with the Kubernetes discount.
  • loadBalancerDiscount: Represents the discount applied to load balancer services, expressed as a value between 0 and 1.0. This value can be null if not applicable.
  • loadBalancerComment: Represents any comment associated with the load balancer discount.
  • nodeDiscount: Represents the discount applied to nodes, expressed as a value between 0 and 1.0. This value can be null if not applicable.
  • nodeComment: Represents any comment associated with the node discount.
  • storageDiscount: Represents the discount applied to storage, expressed as a value between 0 and 1.0. This value can be null if not applicable.
  • storageComment: Represents any comment associated with the storage discount.
  • networkDiscount: Represents the discount applied to network bandwidth, expressed as a value between 0 and 1.0. This value can be null if not applicable.
  • networkComment: Represents any comment associated with the network discount.