Skip to content

Commit fdf486a

Browse files
authored
[Hub Generated] Review request for Microsoft.Consumption to add version stable/2021-10-01 (#16518)
* Adding The new three properties to the latest API version for RI Transactions * Error Fixes * Fixing Type errors * Changing billingMonth format
1 parent 7aefe11 commit fdf486a

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/consumption.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3859,6 +3859,24 @@
38593859
"description": "The billing frequency, which can be either one-time or recurring.",
38603860
"type": "string",
38613861
"readOnly": true
3862+
},
3863+
"billingMonth": {
3864+
"description": "The billing month(yyyyMMdd), on which the event initiated.",
3865+
"type": "integer",
3866+
"format": "int32",
3867+
"readOnly": true
3868+
},
3869+
"monetaryCommitment": {
3870+
"description": "The monetary commitment amount at the enrollment scope.",
3871+
"type": "number",
3872+
"format": "decimal",
3873+
"readOnly": true
3874+
},
3875+
"overage": {
3876+
"description": "The overage amount at the enrollment scope.",
3877+
"type": "number",
3878+
"format": "decimal",
3879+
"readOnly": true
38623880
}
38633881
}
38643882
},

specification/consumption/resource-manager/Microsoft.Consumption/stable/2021-10-01/examples/ReservationTransactionsListByEnrollmentNumber.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"eventDate": "2019-09-09T19:19:04Z",
1818
"reservationOrderId": "00000000-0000-0000-0000-000000000000",
1919
"description": "Standard_DS1_v2 westus 1 Year",
20-
"eventType": "Cancel",
20+
"eventType": "Refund",
2121
"quantity": 1,
2222
"amount": -21.000000000000000,
2323
"currency": "USD",
@@ -33,7 +33,10 @@
3333
"departmentName": "Unassigned",
3434
"costCenter": "",
3535
"currentEnrollment": "123456",
36-
"billingFrequency": "recurring"
36+
"billingFrequency": "recurring",
37+
"billingMonth": 20190901,
38+
"monetaryCommitment": 523123.90,
39+
"overage": 23234.49
3740
}
3841
},
3942
{
@@ -61,7 +64,10 @@
6164
"departmentName": "Unassigned",
6265
"costCenter": "",
6366
"currentEnrollment": "123456",
64-
"billingFrequency": "recurring"
67+
"billingFrequency": "recurring",
68+
"billingMonth": 20190901,
69+
"monetaryCommitment": 523123.90,
70+
"overage": 23234.49
6571
}
6672
}
6773
]

0 commit comments

Comments
 (0)