forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new version of Microsoft.Billing and new RP Microsoft.Consumption (…
…Azure#1148) * Add new version of Microsoft.Billing and new RP Microsoft.Consumption * Add descriptions for error details
- Loading branch information
1 parent
0fff909
commit 5ef46a8
Showing
12 changed files
with
1,361 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
arm-billing/2017-04-24-preview/examples/BillingPeriodsGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-24-preview", | ||
"subscriptionId": "subid", | ||
"billingPeriodName": "201702-1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702-1", | ||
"name": "201702-1", | ||
"type": "Microsoft.Billing/billingPeriods", | ||
"properties": { | ||
"billingPeriodStartDate": "2017-01-01", | ||
"billingPeriodEndDate": "2017-02-01", | ||
"invoiceIds": [ | ||
"/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-02-05-123456789", | ||
"/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-01-05-987654321" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
arm-billing/2017-04-24-preview/examples/BillingPeriodsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-24-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702-1", | ||
"name": "201702-1", | ||
"type": "Microsoft.Billing/billingPeriods", | ||
"properties": { | ||
"billingPeriodStartDate": "2017-01-01", | ||
"billingPeriodEndDate": "2017-02-01", | ||
"invoiceIds": [ | ||
"/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-02-05-123456789", | ||
"/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-01-05-987654321" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
arm-billing/2017-04-24-preview/examples/InvoicesExpand.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-24-preview", | ||
"subscriptionId": "subid", | ||
"$top": "1", | ||
"$filter": "invoicePeriodStartDate le 2017-02-01", | ||
"$expand": "downloadUrl" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-02-05-123456789", | ||
"name": "2017-02-05-123456789", | ||
"type": "Microsoft.Billing/invoices", | ||
"properties": { | ||
"invoicePeriodStartDate": "2017-01-01", | ||
"invoicePeriodEndDate": "2017-02-01", | ||
"billingPeriodIds": [ | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702-1", | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201701-1" | ||
], | ||
"downloadUrl": { | ||
"expiryTime": "2017-02-13T20:46:30Z", | ||
"url": "https://microsoft.com" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-24-preview", | ||
"subscriptionId": "subid", | ||
"invoiceName": "2017-02-05-123456789" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-02-05-123456789", | ||
"name": "2017-02-05-123456789", | ||
"type": "Microsoft.Billing/invoices", | ||
"properties": { | ||
"invoicePeriodStartDate": "2017-01-01", | ||
"invoicePeriodEndDate": "2017-02-01", | ||
"billingPeriodIds": [ | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702-1", | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201701-1" | ||
], | ||
"downloadUrl": { | ||
"expiryTime": "2017-02-13T20:46:30Z", | ||
"url": "https://microsoft.com" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
arm-billing/2017-04-24-preview/examples/InvoicesGetLatest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-24-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-02-05-123456789", | ||
"name": "2017-02-05-123456789", | ||
"type": "Microsoft.Billing/invoices", | ||
"properties": { | ||
"invoicePeriodStartDate": "2017-01-01", | ||
"invoicePeriodEndDate": "2017-02-01", | ||
"billingPeriodIds": [ | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702-1", | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201701-1" | ||
], | ||
"downloadUrl": { | ||
"expiryTime": "2017-02-13T20:46:30Z", | ||
"url": "https://microsoft.com" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-24-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subid/providers/Microsoft.Billing/invoices/2017-02-05-123456789", | ||
"name": "2017-02-05-123456789", | ||
"type": "Microsoft.Billing/invoices", | ||
"properties": { | ||
"invoicePeriodStartDate": "2017-01-01", | ||
"invoicePeriodEndDate": "2017-02-01", | ||
"billingPeriodIds": [ | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702-1", | ||
"/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201701-1" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.