Reference

Every term this commitment could be replaced with

The contract priced again as it stands, beside every other term its shape is sold on today, each priced at up to about forty quantities spanning what was sized and what is held, and recommended on exactly one row, never above the quantity held. With quantity, each offering is priced at exactly that quantity instead, one row each; a reservation is sold in whole units, so a fractional quantity is a 422. Without a stored series every quantity is still priced, and idle_units, spill_units and spill_cost come back null. sizing_basis says where the recommended quantity came from: the commitment's own fee line, which can only argue for buying less, or unmeasured, where the quantity held stands; measured appears only on options an earlier sweep priced. upfront is the total paid at purchase for the row's quantity; recurring_hourly is the rate per unit. demand is the daily series the sizing read, with its projection across the longest term.

GET
/api/v1/commitments/renewal-options/{commitment_id}

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

commitment_id*Commitment Id

Query Parameters

quantity?|

Price every offering at exactly this quantity.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/commitments/renewal-options/string"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "commitment_id": "string",
    "sizing_basis": "string",
    "quoted_at": "string",
    "held_quantity": 0,
    "contract": {
      "offering_id": "string",
      "resource": "string",
      "term_months": 0,
      "payment_option": "string",
      "offering_class": "string",
      "reservation_scope": "string",
      "currency": "USD",
      "upfront": 0,
      "recurring_hourly": 0,
      "quantity": 0,
      "term_total": 0,
      "all_in": 0,
      "per_year": 0,
      "idle_units": 0,
      "spill_units": 0,
      "spill_cost": 0,
      "recommended": false
    },
    "options": [
      {
        "offering_id": "string",
        "resource": "string",
        "term_months": 0,
        "payment_option": "string",
        "offering_class": "string",
        "reservation_scope": "string",
        "currency": "USD",
        "upfront": 0,
        "recurring_hourly": 0,
        "quantity": 0,
        "term_total": 0,
        "all_in": 0,
        "per_year": 0,
        "idle_units": 0,
        "spill_units": 0,
        "spill_cost": 0,
        "recommended": false
      }
    ],
    "quantity_step": 0,
    "demand": {
      "basis": "string",
      "points": [
        {
          "date": "string",
          "units": 0
        }
      ],
      "units_per_month": 0,
      "on_demand_rate": 0,
      "projection": [
        {
          "date": "string",
          "units": 0
        }
      ]
    }
  }
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  },
  "timestamp": "2019-08-24T14:15:22Z"
}
Ask the FinOps Agent about your cloud spend