-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Spec for LineOfCredit API and other corrections #6054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2a236eb
Added specs for Agreements API in version 2018-11-01-preview
asarkar84 a33bee2
Updated as per naming convension
asarkar84 d490370
Merge remote-tracking branch 'upstream/master'
asarkar84 f7a772d
Merge remote-tracking branch 'upstream/master'
asarkar84 04c5304
Corrected specs and examples for BillingRP
asarkar84 bbf0f75
Fixed the errors
asarkar84 91060fe
Fixing errors in spec
asarkar84 a16aba3
Updated examples
asarkar84 bb7a445
Incorporated review comments
281784f
Incorporated review comments
9a957ac
Incorporated review comments
f1a1071
Merge remote-tracking branch 'upstream/master'
asarkar84 ee0beac
Updated the operation id for Billing spec
asarkar84 f7a7ff9
Merge remote-tracking branch 'upstream/master'
asarkar84 2b94171
Incorporated review comments
asarkar84 1b0eb1e
Incorporated review comments
asarkar84 86c8bcf
Fixed the errors
asarkar84 b73f7f6
Added multiple inputs
asarkar84 276a50f
Fixed build errors
asarkar84 9fb11a5
Incorporated review comments
asarkar84 861de2b
Incorporated review comments
asarkar84 99d6a72
Merge remote-tracking branch 'upstream/master'
asarkar84 7dc3649
Spec for LineOfCredit API and other corrections
asarkar84 8b7638c
Fixed build error
asarkar84 80551f2
Incorporated review comments
asarkar84 78b382b
Incorporated review comments
asarkar84 0c5738c
Updated the increase api
asarkar84 0c6a6c6
Incorporated review comments
asarkar84 dd4cb50
Updated the operation id
asarkar84 1db7d6a
Fixed errors
asarkar84 8049885
Fixed errors
asarkar84 d7c7b77
Fixed error
asarkar84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
38 changes: 38 additions & 0 deletions
38
...osoft.Billing/preview/2018-11-01-preview/examples/IncreaseLineOfCreditBySubscription.json
This file contains hidden or 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,38 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-preview", | ||
| "subscriptionId": "{subscriptionId}", | ||
| "parameters": { | ||
| "desiredCreditLimit": 10000 | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default", | ||
| "name": "default", | ||
| "type": "Microsoft.Billing/lineOfCredit", | ||
| "properties": { | ||
| "creditLimit": { | ||
| "currency": "USD", | ||
| "value": 20000.00 | ||
| }, | ||
| "reason": null, | ||
| "remainingBalance": { | ||
| "currency": "USD", | ||
| "value": 6000.00 | ||
| }, | ||
| "status": "approved" | ||
| } | ||
| } | ||
| }, | ||
| "202": { | ||
| "headers": { | ||
| "Location": "https://management.azure.com/providers/Microsoft.Billing/operationResults/44000000-0000-0000-0000-000000000000?api-version=2018-11-01-preview", | ||
asarkar84 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "Retry-After": "60", | ||
| "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/operationStatus/44000000-0000-0000-0000-000000000000?api-version=2018-11-01-preview", | ||
| "OData-EntityId": "44000000-0000-0000-0000-000000000000" | ||
| } | ||
| } | ||
| } | ||
| } | ||
27 changes: 27 additions & 0 deletions
27
...ger/Microsoft.Billing/preview/2018-11-01-preview/examples/LineOfCreditBySubscription.json
This file contains hidden or 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": "2018-11-01-preview", | ||
| "subscriptionId": "{subscriptionId}" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingAccounts/default/lineOfCredit/default", | ||
| "name": "default", | ||
| "type": "Microsoft.Billing/lineOfCredit", | ||
| "properties": { | ||
| "creditLimit": { | ||
| "currency": "USD", | ||
| "value": 20000.00 | ||
| }, | ||
| "reason": null, | ||
| "remainingBalance": { | ||
| "currency": "USD", | ||
| "value": 6000.00 | ||
| }, | ||
| "status": "approved" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.