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