Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Application Gateway Server Variables APIs #4916

Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,114 @@
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": {
amarzavery marked this conversation as resolved.
Show resolved Hide resolved
"get": {
"tags": [
"ApplicationGateways"
],
"operationId": "ApplicationGateways_ListAvailableServerVariables",
"x-ms-examples": {
"Get Available Server Variables": {
"$ref": "./examples/ApplicationGatewayAvailableServerVariablesGet.json"
}
},
"description": "Lists all available server variables.",
"parameters": [
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
nirkum18 marked this conversation as resolved.
Show resolved Hide resolved
"200": {
"description": "Success. The operation returns a list of all available server variables.",
"schema": {
"$ref": "#/definitions/ApplicationGatewayAvailableServerVariablesResult"
}
},
"default": {
"description": "unexpected error",
"schema": {
"$ref": "./network.json#/definitions/Error"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": {
"get": {
"tags": [
"ApplicationGateways"
],
"operationId": "ApplicationGateways_ListAvailableRequestHeaders",
"x-ms-examples": {
"Get Available Request Headers": {
"$ref": "./examples/ApplicationGatewayAvailableRequestHeadersGet.json"
}
},
"description": "Lists all available request headers.",
"parameters": [
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The operation returns a list of all available request headers.",
"schema": {
"$ref": "#/definitions/ApplicationGatewayAvailableRequestHeadersResult"
}
nirkum18 marked this conversation as resolved.
Show resolved Hide resolved
},
"default": {
"description": "unexpected error",
"schema": {
"$ref": "./network.json#/definitions/Error"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": {
"get": {
"tags": [
"ApplicationGateways"
],
"operationId": "ApplicationGateways_ListAvailableResponseHeaders",
"x-ms-examples": {
"Get Available Response Headers": {
"$ref": "./examples/ApplicationGatewayAvailableResponseHeadersGet.json"
}
},
"description": "Lists all available response headers.",
"parameters": [
{
"$ref": "./network.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./network.json#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The operation returns a list of all available response headers.",
"schema": {
"$ref": "#/definitions/ApplicationGatewayAvailableResponseHeadersResult"
}
},
"default": {
"description": "unexpected error",
"schema": {
"$ref": "./network.json#/definitions/Error"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": {
"get": {
Expand Down Expand Up @@ -2046,6 +2154,45 @@
"ruleGroupName"
],
"description": "Allows to disable rules within a rule group or an entire rule group."
},
"ApplicationGatewayAvailableServerVariablesResult": {
nirkum18 marked this conversation as resolved.
Show resolved Hide resolved
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of supported server variables in application gateway."
}
},
"description": "Response for ApplicationGatewayAvailableServerVariables API service call."
},
"ApplicationGatewayAvailableRequestHeadersResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of supported request headers in application gateway."
}
},
"description": "Response for ApplicationGatewayAvailableRequestHeaders API service call."
},
"ApplicationGatewayAvailableResponseHeadersResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of supported response header in application gateway."
}
},
"description": "Response for ApplicationGatewayAvailableResponeHeaders API service call."
},
"ApplicationGatewayFirewallExclusion": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"api-version": "2018-11-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
"Accept-Charset"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"api-version": "2018-11-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
"Access-Control-Allow-Origin"
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"api-version": "2018-11-01",
"subscriptionId": "subid"
},
"responses": {
"200": {
"body": {
"value": [
"request_query"
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"evaluatedNetworkSecurityGroups": [
{
"networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
"matchedRule": {
"ruleName": "UserRule_fe_rule",
"action": "Allow"
Expand Down Expand Up @@ -83,8 +83,8 @@
]
},
{
"networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
"networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
"matchedRule": {
"ruleName": "UserRule_fe_rule",
"action": "Allow"
Expand All @@ -110,7 +110,7 @@
"body" : {
"results": [
{
"profile": {
"profile": {
"direction": "Inbound",
"protocol": "TCP",
"source": "10.1.0.4",
Expand All @@ -122,7 +122,7 @@
"evaluatedNetworkSecurityGroups": [
{
"networkSecurityGroupId": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet",
"matchedRule": {
"ruleName": "UserRule_fe_rule",
"action": "Allow"
Expand Down Expand Up @@ -171,8 +171,8 @@
]
},
{
"networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
"networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG",
"appliedTo": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic",
"matchedRule": {
"ruleName": "UserRule_fe_rule",
"action": "Allow"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@
"description": "Client API version."
}
}
}
}
Loading