-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[DO NOT MERGE] Changes for introduction of transfer products API for Microsoft.Billing #5176
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
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5cea84d
[DO NOT MERGE] Changes for introduction of transfer products API
batman11235 f7bd66f
Changes for the Microsoft Billing APIs
batman11235 eb2615f
Updates to Microsoft.Billing Manifests
batman11235 4ef0f1d
Swagger changes for Microsoft.Billing for GTM product transfers
batman11235 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
802 changes: 802 additions & 0 deletions
802
...cation/billing/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/billing.json
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...urce-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/BillingPeriodsGet.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,24 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-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
...rce-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/BillingPeriodsList.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": "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" | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
18 changes: 18 additions & 0 deletions
18
...-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/EnrollmentAccountsGet.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,18 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-preview", | ||
| "name": "e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/providers/Microsoft.Billing/enrollmentAccounts/e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556", | ||
| "name": "e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556", | ||
| "type": "Microsoft.Billing/enrollmentAccounts", | ||
| "properties": { | ||
| "principalName": "kathy@contoso.com" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
29 changes: 29 additions & 0 deletions
29
...manager/Microsoft.Billing/preview/2018-11-01-preview/examples/EnrollmentAccountsList.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,29 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-preview" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/providers/Microsoft.Billing/enrollmentAccounts/e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556", | ||
| "name": "e1bf1c8c-5ac6-44a0-bdcd-aa7c1cf60556", | ||
| "type": "Microsoft.Billing/enrollmentAccounts", | ||
| "properties": { | ||
| "principalName": "kathy@contoso.com" | ||
| } | ||
| }, | ||
| { | ||
| "id": "/providers/Microsoft.Billing/enrollmentAccounts/edd24053-07cd-4ed4-aa5b-326160a6680d", | ||
| "name": "edd24053-07cd-4ed4-aa5b-326160a6680d", | ||
| "type": "Microsoft.Billing/enrollmentAccounts", | ||
| "properties": { | ||
| "principalName": "dan@contoso.com" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
34 changes: 34 additions & 0 deletions
34
...esource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoicesExpand.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,34 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-preview", | ||
| "subscriptionId": "subid", | ||
| "$top": 1, | ||
| "$filter": "invoicePeriodEndDate 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" | ||
| } | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
28 changes: 28 additions & 0 deletions
28
...g/resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoicesGet.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,28 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-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
...urce-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoicesGetLatest.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": "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" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
27 changes: 27 additions & 0 deletions
27
.../resource-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/InvoicesList.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": "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" | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
23 changes: 23 additions & 0 deletions
23
...source-manager/Microsoft.Billing/preview/2018-11-01-preview/examples/TransferProduct.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,23 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2018-11-01-preview", | ||
| "billingAccountId": "{billingAccountId}", | ||
| "invoiceSectionId": "{invoiceSectionId1}", | ||
| "productName": "product1", | ||
| "parameters": { | ||
| "request": { | ||
| "destinationInvoiceSectionId": "/providers/Microsoft.Billing/billingAccounts/5660ed6e-7824-4795-a579-c0037e6c8da4/invoiceSections/2b2ff7ea-559c-41c0-adea-2550293e11e5" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "202": { | ||
| "headers": { | ||
| "Location": "https://management.azure.com/providers/Microsoft.Billing/operationResults/84ae600f-763c-4a66-a8f0-4c497fc58d98?api-version=2018-11-01-preview", | ||
| "Retry-After": "60", | ||
| "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/operationStatus/84ae600f-763c-4a66-a8f0-4c497fc58d98?api-version=2018-11-01-preview", | ||
| "OData-EntityId": "84ae600f-763c-4a66-a8f0-4c497fc58d98" | ||
| } | ||
| } | ||
| } | ||
| } | ||
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 |
|---|---|---|
| @@ -1,46 +1,56 @@ | ||
|
|
||
batman11235 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ## Go | ||
|
|
||
| These settings apply only when `--go` is specified on the command line. | ||
|
|
||
| ``` yaml $(go) | ||
| go: | ||
| license-header: MICROSOFT_APACHE_NO_VERSION | ||
| namespace: billing | ||
| clear-output-folder: true | ||
| ``` | ||
|
|
||
| ### Go multi-api | ||
| ``` yaml $(go) && $(multiapi) | ||
| batch: | ||
| - tag: package-2018-03-preview | ||
| - tag: package-2017-04-preview | ||
| - tag: package-2017-02-preview | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-03-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2018-03-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-03-01-preview/$(namespace) | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-04-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-04-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-04-24-preview/$(namespace) | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-02-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2017-02-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-02-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-02-27-preview/$(namespace) | ||
|
|
||
| ## Go | ||
|
|
||
| These settings apply only when `--go` is specified on the command line. | ||
|
|
||
| ``` yaml $(go) | ||
| go: | ||
| license-header: MICROSOFT_APACHE_NO_VERSION | ||
| namespace: billing | ||
| clear-output-folder: true | ||
| ``` | ||
|
|
||
| ### Go multi-api | ||
| ``` yaml $(go) && $(multiapi) | ||
| batch: | ||
| - tag: package-2018-11-preview | ||
| - tag: package-2018-03-preview | ||
| - tag: package-2017-04-preview | ||
| - tag: package-2017-02-preview | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-11-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2018-11-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2018-11-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-11-01-preview/$(namespace) | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-03-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2018-03-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2018-03-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-03-01-preview/$(namespace) | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-04-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2017-04-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-04-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-04-24-preview/$(namespace) | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-02-preview and go | ||
|
|
||
| These settings apply only when `--tag=package-2017-02-preview --go` is specified on the command line. | ||
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-02-preview' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2017-02-27-preview/$(namespace) | ||
| ``` | ||
Oops, something went wrong.
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.