Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters" : {
"api-version": "2018-06-01",
"api-version": "2018-07-01",
"subscriptionId" : "subid",
"resourceGroupName" : "rg1",
"networkWatcherName" : "nw1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,14 @@
"provisioningState": {
"type": "string",
"description": "Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
}
},
"customErrorConfiguration": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayCustomError"
},
"description": "Custom error configurations of the HTTP listener."
}
},
"description": "Properties of HTTP listener of an application gateway."
},
Expand Down Expand Up @@ -1683,7 +1690,14 @@
"provisioningState": {
"type": "string",
"description": "Provisioning state of the application gateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
}
},
"customErrorConfiguration": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayCustomError"
},
"description": "Custom error configurations of the application gateway resource."
}
},
"description": "Properties of the application gateway."
},
Expand Down Expand Up @@ -1827,6 +1841,31 @@
"minimum": 8,
"exclusiveMinimum": false,
"description": "Maxium request body size for WAF."
},
"maxRequestBodySizeInKb": {
"type": "integer",
"format": "int32",
"maximum": 128,
"exclusiveMaximum": false,
"minimum": 8,
"exclusiveMinimum": false,
"description": "Maxium request body size in Kb for WAF."
},
"fileUploadLimitInMb": {
"type": "integer",
"format": "int32",
"maximum": 500,
"exclusiveMaximum": false,
"minimum": 0,
"exclusiveMinimum": false,
"description": "Maxium file upload size in Mb for WAF."
},
"exclusions": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayFirewallExclusion"
},
"description": "The exclusion list."
}
},
"required": [
Expand Down Expand Up @@ -1895,6 +1934,28 @@
],
"description": "Allows to disable rules within a rule group or an entire rule group."
},
"ApplicationGatewayFirewallExclusion": {
"properties": {
"matchVariable": {
"type": "string",
"description": "The variable to be excluded."
},
"selectorMatchOperator": {
"type": "string",
"description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to."
},
"selector": {
"type": "string",
"description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to."
}
},
"required": [
"matchVariable",
"selectorMatchOperator",
"selector"
],
"description": "Allow to exclude some variable satisfy the condition for the WAF check"
},
"ApplicationGatewayAvailableWafRuleSetsResult": {
"properties": {
"value": {
Expand Down Expand Up @@ -2084,6 +2145,27 @@
}
},
"description": "Properties of ApplicationGatewaySslPredefinedPolicy"
},
"ApplicationGatewayCustomError": {
"properties": {
"statusCode": {
"type": "string",
"description": "Status code of the application gateway customer error.",
"enum": [
"403",
"502"
],
"x-ms-enum": {
"name": "ApplicationGatewayCustomErrorStatusCode",
"modelAsString": true
}
},
"customErrorPageUrl": {
"type": "string",
"description": "Error page URL of the application gateway customer error."
}
},
"description": "Customer error of an application gateway."
},
"PolicyNameEnum": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@
"enum":[
"TCP",
"UDP",
"Any"
"Any",
"ICMP"
],
"x-ms-enum":{
"name":"AzureFirewallNetworkRuleProtocol",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"parameters" : {
"api-version": "2018-06-01",
"api-version": "2018-08-01",
"subscriptionId" : "subid",
"resourceGroupName" : "rg1",
"networkWatcherName" : "nw1",
"parameters" : {
"targetResourceId" : "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1",
"queries": [
"profiles": [
{
"direction" : "Inbound",
"protocol" : "TCP",
Expand All @@ -22,7 +22,7 @@
"body" : {
"results": [
{
"trafficQuery": {
"profile": {
"direction": "Inbound",
"protocol": "TCP",
"source": "10.1.0.4",
Expand All @@ -34,6 +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",
"matchedRule": {
"ruleName": "UserRule_fe_rule",
"action": "Allow"
Expand Down Expand Up @@ -83,6 +84,7 @@
},
{
"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 @@ -108,7 +110,7 @@
"body" : {
"results": [
{
"trafficQuery": {
"profile": {
"direction": "Inbound",
"protocol": "TCP",
"source": "10.1.0.4",
Expand All @@ -120,6 +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",
"matchedRule": {
"ruleName": "UserRule_fe_rule",
"action": "Allow"
Expand Down Expand Up @@ -169,6 +172,7 @@
},
{
"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
@@ -0,0 +1,47 @@
{
"parameters" : {
"api-version": "2018-08-01",
"subscriptionId" : "subid",
"resourceGroupName": "rg1",
"serviceEndpointPolicyName": "testServiceEndpointPolicy",
"parameters": {
"tags": {
"tag1": "value1",
"tag2": "value2"
}
}
},
"responses" : {
"200" : {
"body" : {
"name" : "testServiceEndpointPolicy",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy",
"type": "Microsoft.Network/serviceEndpointPolicies",
"location" : "westus",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"provisioningState": "Succeeded",
"resourceGuid": "00000000-0000-0000-0000-000000000000",
"serviceEndpointPolicyDefinitions": [
{
"name": "StorageServiceEndpointPolicyDefinition",
"properties": {
"description": "Storage Service EndpointPolicy Definition",
"service": "Microsoft.Storage",
"serviceResources": [
"/subscriptions/subid1",
"/subscriptions/subid1/resourceGroups/storageRg",
"/subscriptions/subid1/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount"
]
}
}
],
"subnets": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkGatewayConnectionName" : "connS2S",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"virtualNetworkGatewayConnectionName" : "connS2S"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"virtualWANName": "wan1"
},
"responses": {
Expand All @@ -24,4 +24,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"gatewayName": "gateway1",
"connectionName": "vpnConnection1",
"resourceGroupName": "rg1",
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"subscriptionId": "subid"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"gatewayName": "gateway1",
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"subscriptionId": "subid"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"connectionName": "vpnConnection1",
"gatewayName": "gateway1",
"resourceGroupName": "rg1",
"api-version": "2018-07-01",
"api-version": "2018-08-01",
"subscriptionId": "subid",
"VpnConnectionParameters": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3432,23 +3432,36 @@
"description": "Parameters to get network configuration diagnostic.",
"required": [
"targetResourceId",
"queries"
"profiles"
],
"properties": {
"targetResourceId": {
"type": "string",
"description": "The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway."
},
"queries": {
"verbosityLevel": {
"type": "string",
"enum": [
"Normal",
"Minimum",
"Full"
],
"x-ms-enum": {
"name": "VerbosityLevel",
"modelAsString": true
},
"description": "Verbosity level. Accepted values are 'Normal', 'Minimum', 'Full'."
},
"profiles": {
"type": "array",
"description": "List of traffic queries.",
"description": "List of network configuration diagnostic profiles.",
"items": {
"$ref": "#/definitions/TrafficQuery"
"$ref": "#/definitions/NetworkConfigurationDiagnosticProfile"
}
}
}
},
"TrafficQuery": {
"NetworkConfigurationDiagnosticProfile": {
"description": "Parameters to compare with network configuration.",
"required": [
"direction",
Expand Down Expand Up @@ -3504,8 +3517,8 @@
"NetworkConfigurationDiagnosticResult": {
"description": "Network configuration diagnostic result corresponded to provided traffic query.",
"properties": {
"trafficQuery": {
"$ref": "#/definitions/TrafficQuery"
"profile": {
"$ref": "#/definitions/NetworkConfigurationDiagnosticProfile"
},
"networkSecurityGroupResult": {
"$ref": "#/definitions/NetworkSecurityGroupResult"
Expand Down Expand Up @@ -3544,6 +3557,10 @@
"type": "string",
"description": "Network security group ID."
},
"appliedTo": {
"type": "string",
"description": "Resource ID of nic or subnet to which network security group is applied."
},
"matchedRule": {
"$ref": "#/definitions/MatchedRule"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
}
},
"x-ms-examples": {
"Update service endpoint policy tags": { "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" }
},
"x-ms-long-running-operation": true
}
Expand Down