From 05943b1b5f51995363747f97b1f6c6274c1155e7 Mon Sep 17 00:00:00 2001 From: Soumitra Banerjee Date: Wed, 9 Oct 2019 14:05:55 +0530 Subject: [PATCH 1/2] Updating the swagger spec for hostnames support as part of application gateway listener properties --- .../stable/2019-09-01/applicationGateway.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json index bd4f1b6cecc5..7ebaec4a29d2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json @@ -1436,6 +1436,13 @@ "type": "string", "description": "Host name of HTTP listener." }, + "hostnames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Host names for HTTP Listener that allows special wildcard characters as well." + }, "sslCertificate": { "$ref": "./network.json#/definitions/SubResource", "description": "SSL certificate resource of an application gateway." From a6c4a5466fa97df331579a39ca3ad667e0ab9c0b Mon Sep 17 00:00:00 2001 From: Soumitra Banerjee Date: Wed, 16 Oct 2019 17:07:54 +0530 Subject: [PATCH 2/2] Addressing dev comment --- .../stable/2019-09-01/applicationGateway.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json index 7ebaec4a29d2..7e37d8e7adcd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-09-01/applicationGateway.json @@ -1436,13 +1436,6 @@ "type": "string", "description": "Host name of HTTP listener." }, - "hostnames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of Host names for HTTP Listener that allows special wildcard characters as well." - }, "sslCertificate": { "$ref": "./network.json#/definitions/SubResource", "description": "SSL certificate resource of an application gateway." @@ -1461,6 +1454,13 @@ "$ref": "#/definitions/ApplicationGatewayCustomError" }, "description": "Custom error configurations of the HTTP listener." + }, + "hostnames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Host names for HTTP Listener that allows special wildcard characters as well." } }, "description": "Properties of HTTP listener of an application gateway."