Skip to content

Commit

Permalink
Azure FW - Explicit Proxy feature swagger change (#15017)
Browse files Browse the repository at this point in the history
* explicit proxy swagger change

* prettier check fix

* lint check

* prettier fix

* revert unnecessary file change
  • Loading branch information
tinawu6 authored Aug 7, 2021
1 parent 29ee369 commit 924fd32
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
"enableProxy": true,
"requireProxyForNetworkRules": false
},
"explicitProxySettings": {
"enableExplicitProxy": true,
"httpPort": 8087,
"httpsPort": 8087,
"pacFilePort": 8087,
"pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D"
},
"sku": {
"tier": "Premium"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@
"enableProxy": true,
"requireProxyForNetworkRules": false
},
"explicitProxySettings": {
"enableExplicitProxy": true,
"httpPort": 8087,
"httpsPort": 8087,
"pacFilePort": 8087,
"pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D"
},
"sku": {
"tier": "Premium"
},
Expand Down Expand Up @@ -165,6 +172,13 @@
"enableProxy": true,
"requireProxyForNetworkRules": false
},
"explicitProxySettings": {
"enableExplicitProxy": true,
"httpPort": 8087,
"httpsPort": 8087,
"pacFilePort": 8087,
"pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D"
},
"sku": {
"tier": "Premium"
},
Expand Down Expand Up @@ -272,6 +286,13 @@
"enableProxy": true,
"requireProxyForNetworkRules": false
},
"explicitProxySettings": {
"enableExplicitProxy": true,
"httpPort": 8087,
"httpsPort": 8087,
"pacFilePort": 8087,
"pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D"
},
"sku": {
"tier": "Premium"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,10 @@
"description": "DNS Proxy Settings definition.",
"$ref": "#/definitions/DnsSettings"
},
"explicitProxySettings": {
"description": "Explicit Proxy Settings definition.",
"$ref": "#/definitions/ExplicitProxySettings"
},
"intrusionDetection": {
"description": "The configuration for Intrusion detection.",
"$ref": "#/definitions/FirewallPolicyIntrusionDetection"
Expand Down Expand Up @@ -1223,6 +1227,49 @@
}
}
},
"ExplicitProxySettings": {
"description": "Explicit Proxy Settings in Firewall Policy.",
"x-ms-discriminator-value": "ExplicitProxySettings",
"type": "object",
"properties": {
"enableExplicitProxy": {
"type": "boolean",
"description": "When set to true, explicit proxy mode is enabled.",
"x-nullable": true
},
"httpPort": {
"type": "integer",
"format": "int32",
"maximum": 64000,
"exclusiveMaximum": false,
"minimum": 0,
"exclusiveMinimum": false,
"description": "Port number for explicit proxy http protocol, cannot be greater than 64000."
},
"httpsPort": {
"type": "integer",
"format": "int32",
"maximum": 64000,
"exclusiveMaximum": false,
"minimum": 0,
"exclusiveMinimum": false,
"description": "Port number for explicit proxy https protocol, cannot be greater than 64000."
},
"pacFilePort": {
"type": "integer",
"format": "int32",
"maximum": 64000,
"exclusiveMaximum": false,
"minimum": 0,
"exclusiveMinimum": false,
"description": "Port number for firewall to serve PAC file."
},
"pacFile": {
"type": "string",
"description": "SAS URL for PAC file."
}
}
},
"FirewallPolicyIntrusionDetection": {
"description": "Configuration for intrusion detection mode and rules.",
"properties": {
Expand Down

0 comments on commit 924fd32

Please sign in to comment.