File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01 Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 20072007 },
20082008 "allOf" : [
20092009 {
2010- "$ref" : " ../common.json#/definitions/Resource "
2010+ "$ref" : " ../common.json#/definitions/ResourceWithOptionalLocation "
20112011 }
20122012 ],
20132013 "description" : " Describes a Virtual Machine Extension."
Original file line number Diff line number Diff line change 160160 },
161161 "x-ms-azure-resource" : true
162162 },
163+ "ResourceWithOptionalLocation" : {
164+ "type" : " object" ,
165+ "description" : " The Resource model definition with location property as optional." ,
166+ "properties" : {
167+ "location" : {
168+ "type" : " string" ,
169+ "description" : " Resource location"
170+ },
171+ "id" : {
172+ "readOnly" : true ,
173+ "type" : " string" ,
174+ "description" : " Resource Id"
175+ },
176+ "name" : {
177+ "readOnly" : true ,
178+ "type" : " string" ,
179+ "description" : " Resource name"
180+ },
181+ "type" : {
182+ "readOnly" : true ,
183+ "type" : " string" ,
184+ "description" : " Resource type"
185+ },
186+ "tags" : {
187+ "type" : " object" ,
188+ "additionalProperties" : {
189+ "type" : " string"
190+ },
191+ "description" : " Resource tags"
192+ }
193+ },
194+ "x-ms-azure-resource" : true
195+ },
163196 "ExtendedLocationType" : {
164197 "type" : " string" ,
165198 "description" : " The type of extendedLocation." ,
You can’t perform that action at this time.
0 commit comments