Skip to content

Commit ce16a67

Browse files
tjegbejimbadabenhamMic
authored andcommitted
Add missing Zone mapping property to Microsoft.Resources (Azure#13936)
* remove name validation from client side * remove name check from deploymentScripts swagger * remove name check from previous swagger versions * remove pattern from resourcegroupname parameter * add zoneMappings to ResoursesType * backfill older versions of swagger with zonemapping property
1 parent 75c5414 commit ce16a67

File tree

14 files changed

+280
-0
lines changed

14 files changed

+280
-0
lines changed

specification/resources/resource-manager/Microsoft.Resources/stable/2016-07-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1912,6 +1912,12 @@
19121912
},
19131913
"description": "The api version."
19141914
},
1915+
"zoneMappings": {
1916+
"type": "array",
1917+
"items": {
1918+
"$ref": "#/definitions/ZoneMapping"
1919+
}
1920+
},
19151921
"properties": {
19161922
"type": "object",
19171923
"additionalProperties": {
@@ -2634,6 +2640,20 @@
26342640
"description": "The template hash."
26352641
}
26362642
}
2643+
},
2644+
"ZoneMapping": {
2645+
"properties": {
2646+
"location": {
2647+
"type": "string",
2648+
"description": "The location of the zone mapping."
2649+
},
2650+
"zones": {
2651+
"type": "array",
2652+
"items": {
2653+
"type": "string"
2654+
}
2655+
}
2656+
}
26372657
}
26382658
},
26392659
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2016-09-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2163,6 +2163,12 @@
21632163
},
21642164
"description": "The API version."
21652165
},
2166+
"zoneMappings": {
2167+
"type": "array",
2168+
"items": {
2169+
"$ref": "#/definitions/ZoneMapping"
2170+
}
2171+
},
21662172
"properties": {
21672173
"type": "object",
21682174
"additionalProperties": {
@@ -2903,6 +2909,20 @@
29032909
"description": "The template hash."
29042910
}
29052911
}
2912+
},
2913+
"ZoneMapping": {
2914+
"properties": {
2915+
"location": {
2916+
"type": "string",
2917+
"description": "The location of the zone mapping."
2918+
},
2919+
"zones": {
2920+
"type": "array",
2921+
"items": {
2922+
"type": "string"
2923+
}
2924+
}
2925+
}
29062926
}
29072927
},
29082928
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2017-05-10/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,6 +2213,12 @@
22132213
},
22142214
"description": "The API version."
22152215
},
2216+
"zoneMappings": {
2217+
"type": "array",
2218+
"items": {
2219+
"$ref": "#/definitions/ZoneMapping"
2220+
}
2221+
},
22162222
"properties": {
22172223
"type": "object",
22182224
"additionalProperties": {
@@ -2985,6 +2991,20 @@
29852991
"description": "The template hash."
29862992
}
29872993
}
2994+
},
2995+
"ZoneMapping": {
2996+
"properties": {
2997+
"location": {
2998+
"type": "string",
2999+
"description": "The location of the zone mapping."
3000+
},
3001+
"zones": {
3002+
"type": "array",
3003+
"items": {
3004+
"type": "string"
3005+
}
3006+
}
3007+
}
29883008
}
29893009
},
29903010
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2018-02-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,6 +2225,12 @@
22252225
},
22262226
"description": "The API version."
22272227
},
2228+
"zoneMappings": {
2229+
"type": "array",
2230+
"items": {
2231+
"$ref": "#/definitions/ZoneMapping"
2232+
}
2233+
},
22282234
"properties": {
22292235
"type": "object",
22302236
"additionalProperties": {
@@ -3052,6 +3058,20 @@
30523058
"description": "The template hash."
30533059
}
30543060
}
3061+
},
3062+
"ZoneMapping": {
3063+
"properties": {
3064+
"location": {
3065+
"type": "string",
3066+
"description": "The location of the zone mapping."
3067+
},
3068+
"zones": {
3069+
"type": "array",
3070+
"items": {
3071+
"type": "string"
3072+
}
3073+
}
3074+
}
30553075
}
30563076
},
30573077
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2018-05-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2662,6 +2662,12 @@
26622662
},
26632663
"description": "The API version."
26642664
},
2665+
"zoneMappings": {
2666+
"type": "array",
2667+
"items": {
2668+
"$ref": "#/definitions/ZoneMapping"
2669+
}
2670+
},
26652671
"properties": {
26662672
"type": "object",
26672673
"additionalProperties": {
@@ -3568,6 +3574,20 @@
35683574
"description": "The template hash."
35693575
}
35703576
}
3577+
},
3578+
"ZoneMapping": {
3579+
"properties": {
3580+
"location": {
3581+
"type": "string",
3582+
"description": "The location of the zone mapping."
3583+
},
3584+
"zones": {
3585+
"type": "array",
3586+
"items": {
3587+
"type": "string"
3588+
}
3589+
}
3590+
}
35713591
}
35723592
},
35733593
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2019-03-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2670,6 +2670,12 @@
26702670
},
26712671
"description": "The API version."
26722672
},
2673+
"zoneMappings": {
2674+
"type": "array",
2675+
"items": {
2676+
"$ref": "#/definitions/ZoneMapping"
2677+
}
2678+
},
26732679
"capabilities": {
26742680
"type": "string",
26752681
"description": "The additional capabilities offered by this resource type."
@@ -3585,6 +3591,20 @@
35853591
"description": "The template hash."
35863592
}
35873593
}
3594+
},
3595+
"ZoneMapping": {
3596+
"properties": {
3597+
"location": {
3598+
"type": "string",
3599+
"description": "The location of the zone mapping."
3600+
},
3601+
"zones": {
3602+
"type": "array",
3603+
"items": {
3604+
"type": "string"
3605+
}
3606+
}
3607+
}
35883608
}
35893609
},
35903610
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2890,6 +2890,12 @@
28902890
},
28912891
"description": "The API version."
28922892
},
2893+
"zoneMappings": {
2894+
"type": "array",
2895+
"items": {
2896+
"$ref": "#/definitions/ZoneMapping"
2897+
}
2898+
},
28932899
"capabilities": {
28942900
"type": "string",
28952901
"description": "The additional capabilities offered by this resource type."
@@ -3817,6 +3823,20 @@
38173823
"description": "The template hash."
38183824
}
38193825
}
3826+
},
3827+
"ZoneMapping": {
3828+
"properties": {
3829+
"location": {
3830+
"type": "string",
3831+
"description": "The location of the zone mapping."
3832+
},
3833+
"zones": {
3834+
"type": "array",
3835+
"items": {
3836+
"type": "string"
3837+
}
3838+
}
3839+
}
38203840
}
38213841
},
38223842
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2019-05-10/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2966,6 +2966,12 @@
29662966
},
29672967
"description": "The API version."
29682968
},
2969+
"zoneMappings": {
2970+
"type": "array",
2971+
"items": {
2972+
"$ref": "#/definitions/ZoneMapping"
2973+
}
2974+
},
29692975
"capabilities": {
29702976
"type": "string",
29712977
"description": "The additional capabilities offered by this resource type."
@@ -3893,6 +3899,20 @@
38933899
"description": "The template hash."
38943900
}
38953901
}
3902+
},
3903+
"ZoneMapping": {
3904+
"properties": {
3905+
"location": {
3906+
"type": "string",
3907+
"description": "The location of the zone mapping."
3908+
},
3909+
"zones": {
3910+
"type": "array",
3911+
"items": {
3912+
"type": "string"
3913+
}
3914+
}
3915+
}
38963916
}
38973917
},
38983918
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2019-07-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4280,6 +4280,12 @@
42804280
},
42814281
"description": "The API version."
42824282
},
4283+
"zoneMappings": {
4284+
"type": "array",
4285+
"items": {
4286+
"$ref": "#/definitions/ZoneMapping"
4287+
}
4288+
},
42834289
"capabilities": {
42844290
"type": "string",
42854291
"description": "The additional capabilities offered by this resource type."
@@ -5367,6 +5373,20 @@
53675373
"description": "Error when What-If operation fails."
53685374
}
53695375
}
5376+
},
5377+
"ZoneMapping": {
5378+
"properties": {
5379+
"location": {
5380+
"type": "string",
5381+
"description": "The location of the zone mapping."
5382+
},
5383+
"zones": {
5384+
"type": "array",
5385+
"items": {
5386+
"type": "string"
5387+
}
5388+
}
5389+
}
53705390
}
53715391
},
53725392
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2019-08-01/resources.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4297,6 +4297,12 @@
42974297
},
42984298
"description": "The API version."
42994299
},
4300+
"zoneMappings": {
4301+
"type": "array",
4302+
"items": {
4303+
"$ref": "#/definitions/ZoneMapping"
4304+
}
4305+
},
43004306
"capabilities": {
43014307
"type": "string",
43024308
"description": "The additional capabilities offered by this resource type."
@@ -5384,6 +5390,20 @@
53845390
"description": "Error when What-If operation fails."
53855391
}
53865392
}
5393+
},
5394+
"ZoneMapping": {
5395+
"properties": {
5396+
"location": {
5397+
"type": "string",
5398+
"description": "The location of the zone mapping."
5399+
},
5400+
"zones": {
5401+
"type": "array",
5402+
"items": {
5403+
"type": "string"
5404+
}
5405+
}
5406+
}
53875407
}
53885408
},
53895409
"parameters": {

0 commit comments

Comments
 (0)