K8sRates: Azure: PriceSheet

Prev

This model describes an Azure price sheet, which lists the components of an Azure Kubernetes Service (AKS) cluster along with the price of each component, resolved against a rate card. A price sheet is submitted with only the attributes that identify each component, and is returned with the prices and discounts filled in. See How To: Get Component Pricing for a Cluster for more details.

To find the SKU names to use for each component, see How To: Specify SKU Names for Azure SKU Rate Cards.

Example:

{
    "kubernetes": {
        "sku": "Standard",
        "rate": 0.1,
        "unitOfMeasure": "1 Hour",
        "discount": 0.1,
        "region": "eastus",
        "currencyCode": "USD",
        "properties": {}
    },
    "loadBalancer": {
        "sku": "Standard",
        "serviceRate": 0.025,
        "serviceUnitOfMeasure": "1 Hour",
        "dataRate": 0.005,
        "dataUnitOfMeasure": "1 GB",
        "discount": 0.1,
        "region": "eastus",
        "currencyCode": "USD",
        "properties": {}
    },
    "nodes": [
        {
            "virtualMachine": "Standard_D4s_v5",
            "os": "linux",
            "billingModel": "OnDemand",
            "nodeRate": 0.192,
            "nodeUnitOfMeasure": "1 Hour",
            "cpuRate": 0.031059,
            "cpuUnitOfMeasure": "1 Hour",
            "memoryRate": 0.004235,
            "memoryUnitOfMeasure": "1 GB",
            "gpuRate": 0.0,
            "gpuUnitOfMeasure": "1 Hour",
            "licenseSurcharge": 0.8,
            "licenseUnitOfMeasure": "1 Hour",
            "discount": 0.22,
            "region": "eastus",
            "currencyCode": "USD",
            "properties": {}
        }
    ],
    "storage": [
        {
            "sku": "PremiumSSD_LRS",
            "rate": 0.00026027,
            "unitOfMeasure": "1 GB",
            "discount": 0.15,
            "region": "eastus",
            "currencyCode": "USD",
            "properties": {}
        }
    ],
    "network": [
        {
            "sku": "Internet Transfer Out",
            "rate": 0.087,
            "unitOfMeasure": "1 GB",
            "discount": 0.05,
            "region": "eastus",
            "currencyCode": "USD",
            "properties": {}
        }
    ],
    "overhead": {
        "region": "",
        "rate": 0.0,
        "unitOfMeasure": "1 Hour",
        "discount": 0.0,
        "currencyCode": "USD",
        "properties": {}
    },
    "rateCardId": "2f6c1d8e-4b7a-4c39-9e51-7a0d3b2c8f14",
    "rateCardName": "Enterprise Agreement",
    "rateCardType": "DiscountRateCard"
}

Note: The prices in the example above are for illustration only.

where:

  • kubernetes: Represents the price of the managed Kubernetes service.
    • sku: Represents the AKS pricing tier. Defaults to Standard.
    • rate: Represents the rate, before any discount is applied.
    • unitOfMeasure: Represents the unit of measure of the rate. Defaults to 1 Hour.
    • discount: Represents the discount from the rate card, expressed as a value between 0 and 1.0.
    • region: Represents the region of the Kubernetes service.
    • currencyCode: Represents the currency code of the rate. Defaults to USD.
    • properties: Represents any additional properties associated with the Kubernetes service.
  • loadBalancer: Represents the price of the load balancer service.
    • sku: Represents the SKU of the load balancer. Defaults to Standard.
    • serviceRate: Represents the rate for each load balancer, before any discount is applied.
    • serviceUnitOfMeasure: Represents the unit of measure of the service rate. Defaults to 1 Hour.
    • dataRate: Represents the rate for the data processed by the load balancer, before any discount is applied.
    • dataUnitOfMeasure: Represents the unit of measure of the data rate. Defaults to 1 GB.
    • discount: Represents the discount from the rate card, expressed as a value between 0 and 1.0.
    • region: Represents the region of the load balancer.
    • currencyCode: Represents the currency code of the rates. Defaults to USD.
    • properties: Represents any additional properties associated with the load balancer.
  • nodes: Represents the list of node prices. Each node contains the following attributes:
    • virtualMachine: Represents the virtual machine size of the node (for example, Standard_D4s_v5).
    • os: Represents the operating system of the node. Defaults to linux.
    • billingModel: Represents the billing model of the node. Supported values are OnDemand, Spot, Reserved1Year and Reserved3Year. Defaults to the billing model of the rate card.
    • nodeRate: Represents the rate of the node, before any discount is applied. This value is 0 if the price of the node cannot be found.
    • nodeUnitOfMeasure: Represents the unit of measure of the node rate. Defaults to 1 Hour.
    • cpuRate: Represents the portion of the node rate attributable to each CPU.
    • cpuUnitOfMeasure: Represents the unit of measure of the CPU rate. Defaults to 1 Hour.
    • memoryRate: Represents the portion of the node rate attributable to each GB of memory.
    • memoryUnitOfMeasure: Represents the unit of measure of the memory rate. Defaults to 1 GB.
    • gpuRate: Represents the portion of the node rate attributable to each GPU.
    • gpuUnitOfMeasure: Represents the unit of measure of the GPU rate. Defaults to 1 Hour.
    • licenseSurcharge: Represents the surcharge applied to offset the licensing costs associated with Windows nodes.
    • licenseUnitOfMeasure: Represents the unit of measure of the license surcharge. Defaults to 1 Hour.
    • discount: Represents the discount from the rate card, expressed as a value between 0 and 1.0.
    • region: Represents the region of the node.
    • currencyCode: Represents the currency code of the rates. Defaults to USD.
    • properties: Represents any additional properties associated with the node.
  • storage: Represents the list of storage prices. Each storage item contains the following attributes:
    • sku: Represents the managed disk type. Supported values are Standard_LRS, StandardSSD_LRS, StandardSSD_ZRS, PremiumSSD_LRS and PremiumSSD_ZRS.
    • rate: Represents the rate per GB per hour, before any discount is applied.
    • unitOfMeasure: Represents the unit of measure of the rate. Defaults to 1 GB.
    • discount: Represents the discount from the rate card, expressed as a value between 0 and 1.0.
    • region: Represents the region of the storage.
    • currencyCode: Represents the currency code of the rate. Defaults to USD.
    • properties: Represents any additional properties associated with the storage.
  • network: Represents the list of network transfer prices. Each network item contains the following attributes:
    • sku: Represents the network transfer type (for example, Internet Transfer Out).
    • rate: Represents the rate, before any discount is applied.
    • unitOfMeasure: Represents the unit of measure of the rate. Defaults to 1 GB.
    • discount: Represents the discount from the rate card, expressed as a value between 0 and 1.0.
    • region: Represents the region of the network transfer.
    • currencyCode: Represents the currency code of the rate. Defaults to USD.
    • properties: Represents any additional properties associated with the network transfer. For transfers between regions, the Source and Destination keys specify the source and destination regions.
  • overhead: Represents the shared overhead associated with the cluster, which is only applicable to custom rate cards.
    • region: Represents the region of the overhead.
    • rate: Represents the overhead rate.
    • unitOfMeasure: Represents the unit of measure of the rate. Defaults to 1 Hour.
    • discount: Represents the discount from the rate card, expressed as a value between 0 and 1.0.
    • currencyCode: Represents the currency code of the rate. Defaults to USD.
    • properties: Represents any additional properties associated with the overhead.
  • rateCardId: Represents the ID of the rate card applied to the price sheet. If not specified, or if the rate card cannot be found, the built-in On-Demand rate card is applied.
  • rateCardName: Represents the name of the rate card applied to the price sheet.
  • rateCardType: Represents the type of the rate card applied to the price sheet.