1+ {
2+ "id" : " https://schema.management.azure.com/schemas/2022-11-01/Microsoft.Capacity.json#" ,
3+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4+ "title" : " Microsoft.Capacity" ,
5+ "description" : " Microsoft Capacity Resource Types" ,
6+ "resourceDefinitions" : {},
7+ "tenant_resourceDefinitions" : {
8+ "reservationOrders" : {
9+ "type" : " object" ,
10+ "properties" : {
11+ "apiVersion" : {
12+ "type" : " string" ,
13+ "enum" : [
14+ " 2022-11-01"
15+ ]
16+ },
17+ "location" : {
18+ "type" : " string" ,
19+ "description" : " The Azure region where the reserved resource lives."
20+ },
21+ "name" : {
22+ "type" : " string" ,
23+ "description" : " Order Id of the reservation"
24+ },
25+ "properties" : {
26+ "oneOf" : [
27+ {
28+ "$ref" : " #/definitions/PurchaseRequestProperties"
29+ },
30+ {
31+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
32+ }
33+ ],
34+ "description" : " Properties of reservation purchase request"
35+ },
36+ "sku" : {
37+ "oneOf" : [
38+ {
39+ "$ref" : " #/definitions/SkuName"
40+ },
41+ {
42+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
43+ }
44+ ],
45+ "description" : " The name of sku"
46+ },
47+ "type" : {
48+ "type" : " string" ,
49+ "enum" : [
50+ " Microsoft.Capacity/reservationOrders"
51+ ]
52+ }
53+ },
54+ "required" : [
55+ " apiVersion" ,
56+ " name" ,
57+ " properties" ,
58+ " type"
59+ ],
60+ "description" : " Microsoft.Capacity/reservationOrders"
61+ }
62+ },
63+ "definitions" : {
64+ "AppliedScopeProperties" : {
65+ "type" : " object" ,
66+ "properties" : {
67+ "displayName" : {
68+ "type" : " string" ,
69+ "description" : " Display name"
70+ },
71+ "managementGroupId" : {
72+ "type" : " string" ,
73+ "description" : " Fully-qualified identifier of the management group where the benefit must be applied."
74+ },
75+ "resourceGroupId" : {
76+ "type" : " string" ,
77+ "description" : " Fully-qualified identifier of the resource group."
78+ },
79+ "subscriptionId" : {
80+ "type" : " string" ,
81+ "description" : " Fully-qualified identifier of the subscription."
82+ },
83+ "tenantId" : {
84+ "type" : " string" ,
85+ "description" : " Tenant ID where the savings plan should apply benefit."
86+ }
87+ },
88+ "description" : " Properties specific to applied scope type. Not required if not applicable."
89+ },
90+ "PurchaseRequestProperties" : {
91+ "type" : " object" ,
92+ "properties" : {
93+ "appliedScopeProperties" : {
94+ "oneOf" : [
95+ {
96+ "$ref" : " #/definitions/AppliedScopeProperties"
97+ },
98+ {
99+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
100+ }
101+ ],
102+ "description" : " Properties specific to applied scope type. Not required if not applicable."
103+ },
104+ "appliedScopes" : {
105+ "oneOf" : [
106+ {
107+ "type" : " array" ,
108+ "items" : {
109+ "type" : " string"
110+ }
111+ },
112+ {
113+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
114+ }
115+ ],
116+ "description" : " List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared."
117+ },
118+ "appliedScopeType" : {
119+ "oneOf" : [
120+ {
121+ "type" : " string" ,
122+ "enum" : [
123+ " Single" ,
124+ " Shared" ,
125+ " ManagementGroup"
126+ ]
127+ },
128+ {
129+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
130+ }
131+ ]
132+ },
133+ "billingPlan" : {
134+ "oneOf" : [
135+ {
136+ "type" : " string" ,
137+ "enum" : [
138+ " Upfront" ,
139+ " Monthly"
140+ ]
141+ },
142+ {
143+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
144+ }
145+ ]
146+ },
147+ "billingScopeId" : {
148+ "type" : " string" ,
149+ "description" : " Subscription that will be charged for purchasing reservation or savings plan"
150+ },
151+ "displayName" : {
152+ "type" : " string" ,
153+ "description" : " Friendly name of the reservation"
154+ },
155+ "quantity" : {
156+ "oneOf" : [
157+ {
158+ "type" : " integer"
159+ },
160+ {
161+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
162+ }
163+ ],
164+ "description" : " Quantity of the skus that are part of the reservation. Must be greater than zero."
165+ },
166+ "renew" : {
167+ "oneOf" : [
168+ {
169+ "type" : " boolean" ,
170+ "default" : false
171+ },
172+ {
173+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
174+ }
175+ ],
176+ "description" : " Setting this to true will automatically purchase a new reservation on the expiration date time."
177+ },
178+ "reservedResourceProperties" : {
179+ "oneOf" : [
180+ {
181+ "$ref" : " #/definitions/PurchaseRequestPropertiesReservedResourceProperties"
182+ },
183+ {
184+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
185+ }
186+ ],
187+ "description" : " Properties specific to each reserved resource type. Not required if not applicable."
188+ },
189+ "reservedResourceType" : {
190+ "oneOf" : [
191+ {
192+ "type" : " string" ,
193+ "enum" : [
194+ " VirtualMachines" ,
195+ " SqlDatabases" ,
196+ " SuseLinux" ,
197+ " CosmosDb" ,
198+ " RedHat" ,
199+ " SqlDataWarehouse" ,
200+ " VMwareCloudSimple" ,
201+ " RedHatOsa" ,
202+ " Databricks" ,
203+ " AppService" ,
204+ " ManagedDisk" ,
205+ " BlockBlob" ,
206+ " RedisCache" ,
207+ " AzureDataExplorer" ,
208+ " MySql" ,
209+ " MariaDb" ,
210+ " PostgreSql" ,
211+ " DedicatedHost" ,
212+ " SapHana" ,
213+ " SqlAzureHybridBenefit" ,
214+ " AVS" ,
215+ " DataFactory" ,
216+ " NetAppStorage" ,
217+ " AzureFiles" ,
218+ " SqlEdge" ,
219+ " VirtualMachineSoftware"
220+ ]
221+ },
222+ {
223+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
224+ }
225+ ]
226+ },
227+ "reviewDateTime" : {
228+ "type" : " string" ,
229+ "format" : " date-time" ,
230+ "description" : " This is the date-time when the Azure hybrid benefit needs to be reviewed."
231+ },
232+ "term" : {
233+ "oneOf" : [
234+ {
235+ "type" : " string" ,
236+ "enum" : [
237+ " P1Y" ,
238+ " P3Y" ,
239+ " P5Y"
240+ ]
241+ },
242+ {
243+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
244+ }
245+ ]
246+ }
247+ },
248+ "description" : " Properties of reservation purchase request"
249+ },
250+ "PurchaseRequestPropertiesReservedResourceProperties" : {
251+ "type" : " object" ,
252+ "properties" : {
253+ "instanceFlexibility" : {
254+ "oneOf" : [
255+ {
256+ "type" : " string" ,
257+ "enum" : [
258+ " On" ,
259+ " Off"
260+ ]
261+ },
262+ {
263+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
264+ }
265+ ]
266+ }
267+ },
268+ "description" : " Properties specific to each reserved resource type. Not required if not applicable."
269+ },
270+ "SkuName" : {
271+ "type" : " object" ,
272+ "properties" : {
273+ "name" : {
274+ "type" : " string"
275+ }
276+ },
277+ "description" : " The name of sku"
278+ }
279+ }
280+ }
0 commit comments