1+ {
2+ "id" : " https://schema.management.azure.com/schemas/2021-03-01/Microsoft.CertificateRegistration.json#" ,
3+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4+ "title" : " Microsoft.CertificateRegistration" ,
5+ "description" : " Microsoft CertificateRegistration Resource Types" ,
6+ "resourceDefinitions" : {
7+ "certificateOrders" : {
8+ "type" : " object" ,
9+ "properties" : {
10+ "apiVersion" : {
11+ "type" : " string" ,
12+ "enum" : [
13+ " 2021-03-01"
14+ ]
15+ },
16+ "kind" : {
17+ "type" : " string" ,
18+ "description" : " Kind of resource."
19+ },
20+ "location" : {
21+ "type" : " string" ,
22+ "description" : " Resource Location."
23+ },
24+ "name" : {
25+ "type" : " string" ,
26+ "description" : " Name of the certificate order."
27+ },
28+ "properties" : {
29+ "oneOf" : [
30+ {
31+ "$ref" : " #/definitions/AppServiceCertificateOrderProperties"
32+ },
33+ {
34+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
35+ }
36+ ],
37+ "description" : " AppServiceCertificateOrder resource specific properties"
38+ },
39+ "resources" : {
40+ "type" : " array" ,
41+ "items" : {
42+ "oneOf" : [
43+ {
44+ "$ref" : " #/definitions/certificateOrders_certificates_childResource"
45+ }
46+ ]
47+ }
48+ },
49+ "tags" : {
50+ "oneOf" : [
51+ {
52+ "type" : " object" ,
53+ "additionalProperties" : {
54+ "type" : " string"
55+ },
56+ "properties" : {}
57+ },
58+ {
59+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
60+ }
61+ ],
62+ "description" : " Resource tags."
63+ },
64+ "type" : {
65+ "type" : " string" ,
66+ "enum" : [
67+ " Microsoft.CertificateRegistration/certificateOrders"
68+ ]
69+ }
70+ },
71+ "required" : [
72+ " apiVersion" ,
73+ " location" ,
74+ " name" ,
75+ " properties" ,
76+ " type"
77+ ],
78+ "description" : " Microsoft.CertificateRegistration/certificateOrders"
79+ },
80+ "certificateOrders_certificates" : {
81+ "type" : " object" ,
82+ "properties" : {
83+ "apiVersion" : {
84+ "type" : " string" ,
85+ "enum" : [
86+ " 2021-03-01"
87+ ]
88+ },
89+ "kind" : {
90+ "type" : " string" ,
91+ "description" : " Kind of resource."
92+ },
93+ "location" : {
94+ "type" : " string" ,
95+ "description" : " Resource Location."
96+ },
97+ "name" : {
98+ "type" : " string" ,
99+ "description" : " Name of the certificate."
100+ },
101+ "properties" : {
102+ "oneOf" : [
103+ {
104+ "$ref" : " #/definitions/AppServiceCertificate"
105+ },
106+ {
107+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
108+ }
109+ ],
110+ "description" : " Key Vault container for a certificate that is purchased through Azure."
111+ },
112+ "tags" : {
113+ "oneOf" : [
114+ {
115+ "type" : " object" ,
116+ "additionalProperties" : {
117+ "type" : " string"
118+ },
119+ "properties" : {}
120+ },
121+ {
122+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
123+ }
124+ ],
125+ "description" : " Resource tags."
126+ },
127+ "type" : {
128+ "type" : " string" ,
129+ "enum" : [
130+ " Microsoft.CertificateRegistration/certificateOrders/certificates"
131+ ]
132+ }
133+ },
134+ "required" : [
135+ " apiVersion" ,
136+ " location" ,
137+ " name" ,
138+ " properties" ,
139+ " type"
140+ ],
141+ "description" : " Microsoft.CertificateRegistration/certificateOrders/certificates"
142+ }
143+ },
144+ "definitions" : {
145+ "AppServiceCertificate" : {
146+ "type" : " object" ,
147+ "properties" : {
148+ "keyVaultId" : {
149+ "type" : " string" ,
150+ "description" : " Key Vault resource Id."
151+ },
152+ "keyVaultSecretName" : {
153+ "type" : " string" ,
154+ "description" : " Key Vault secret name."
155+ }
156+ },
157+ "description" : " Key Vault container for a certificate that is purchased through Azure."
158+ },
159+ "AppServiceCertificateOrderProperties" : {
160+ "type" : " object" ,
161+ "properties" : {
162+ "autoRenew" : {
163+ "oneOf" : [
164+ {
165+ "type" : " boolean" ,
166+ "default" : true
167+ },
168+ {
169+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
170+ }
171+ ],
172+ "description" : " <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>."
173+ },
174+ "certificates" : {
175+ "oneOf" : [
176+ {
177+ "type" : " object" ,
178+ "additionalProperties" : {
179+ "$ref" : " #/definitions/AppServiceCertificate"
180+ },
181+ "properties" : {}
182+ },
183+ {
184+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
185+ }
186+ ],
187+ "description" : " State of the Key Vault secret."
188+ },
189+ "csr" : {
190+ "type" : " string" ,
191+ "description" : " Last CSR that was created for this order."
192+ },
193+ "distinguishedName" : {
194+ "type" : " string" ,
195+ "description" : " Certificate distinguished name."
196+ },
197+ "keySize" : {
198+ "oneOf" : [
199+ {
200+ "type" : " integer" ,
201+ "default" : " 2048"
202+ },
203+ {
204+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
205+ }
206+ ],
207+ "description" : " Certificate key size."
208+ },
209+ "productType" : {
210+ "oneOf" : [
211+ {
212+ "type" : " string" ,
213+ "enum" : [
214+ " StandardDomainValidatedSsl" ,
215+ " StandardDomainValidatedWildCardSsl"
216+ ]
217+ },
218+ {
219+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
220+ }
221+ ],
222+ "description" : " Certificate product type."
223+ },
224+ "validityInYears" : {
225+ "oneOf" : [
226+ {
227+ "type" : " integer" ,
228+ "default" : " 1"
229+ },
230+ {
231+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
232+ }
233+ ],
234+ "description" : " Duration in years (must be 1)."
235+ }
236+ },
237+ "required" : [
238+ " productType"
239+ ],
240+ "description" : " AppServiceCertificateOrder resource specific properties"
241+ },
242+ "certificateOrders_certificates_childResource" : {
243+ "type" : " object" ,
244+ "properties" : {
245+ "apiVersion" : {
246+ "type" : " string" ,
247+ "enum" : [
248+ " 2021-03-01"
249+ ]
250+ },
251+ "kind" : {
252+ "type" : " string" ,
253+ "description" : " Kind of resource."
254+ },
255+ "location" : {
256+ "type" : " string" ,
257+ "description" : " Resource Location."
258+ },
259+ "name" : {
260+ "type" : " string" ,
261+ "description" : " Name of the certificate."
262+ },
263+ "properties" : {
264+ "oneOf" : [
265+ {
266+ "$ref" : " #/definitions/AppServiceCertificate"
267+ },
268+ {
269+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
270+ }
271+ ],
272+ "description" : " Key Vault container for a certificate that is purchased through Azure."
273+ },
274+ "tags" : {
275+ "oneOf" : [
276+ {
277+ "type" : " object" ,
278+ "additionalProperties" : {
279+ "type" : " string"
280+ },
281+ "properties" : {}
282+ },
283+ {
284+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
285+ }
286+ ],
287+ "description" : " Resource tags."
288+ },
289+ "type" : {
290+ "type" : " string" ,
291+ "enum" : [
292+ " certificates"
293+ ]
294+ }
295+ },
296+ "required" : [
297+ " apiVersion" ,
298+ " location" ,
299+ " name" ,
300+ " properties" ,
301+ " type"
302+ ],
303+ "description" : " Microsoft.CertificateRegistration/certificateOrders/certificates"
304+ }
305+ }
306+ }
0 commit comments