Skip to content

Commit

Permalink
Update Pricesheet properties for savingsPlan (Azure#24708)
Browse files Browse the repository at this point in the history
* Update consumption.json

* Update PriceSheet.json

* Update consumption.json

* Update PriceSheet.json

* Update consumption.json

* Update PriceSheet.json

* Update consumption.json

* Update consumption.json

* Update consumption.json

* Update PriceSheet.json
  • Loading branch information
jayati-tehri authored and harryli0108 committed Jul 28, 2023
1 parent 1e16b35 commit b1488a6
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1905,6 +1905,29 @@
}
}
},
"SavingsPlan": {
"type": "object",
"description": "The properties of the SavingsPlan.",
"properties": {
"term": {
"description": "SavingsPlan term",
"type": "string",
"readOnly": true
},
"marketPrice": {
"description": "SavingsPlan Market Price",
"type": "number",
"format": "decimal",
"readOnly": true
},
"effectivePrice": {
"description": "SavingsPlan Effective Price",
"type": "number",
"format": "decimal",
"readOnly": true
}
}
},
"UsageDetail": {
"type": "object",
"discriminator": "kind",
Expand Down Expand Up @@ -4612,6 +4635,11 @@
"description": "Offer Id",
"type": "string",
"readOnly": true
},
"savingsPlan": {
"description": "SavingsPlan Details",
"$ref": "#/definitions/SavingsPlan",
"readOnly": true
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
"partNumber": "XX-11110",
"unitPrice": 0.00328,
"currencyCode": "EUR",
"offerId": "OfferId 1"
"offerId": "OfferId 1",
"savingsPlan": {
"term": "P3Y",
"effectivePrice": 0.002,
"marketPrice": 0.00328
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1911,6 +1911,29 @@
}
}
},
"SavingsPlan": {
"description": "The properties of the SavingsPlan.",
"type": "object",
"properties": {
"term": {
"description": "SavingsPlan term",
"type": "string",
"readOnly": true
},
"marketPrice": {
"description": "SavingsPlan Market Price",
"type": "number",
"format": "decimal",
"readOnly": true
},
"effectivePrice": {
"description": "SavingsPlan Effective Price",
"type": "number",
"format": "decimal",
"readOnly": true
}
}
},
"UsageDetail": {
"type": "object",
"discriminator": "kind",
Expand Down Expand Up @@ -4618,6 +4641,11 @@
"description": "Offer Id",
"type": "string",
"readOnly": true
},
"savingsPlan": {
"description": "SavingsPlan Details",
"$ref": "#/definitions/SavingsPlan",
"readOnly": true
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
"partNumber": "XX-11110",
"unitPrice": 0.00328,
"currencyCode": "EUR",
"offerId": "OfferId 1"
"offerId": "OfferId 1",
"savingsPlan": {
"term": "P3Y",
"effectivePrice": 0.002,
"marketPrice": 0.00328
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1914,6 +1914,29 @@
}
}
},
"SavingsPlan": {
"type": "object",
"description": "The properties of the SavingsPlan.",
"properties": {
"term": {
"description": "SavingsPlan term",
"type": "string",
"readOnly": true
},
"marketPrice": {
"description": "SavingsPlan Market Price",
"type": "number",
"format": "decimal",
"readOnly": true
},
"effectivePrice": {
"description": "SavingsPlan Effective Price",
"type": "number",
"format": "decimal",
"readOnly": true
}
}
},
"UsageDetail": {
"type": "object",
"discriminator": "kind",
Expand Down Expand Up @@ -4621,6 +4644,11 @@
"description": "Offer Id",
"type": "string",
"readOnly": true
},
"savingsPlan": {
"description": "SavingsPlan Details",
"$ref": "#/definitions/SavingsPlan",
"readOnly": true
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
"partNumber": "XX-11110",
"unitPrice": 0.00328,
"currencyCode": "EUR",
"offerId": "OfferId 1"
"offerId": "OfferId 1",
"savingsPlan": {
"term": "P3Y",
"effectivePrice": 0.002,
"marketPrice": 0.00328
}
}
]
}
Expand Down

0 comments on commit b1488a6

Please sign in to comment.