Skip to content

Commit 0af8c72

Browse files
tjegbejimbaLeiWang3
authored andcommitted
Zone mappings fix (Azure#16667)
* 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 missing zoneMappings property to resources * fix linter errors
1 parent 613972a commit 0af8c72

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4976,6 +4976,12 @@
49764976
"readOnly": true,
49774977
"description": "The default API version."
49784978
},
4979+
"zoneMappings": {
4980+
"type": "array",
4981+
"items": {
4982+
"$ref": "#/definitions/ZoneMapping"
4983+
}
4984+
},
49794985
"apiProfiles": {
49804986
"type": "array",
49814987
"readOnly": true,
@@ -6374,6 +6380,21 @@
63746380
}
63756381
},
63766382
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
6383+
},
6384+
"ZoneMapping": {
6385+
"type": "object",
6386+
"properties": {
6387+
"location": {
6388+
"type": "string",
6389+
"description": "The location of the zone mapping."
6390+
},
6391+
"zones": {
6392+
"type": "array",
6393+
"items": {
6394+
"type": "string"
6395+
}
6396+
}
6397+
}
63776398
}
63786399
},
63796400
"parameters": {

specification/resources/resource-manager/Microsoft.Resources/stable/2021-04-01/resources.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5012,6 +5012,12 @@
50125012
"readOnly": true,
50135013
"description": "The default API version."
50145014
},
5015+
"zoneMappings": {
5016+
"type": "array",
5017+
"items": {
5018+
"$ref": "#/definitions/ZoneMapping"
5019+
}
5020+
},
50155021
"apiProfiles": {
50165022
"type": "array",
50175023
"readOnly": true,
@@ -6560,6 +6566,21 @@
65606566
}
65616567
},
65626568
"description": "Specifies whether template expressions are evaluated within the scope of the parent template or nested template."
6569+
},
6570+
"ZoneMapping": {
6571+
"type": "object",
6572+
"properties": {
6573+
"location": {
6574+
"type": "string",
6575+
"description": "The location of the zone mapping."
6576+
},
6577+
"zones": {
6578+
"type": "array",
6579+
"items": {
6580+
"type": "string"
6581+
}
6582+
}
6583+
}
65636584
}
65646585
},
65656586
"parameters": {

0 commit comments

Comments
 (0)