Skip to content

Commit 09c7dc5

Browse files
authored
Add AppGw swagger changes for L4 proxy (#17561)
* Add AppGw swagger changes for L4 proxy * Fix Lint Errors * fix prettier checks
1 parent b529db2 commit 09c7dc5

1 file changed

Lines changed: 228 additions & 1 deletion

File tree

specification/network/resource-manager/Microsoft.Network/stable/2021-08-01/applicationGateway.json

Lines changed: 228 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1889,6 +1889,80 @@
18891889
],
18901890
"description": "Backend address pool settings of an application gateway."
18911891
},
1892+
"ApplicationGatewayBackendSettingsPropertiesFormat": {
1893+
"type": "object",
1894+
"properties": {
1895+
"port": {
1896+
"type": "integer",
1897+
"format": "int32",
1898+
"description": "The destination port on the backend."
1899+
},
1900+
"protocol": {
1901+
"$ref": "#/definitions/ApplicationGatewayProtocol",
1902+
"description": "The protocol used to communicate with the backend."
1903+
},
1904+
"timeout": {
1905+
"type": "integer",
1906+
"format": "int32",
1907+
"description": "Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds."
1908+
},
1909+
"probe": {
1910+
"$ref": "./network.json#/definitions/SubResource",
1911+
"description": "Probe resource of an application gateway."
1912+
},
1913+
"trustedRootCertificates": {
1914+
"type": "array",
1915+
"items": {
1916+
"$ref": "./network.json#/definitions/SubResource"
1917+
},
1918+
"description": "Array of references to application gateway trusted root certificates."
1919+
},
1920+
"hostName": {
1921+
"type": "string",
1922+
"description": "Server name indication to be sent to the backend servers for Tls protocol."
1923+
},
1924+
"pickHostNameFromBackendAddress": {
1925+
"type": "boolean",
1926+
"description": "Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false."
1927+
},
1928+
"provisioningState": {
1929+
"readOnly": true,
1930+
"$ref": "./network.json#/definitions/ProvisioningState",
1931+
"description": "The provisioning state of the backend HTTP settings resource."
1932+
}
1933+
},
1934+
"description": "Properties of Backend address pool settings of an application gateway."
1935+
},
1936+
"ApplicationGatewayBackendSettings": {
1937+
"type": "object",
1938+
"properties": {
1939+
"properties": {
1940+
"x-ms-client-flatten": true,
1941+
"$ref": "#/definitions/ApplicationGatewayBackendSettingsPropertiesFormat",
1942+
"description": "Properties of the application gateway backend settings."
1943+
},
1944+
"name": {
1945+
"type": "string",
1946+
"description": "Name of the backend settings that is unique within an Application Gateway."
1947+
},
1948+
"etag": {
1949+
"readOnly": true,
1950+
"type": "string",
1951+
"description": "A unique read-only string that changes whenever the resource is updated."
1952+
},
1953+
"type": {
1954+
"readOnly": true,
1955+
"type": "string",
1956+
"description": "Type of the resource."
1957+
}
1958+
},
1959+
"allOf": [
1960+
{
1961+
"$ref": "./network.json#/definitions/SubResource"
1962+
}
1963+
],
1964+
"description": "Backend address pool settings of an application gateway."
1965+
},
18921966
"ApplicationGatewaySslProfilePropertiesFormat": {
18931967
"properties": {
18941968
"trustedClientCertificates": {
@@ -2028,6 +2102,67 @@
20282102
],
20292103
"description": "Http listener of an application gateway."
20302104
},
2105+
"ApplicationGatewayListenerPropertiesFormat": {
2106+
"type": "object",
2107+
"properties": {
2108+
"frontendIPConfiguration": {
2109+
"$ref": "./network.json#/definitions/SubResource",
2110+
"description": "Frontend IP configuration resource of an application gateway."
2111+
},
2112+
"frontendPort": {
2113+
"$ref": "./network.json#/definitions/SubResource",
2114+
"description": "Frontend port resource of an application gateway."
2115+
},
2116+
"protocol": {
2117+
"$ref": "#/definitions/ApplicationGatewayProtocol",
2118+
"description": "Protocol of the listener."
2119+
},
2120+
"sslCertificate": {
2121+
"$ref": "./network.json#/definitions/SubResource",
2122+
"description": "SSL certificate resource of an application gateway."
2123+
},
2124+
"sslProfile": {
2125+
"$ref": "./network.json#/definitions/SubResource",
2126+
"description": "SSL profile resource of the application gateway."
2127+
},
2128+
"provisioningState": {
2129+
"readOnly": true,
2130+
"$ref": "./network.json#/definitions/ProvisioningState",
2131+
"description": "The provisioning state of the listener resource."
2132+
}
2133+
},
2134+
"description": "Properties of listener of an application gateway."
2135+
},
2136+
"ApplicationGatewayListener": {
2137+
"type": "object",
2138+
"properties": {
2139+
"properties": {
2140+
"x-ms-client-flatten": true,
2141+
"$ref": "#/definitions/ApplicationGatewayListenerPropertiesFormat",
2142+
"description": "Properties of the application gateway listener."
2143+
},
2144+
"name": {
2145+
"type": "string",
2146+
"description": "Name of the listener that is unique within an Application Gateway."
2147+
},
2148+
"etag": {
2149+
"readOnly": true,
2150+
"type": "string",
2151+
"description": "A unique read-only string that changes whenever the resource is updated."
2152+
},
2153+
"type": {
2154+
"readOnly": true,
2155+
"type": "string",
2156+
"description": "Type of the resource."
2157+
}
2158+
},
2159+
"allOf": [
2160+
{
2161+
"$ref": "./network.json#/definitions/SubResource"
2162+
}
2163+
],
2164+
"description": "Listener of an application gateway."
2165+
},
20312166
"ApplicationGatewayPathRulePropertiesFormat": {
20322167
"properties": {
20332168
"paths": {
@@ -2131,6 +2266,10 @@
21312266
"type": "boolean",
21322267
"description": "Whether the host header should be picked from the backend http settings. Default value is false."
21332268
},
2269+
"pickHostNameFromBackendSettings": {
2270+
"type": "boolean",
2271+
"description": "Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false."
2272+
},
21342273
"minServers": {
21352274
"type": "integer",
21362275
"format": "int32",
@@ -2288,6 +2427,71 @@
22882427
],
22892428
"description": "Request routing rule of an application gateway."
22902429
},
2430+
"ApplicationGatewayRoutingRulePropertiesFormat": {
2431+
"type": "object",
2432+
"properties": {
2433+
"ruleType": {
2434+
"type": "string",
2435+
"description": "Rule type.",
2436+
"enum": [
2437+
"Basic",
2438+
"PathBasedRouting"
2439+
],
2440+
"x-ms-enum": {
2441+
"name": "ApplicationGatewayRequestRoutingRuleType",
2442+
"modelAsString": true
2443+
}
2444+
},
2445+
"backendAddressPool": {
2446+
"$ref": "./network.json#/definitions/SubResource",
2447+
"description": "Backend address pool resource of the application gateway."
2448+
},
2449+
"backendSettings": {
2450+
"$ref": "./network.json#/definitions/SubResource",
2451+
"description": "Backend settings resource of the application gateway."
2452+
},
2453+
"listener": {
2454+
"$ref": "./network.json#/definitions/SubResource",
2455+
"description": "Listener resource of the application gateway."
2456+
},
2457+
"provisioningState": {
2458+
"readOnly": true,
2459+
"$ref": "./network.json#/definitions/ProvisioningState",
2460+
"description": "The provisioning state of the request routing rule resource."
2461+
}
2462+
},
2463+
"description": "Properties of routing rule of the application gateway."
2464+
},
2465+
"ApplicationGatewayRoutingRule": {
2466+
"type": "object",
2467+
"properties": {
2468+
"properties": {
2469+
"x-ms-client-flatten": true,
2470+
"$ref": "#/definitions/ApplicationGatewayRoutingRulePropertiesFormat",
2471+
"description": "Properties of the application gateway routing rule."
2472+
},
2473+
"name": {
2474+
"type": "string",
2475+
"description": "Name of the routing rule that is unique within an Application Gateway."
2476+
},
2477+
"etag": {
2478+
"readOnly": true,
2479+
"type": "string",
2480+
"description": "A unique read-only string that changes whenever the resource is updated."
2481+
},
2482+
"type": {
2483+
"readOnly": true,
2484+
"type": "string",
2485+
"description": "Type of the resource."
2486+
}
2487+
},
2488+
"allOf": [
2489+
{
2490+
"$ref": "./network.json#/definitions/SubResource"
2491+
}
2492+
],
2493+
"description": "Routing rule of an application gateway."
2494+
},
22912495
"ApplicationGatewayRewriteRuleSet": {
22922496
"properties": {
22932497
"properties": {
@@ -2839,13 +3043,27 @@
28393043
},
28403044
"description": "Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
28413045
},
3046+
"backendSettingsCollection": {
3047+
"type": "array",
3048+
"items": {
3049+
"$ref": "#/definitions/ApplicationGatewayBackendSettings"
3050+
},
3051+
"description": "Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
3052+
},
28423053
"httpListeners": {
28433054
"type": "array",
28443055
"items": {
28453056
"$ref": "#/definitions/ApplicationGatewayHttpListener"
28463057
},
28473058
"description": "Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
28483059
},
3060+
"listeners": {
3061+
"type": "array",
3062+
"items": {
3063+
"$ref": "#/definitions/ApplicationGatewayListener"
3064+
},
3065+
"description": "Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits)."
3066+
},
28493067
"sslProfiles": {
28503068
"type": "array",
28513069
"items": {
@@ -2867,6 +3085,13 @@
28673085
},
28683086
"description": "Request routing rules of the application gateway resource."
28693087
},
3088+
"routingRules": {
3089+
"type": "array",
3090+
"items": {
3091+
"$ref": "#/definitions/ApplicationGatewayRoutingRule"
3092+
},
3093+
"description": "Routing rules of the application gateway resource."
3094+
},
28703095
"rewriteRuleSets": {
28713096
"type": "array",
28723097
"items": {
@@ -3548,7 +3773,9 @@
35483773
"description": "Application Gateway protocol.",
35493774
"enum": [
35503775
"Http",
3551-
"Https"
3776+
"Https",
3777+
"Tcp",
3778+
"Tls"
35523779
],
35533780
"x-ms-enum": {
35543781
"name": "ApplicationGatewayProtocol",

0 commit comments

Comments
 (0)