Skip to content

Commit

Permalink
Adding new resource type name Forecast to Microsoft.CostManagment RP (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
olrakovs-zz authored and hovsepm committed Nov 29, 2018
1 parent 8a6943a commit dd2a88f
Show file tree
Hide file tree
Showing 24 changed files with 646 additions and 1,006 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -58,41 +58,66 @@
"body": {
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
"id": "providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Forecast/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
"name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
"type": "microsoft.costmanagement/Query",
"type": "microsoft.costmanagement/Forecast",
"properties": {
"nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Query?api-version=2018-12-01-preview&$skiptoken=AQAAAA%3D%3D",
"nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/providers/Microsoft.CostManagement/Forecast?api-version=2018-12-01-preview&$skiptoken=AQAAAA%3D%3D",
"columns": [
{
"name": "PreTaxCost",
"type": "Number"
},
},
{
"name": "UsageDate",
"type": "Number"
},
},
{
"name": "CostStatus",
"type": "String"
},
{
"name": "Currency",
"type": "String"
}
],
"rows": [
[
19.545363672276512,
20180831,
19.545363672276512,
20180831,
"Actual",
"USD"
],
[
20.41979233490323,
20180930,
"Actual",
"USD"
],
[
173.41979241290323,
20180930,
21.322216562625452,
20181031,
"Actual",
"USD"
],
[
20.359416562625452,
20181031,
22.545363672276532,
20180831,
"Actual",
"USD"
]
],
[
23.41979675590323,
20180930,
"Forecast",
"USD"
],
[
24.359416562626652,
20181031,
"Forecast",
"USD"
]
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"api-version": "2018-12-01-preview",
"billingAccountId": "70664866",
"parameters":{
"type": "UsageAndForecast",
"type": "Usage",
"timeframe": "Custom",
"timePeriod": {
"from": "2018-10-01T00:00:00.000Z",
"to": "2018-12-31T00:00:00.000Z"
"from": "2018-08-01T00:00:00.000Z",
"to": "2018-10-31T00:00:00.000Z"
},
"dataset": {
"granularity": "Daily",
Expand Down Expand Up @@ -71,15 +71,7 @@
{
"name": "UsageDate",
"type": "Number"
},
{
"name": "ConfidenceLevelsLower",
"type": "String"
},
{
"name": "ConfidenceLevelsUpper",
"type": "Number"
},
},
{
"name": "Currency",
"type": "String"
Expand All @@ -88,47 +80,19 @@
"rows": [
[
19.545363672276512,
20181031,
0,
0,
20180831,
"USD"
],
[
173.41979241290323,
20181031,
0,
0,
20180930,
"USD"
],
[
20.359416562625452,
20181031,
0,
0,
"USD"
],
[
0,
20181231,
9.4567,
37.9876,
"USD"
],
[
0,
20181231,
78.9887,
316.87654,
20181031,
"USD"
],
[
0,
"Azue Prod Account",
20181231,
10.4567,
40.564433,
"USD"
]
]
]
}
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -59,41 +59,66 @@
"body": {
"value": [
{
"id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
"id": "providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Forecast/ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
"name": "ad67fd91-c131-4bda-9ba9-7187ecb1cebd",
"type": "microsoft.costmanagement/Query",
"type": "microsoft.costmanagement/Forecast",
"properties": {
"nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Query?api-version=2018-12-01-preview&$skiptoken=AQAAAA%3D%3D",
"nextLink": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/70664866/departments/123/providers/Microsoft.CostManagement/Forecast?api-version=2018-12-01-preview&$skiptoken=AQAAAA%3D%3D",
"columns": [
{
"name": "PreTaxCost",
"type": "Number"
},
},
{
"name": "UsageDate",
"type": "Number"
},
},
{
"name": "CostStatus",
"type": "String"
},
{
"name": "Currency",
"type": "String"
}
],
"rows": [
[
19.545363672276512,
20181031,
19.545363672276512,
20181026,
"Actual",
"USD"
],
[
20.41179241293923,
20181027,
"Actual",
"USD"
],
[
173.41979241290323,
20181031,
21.359416562625452,
20181028,
"Actual",
"USD"
],
[
20.359416562625452,
20181031,
22.545363672276512,
20181029,
"Forecast",
"USD"
]
],
[
23.41979241290323,
20181030,
"Forecast",
"USD"
],
[
24.359416562625452,
20181031,
"Forecast",
"USD"
]
]
}
}
Expand Down
Loading

0 comments on commit dd2a88f

Please sign in to comment.