-
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.
[HDInsight] Add ListBillingSpecs API to HDInsight's stable and previe…
…w version (#6360) * Add ListBillingSpecs API to stable and preview version * Add enum for tier, osType and filtermode * Update HDI_Locations_ListBillingSpecs.json Fix model validation errors * Update HDI_Locations_ListBillingSpecs.json Fix model validation errors
- Loading branch information
1 parent
bb12977
commit db00be4
Showing
4 changed files
with
533 additions
and
3 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...crosoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.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,63 @@ | ||
{ | ||
"parameters": { | ||
"location": "East US 2", | ||
"api-version": "2015-03-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"vmSizes": [ | ||
"A5", | ||
"A6", | ||
"A7" | ||
], | ||
"vmSizeFilters": [ | ||
{ | ||
"filterMode": "Exclude", | ||
"regions": null, | ||
"clusterFlavors": null, | ||
"nodeTypes": null, | ||
"clusterVersions": null, | ||
"osType": null, | ||
"vmSizes": null | ||
} | ||
], | ||
"billingResources": [ | ||
{ | ||
"region": "East US 2", | ||
"billingMeters": [], | ||
"diskBillingMeters": [] | ||
}, | ||
{ | ||
"region": "default", | ||
"billingMeters": [ | ||
{ | ||
"meterParameter": "default", | ||
"meter": "11111111-1111-1111-1111-111111111111", | ||
"unit": "CoreHours" | ||
}, | ||
{ | ||
"meterParameter": "Kafka", | ||
"meter": "11111111-1111-1111-1111-111111111111", | ||
"unit": "CoreHours" | ||
} | ||
], | ||
"diskBillingMeters": [ | ||
{ | ||
"diskRpMeter": "11111111-1111-1111-1111-111111111111", | ||
"sku": "All", | ||
"tier": "Standard" | ||
}, | ||
{ | ||
"diskRpMeter": "11111111-1111-1111-1111-111111111111", | ||
"sku": "All", | ||
"tier": "Standard" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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
63 changes: 63 additions & 0 deletions
63
...icrosoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.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,63 @@ | ||
{ | ||
"parameters": { | ||
"location": "East US 2", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"vmSizes": [ | ||
"A5", | ||
"A6", | ||
"A7" | ||
], | ||
"vmSizeFilters": [ | ||
{ | ||
"filterMode": "Exclude", | ||
"regions": null, | ||
"clusterFlavors": null, | ||
"nodeTypes": null, | ||
"clusterVersions": null, | ||
"osType": null, | ||
"vmSizes": null | ||
} | ||
], | ||
"billingResources": [ | ||
{ | ||
"region": "East US 2", | ||
"billingMeters": [], | ||
"diskBillingMeters": [] | ||
}, | ||
{ | ||
"region": "default", | ||
"billingMeters": [ | ||
{ | ||
"meterParameter": "default", | ||
"meter": "11111111-1111-1111-1111-111111111111", | ||
"unit": "CoreHours" | ||
}, | ||
{ | ||
"meterParameter": "Kafka", | ||
"meter": "11111111-1111-1111-1111-111111111111", | ||
"unit": "CoreHours" | ||
} | ||
], | ||
"diskBillingMeters": [ | ||
{ | ||
"diskRpMeter": "11111111-1111-1111-1111-111111111111", | ||
"sku": "All", | ||
"tier": "Standard" | ||
}, | ||
{ | ||
"diskRpMeter": "11111111-1111-1111-1111-111111111111", | ||
"sku": "All", | ||
"tier": "Standard" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.