Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -812,22 +812,22 @@
{
"name": "startDate",
"in": "query",
"description": "Start date. Only applicable when querying with billing profile",
"description": "Start date. Required only when querying with billing profile",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
{
"name": "endDate",
"in": "query",
"description": "End date. Only applicable when querying with billing profile",
"description": "End date. Required only when querying with billing profile",
"required": false,
"type": "string",
"x-ms-parameter-location": "method"
},
{
"name": "$filter",
"description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'. Not applicable when querying with billing profile",
"description": "The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'. Not required when querying with billing profile",
"in": "query",
"required": false,
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"parameters": {
"api-version": "2019-10-01",
"scope": "providers/Microsoft.Billing/billingAccounts/12345",
"grain": "monthly"
"grain": "monthly",
"$filter": "properties/usageDate ge 2017-10-01 AND properties/usageDate le 2017-11-20"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"parameters": {
"api-version": "2019-10-01",
"scope": "providers/Microsoft.Billing/billingAccounts/12345:2468/billingProfiles/13579",
"grain": "monthly"
"grain": "monthly",
"startDate": "2017-10-01",
"endDate": "2017-11-20"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"api-version": "2019-10-01",
"scope": "providers/Microsoft.Billing/billingAccounts/12345:2468/billingProfiles/13579",
"grain": "monthly",
"startDate": "2017-10-01",
"endDate": "2017-11-20",
"reservationId": "1c6b6358-709f-484c-85f1-72e862a0cf3b",
"reservationOrderId": "9f39ba10-794f-4dcb-8f4b-8d0cb47c27dc"
},
Expand Down