-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Ready to MERGE] Swagger for Tenant Properties API (#5038)
* added swagger for Tenant Properties added swagger for Tenant Properties * Fixed camel casing in billing.json file Fixed camel casing in billing.json file * Update billing.json * changes in DiscoverTenants contracts changes in DiscoverTenants contracts * billing.Json trim blank space billing.Json trim blank space * Update billing.json * removal of plural name removal of plural name * Updating the route Updating the route as per suggestion * Moved Swagger for Discover Tenants from billing to consumption Moved Swagger for Discover Tenants from billing to consumption * Change in Namespace followed by one additional parameter "billingAccountId" Change in Namespace followed by one additional parameter "billingAccountId" * Change of method name from discoverTenants to tanants. Change of method name from discoverTenants to tanants. * changes ion response type changes ion response type * added name after Id. Code review implementation added name after Id. Code review implementation
- Loading branch information
1 parent
a9e7c4f
commit a628a43
Showing
3 changed files
with
141 additions
and
9 deletions.
There are no files selected for viewing
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
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
26 changes: 26 additions & 0 deletions
26
...umption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-01-01", | ||
"billingProfileId": "dd21e577-ec81-45ec-b08a-622213737978", | ||
"billingAccountId": "0d49b9e9-dfe7-536e-ede4-bae1d63adbb7" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/billingAccounts/0d49b9e9-dfe7-536e-ede4-bae1d63adbb7/billingProfiles/dd21e577-ec81-45ec-b08a-622213737978/providers/Microsoft.Consumption/tenants/tenant1", | ||
"name": "tenant1", | ||
"type": "Microsoft.Consumption/tenants", | ||
"properties": { | ||
"billingProfileName": "PayByCheck01", | ||
"billingAccountName": "Create Customer", | ||
"tenantId": "251d3d06-c6e0-487b-bd5e-5c2e4c23d51a", | ||
"BillingAccountId": "0d49b9e9-dfe7-536e-ede4-bae1d63adbb7" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |