1+ {
2+ "id" : " https://schema.management.azure.com/schemas/2017-04-01/Microsoft.Authorization.Resources.json#" ,
3+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4+ "title" : " Microsoft.Authorization" ,
5+ "description" : " Microsoft Authorization Resource Types" ,
6+ "resourceDefinitions" : {
7+ "locks" : {
8+ "type" : " object" ,
9+ "properties" : {
10+ "apiVersion" : {
11+ "type" : " string" ,
12+ "enum" : [
13+ " 2017-04-01"
14+ ]
15+ },
16+ "name" : {
17+ "type" : " string" ,
18+ "description" : " The lock name. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\ , ?, /, or any control characters."
19+ },
20+ "properties" : {
21+ "oneOf" : [
22+ {
23+ "$ref" : " #/definitions/ManagementLockProperties"
24+ },
25+ {
26+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
27+ }
28+ ],
29+ "description" : " The lock properties."
30+ },
31+ "type" : {
32+ "type" : " string" ,
33+ "enum" : [
34+ " Microsoft.Authorization/locks"
35+ ]
36+ }
37+ },
38+ "required" : [
39+ " apiVersion" ,
40+ " name" ,
41+ " properties" ,
42+ " type"
43+ ],
44+ "description" : " Microsoft.Authorization/locks"
45+ }
46+ },
47+ "subscription_resourceDefinitions" : {
48+ "locks" : {
49+ "type" : " object" ,
50+ "properties" : {
51+ "apiVersion" : {
52+ "type" : " string" ,
53+ "enum" : [
54+ " 2017-04-01"
55+ ]
56+ },
57+ "name" : {
58+ "type" : " string" ,
59+ "description" : " The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\ , ?, /, or any control characters."
60+ },
61+ "properties" : {
62+ "oneOf" : [
63+ {
64+ "$ref" : " #/definitions/ManagementLockProperties"
65+ },
66+ {
67+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
68+ }
69+ ],
70+ "description" : " The lock properties."
71+ },
72+ "type" : {
73+ "type" : " string" ,
74+ "enum" : [
75+ " Microsoft.Authorization/locks"
76+ ]
77+ }
78+ },
79+ "required" : [
80+ " apiVersion" ,
81+ " name" ,
82+ " properties" ,
83+ " type"
84+ ],
85+ "description" : " Microsoft.Authorization/locks"
86+ }
87+ },
88+ "extension_resourceDefinitions" : {
89+ "locks" : {
90+ "type" : " object" ,
91+ "properties" : {
92+ "apiVersion" : {
93+ "type" : " string" ,
94+ "enum" : [
95+ " 2017-04-01"
96+ ]
97+ },
98+ "name" : {
99+ "type" : " string" ,
100+ "description" : " The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, \\ , ?, /, or any control characters."
101+ },
102+ "properties" : {
103+ "oneOf" : [
104+ {
105+ "$ref" : " #/definitions/ManagementLockProperties"
106+ },
107+ {
108+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
109+ }
110+ ],
111+ "description" : " The lock properties."
112+ },
113+ "type" : {
114+ "type" : " string" ,
115+ "enum" : [
116+ " Microsoft.Authorization/locks"
117+ ]
118+ }
119+ },
120+ "required" : [
121+ " apiVersion" ,
122+ " name" ,
123+ " properties" ,
124+ " type"
125+ ],
126+ "description" : " Microsoft.Authorization/locks"
127+ }
128+ },
129+ "unknown_resourceDefinitions" : {
130+ "locks" : {
131+ "type" : " object" ,
132+ "properties" : {
133+ "apiVersion" : {
134+ "type" : " string" ,
135+ "enum" : [
136+ " 2017-04-01"
137+ ]
138+ },
139+ "name" : {
140+ "type" : " string" ,
141+ "description" : " The name of lock."
142+ },
143+ "properties" : {
144+ "oneOf" : [
145+ {
146+ "$ref" : " #/definitions/ManagementLockProperties"
147+ },
148+ {
149+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
150+ }
151+ ],
152+ "description" : " The lock properties."
153+ },
154+ "type" : {
155+ "type" : " string" ,
156+ "enum" : [
157+ " Microsoft.Authorization/locks"
158+ ]
159+ }
160+ },
161+ "required" : [
162+ " apiVersion" ,
163+ " name" ,
164+ " properties" ,
165+ " type"
166+ ],
167+ "description" : " Microsoft.Authorization/locks"
168+ }
169+ },
170+ "definitions" : {
171+ "ManagementLockOwner" : {
172+ "type" : " object" ,
173+ "properties" : {
174+ "applicationId" : {
175+ "type" : " string" ,
176+ "description" : " The application ID of the lock owner."
177+ }
178+ },
179+ "description" : " Lock owner properties."
180+ },
181+ "ManagementLockProperties" : {
182+ "type" : " object" ,
183+ "properties" : {
184+ "level" : {
185+ "oneOf" : [
186+ {
187+ "type" : " string" ,
188+ "enum" : [
189+ " NotSpecified" ,
190+ " CanNotDelete" ,
191+ " ReadOnly"
192+ ]
193+ },
194+ {
195+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
196+ }
197+ ],
198+ "description" : " The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it."
199+ },
200+ "notes" : {
201+ "type" : " string" ,
202+ "description" : " Notes about the lock. Maximum of 512 characters."
203+ },
204+ "owners" : {
205+ "oneOf" : [
206+ {
207+ "type" : " array" ,
208+ "items" : {
209+ "$ref" : " #/definitions/ManagementLockOwner"
210+ }
211+ },
212+ {
213+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
214+ }
215+ ],
216+ "description" : " The owners of the lock."
217+ }
218+ },
219+ "required" : [
220+ " level"
221+ ],
222+ "description" : " The lock properties."
223+ }
224+ }
225+ }
0 commit comments