Skip to content

Commit

Permalink
Add AppGw swagger changes for L4 proxy (Azure#17561)
Browse files Browse the repository at this point in the history
* Add AppGw swagger changes for L4 proxy

* Fix Lint Errors

* fix prettier checks
  • Loading branch information
gk-ms authored and HappyTobi committed Feb 18, 2022
1 parent 3e6e903 commit a3ddd8c
Showing 1 changed file with 228 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1889,6 +1889,80 @@
],
"description": "Backend address pool settings of an application gateway."
},
"ApplicationGatewayBackendSettingsPropertiesFormat": {
"type": "object",
"properties": {
"port": {
"type": "integer",
"format": "int32",
"description": "The destination port on the backend."
},
"protocol": {
"$ref": "#/definitions/ApplicationGatewayProtocol",
"description": "The protocol used to communicate with the backend."
},
"timeout": {
"type": "integer",
"format": "int32",
"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."
},
"probe": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Probe resource of an application gateway."
},
"trustedRootCertificates": {
"type": "array",
"items": {
"$ref": "./network.json#/definitions/SubResource"
},
"description": "Array of references to application gateway trusted root certificates."
},
"hostName": {
"type": "string",
"description": "Server name indication to be sent to the backend servers for Tls protocol."
},
"pickHostNameFromBackendAddress": {
"type": "boolean",
"description": "Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false."
},
"provisioningState": {
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the backend HTTP settings resource."
}
},
"description": "Properties of Backend address pool settings of an application gateway."
},
"ApplicationGatewayBackendSettings": {
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ApplicationGatewayBackendSettingsPropertiesFormat",
"description": "Properties of the application gateway backend settings."
},
"name": {
"type": "string",
"description": "Name of the backend settings that is unique within an Application Gateway."
},
"etag": {
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"readOnly": true,
"type": "string",
"description": "Type of the resource."
}
},
"allOf": [
{
"$ref": "./network.json#/definitions/SubResource"
}
],
"description": "Backend address pool settings of an application gateway."
},
"ApplicationGatewaySslProfilePropertiesFormat": {
"properties": {
"trustedClientCertificates": {
Expand Down Expand Up @@ -2028,6 +2102,67 @@
],
"description": "Http listener of an application gateway."
},
"ApplicationGatewayListenerPropertiesFormat": {
"type": "object",
"properties": {
"frontendIPConfiguration": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Frontend IP configuration resource of an application gateway."
},
"frontendPort": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Frontend port resource of an application gateway."
},
"protocol": {
"$ref": "#/definitions/ApplicationGatewayProtocol",
"description": "Protocol of the listener."
},
"sslCertificate": {
"$ref": "./network.json#/definitions/SubResource",
"description": "SSL certificate resource of an application gateway."
},
"sslProfile": {
"$ref": "./network.json#/definitions/SubResource",
"description": "SSL profile resource of the application gateway."
},
"provisioningState": {
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the listener resource."
}
},
"description": "Properties of listener of an application gateway."
},
"ApplicationGatewayListener": {
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ApplicationGatewayListenerPropertiesFormat",
"description": "Properties of the application gateway listener."
},
"name": {
"type": "string",
"description": "Name of the listener that is unique within an Application Gateway."
},
"etag": {
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"readOnly": true,
"type": "string",
"description": "Type of the resource."
}
},
"allOf": [
{
"$ref": "./network.json#/definitions/SubResource"
}
],
"description": "Listener of an application gateway."
},
"ApplicationGatewayPathRulePropertiesFormat": {
"properties": {
"paths": {
Expand Down Expand Up @@ -2131,6 +2266,10 @@
"type": "boolean",
"description": "Whether the host header should be picked from the backend http settings. Default value is false."
},
"pickHostNameFromBackendSettings": {
"type": "boolean",
"description": "Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false."
},
"minServers": {
"type": "integer",
"format": "int32",
Expand Down Expand Up @@ -2288,6 +2427,71 @@
],
"description": "Request routing rule of an application gateway."
},
"ApplicationGatewayRoutingRulePropertiesFormat": {
"type": "object",
"properties": {
"ruleType": {
"type": "string",
"description": "Rule type.",
"enum": [
"Basic",
"PathBasedRouting"
],
"x-ms-enum": {
"name": "ApplicationGatewayRequestRoutingRuleType",
"modelAsString": true
}
},
"backendAddressPool": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Backend address pool resource of the application gateway."
},
"backendSettings": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Backend settings resource of the application gateway."
},
"listener": {
"$ref": "./network.json#/definitions/SubResource",
"description": "Listener resource of the application gateway."
},
"provisioningState": {
"readOnly": true,
"$ref": "./network.json#/definitions/ProvisioningState",
"description": "The provisioning state of the request routing rule resource."
}
},
"description": "Properties of routing rule of the application gateway."
},
"ApplicationGatewayRoutingRule": {
"type": "object",
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/ApplicationGatewayRoutingRulePropertiesFormat",
"description": "Properties of the application gateway routing rule."
},
"name": {
"type": "string",
"description": "Name of the routing rule that is unique within an Application Gateway."
},
"etag": {
"readOnly": true,
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"type": {
"readOnly": true,
"type": "string",
"description": "Type of the resource."
}
},
"allOf": [
{
"$ref": "./network.json#/definitions/SubResource"
}
],
"description": "Routing rule of an application gateway."
},
"ApplicationGatewayRewriteRuleSet": {
"properties": {
"properties": {
Expand Down Expand Up @@ -2839,13 +3043,27 @@
},
"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)."
},
"backendSettingsCollection": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayBackendSettings"
},
"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)."
},
"httpListeners": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayHttpListener"
},
"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)."
},
"listeners": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayListener"
},
"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)."
},
"sslProfiles": {
"type": "array",
"items": {
Expand All @@ -2867,6 +3085,13 @@
},
"description": "Request routing rules of the application gateway resource."
},
"routingRules": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayRoutingRule"
},
"description": "Routing rules of the application gateway resource."
},
"rewriteRuleSets": {
"type": "array",
"items": {
Expand Down Expand Up @@ -3548,7 +3773,9 @@
"description": "Application Gateway protocol.",
"enum": [
"Http",
"Https"
"Https",
"Tcp",
"Tls"
],
"x-ms-enum": {
"name": "ApplicationGatewayProtocol",
Expand Down

0 comments on commit a3ddd8c

Please sign in to comment.