Skip to content

Commit

Permalink
Swagger Changes for Multiple DNS Zones for Web App Routing (#25064)
Browse files Browse the repository at this point in the history
* added web app routing changes for multiple dns zones

* modified examples
  • Loading branch information
jaiveerk authored and FumingZhang committed Aug 10, 2023
1 parent 62db545 commit 32b6afe
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
"ingressProfile": {
"webAppRouting": {
"enabled": true,
"dnsZoneResourceId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"
"dnsZoneResourceIds": [
"/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"
]
}
}
}
Expand Down Expand Up @@ -143,7 +145,9 @@
"ingressProfile": {
"webAppRouting": {
"enabled": true,
"dnsZoneResourceId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"
"dnsZoneResourceIds": [
"/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"
]
}
}
}
Expand Down Expand Up @@ -233,7 +237,9 @@
"ingressProfile": {
"webAppRouting": {
"enabled": true,
"dnsZoneResourceId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"
"dnsZoneResourceIds": [
"/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/dnszones/DNS_ZONE_NAME"
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7094,10 +7094,21 @@
"type": "boolean",
"description": "Whether to enable Web App Routing."
},
"dnsZoneResourceId": {
"type": "string",
"format": "arm-id",
"description": "Resource ID of the DNS Zone to be associated with the web app. Used only when Web App Routing is enabled."
"dnsZoneResourceIds": {
"type": "array",
"items": {
"type": "string",
"format": "arm-id",
"x-ms-arm-id-details": {
"allowedResources": [
{
"type": "Microsoft.Network/dnszones"
}
]
}
},
"maxItems": 5,
"description": "Resource IDs of the public DNS zones to be associated with the Web App Routing add-on. Used only when Web App Routing is enabled. All public DNS zones must be in the same resource group."
},
"identity": {
"readOnly": true,
Expand Down

0 comments on commit 32b6afe

Please sign in to comment.