|
| 1 | +{ |
| 2 | + "properties": { |
| 3 | + "spec": { |
| 4 | + "properties": { |
| 5 | + "rewriteRules": { |
| 6 | + "description": "A list of Application Gateway rewrite rules", |
| 7 | + "items": { |
| 8 | + "properties": { |
| 9 | + "actions": { |
| 10 | + "description": "A list of Application Gateway rewrite rule actions", |
| 11 | + "properties": { |
| 12 | + "requestHeaderConfigurations": { |
| 13 | + "items": { |
| 14 | + "properties": { |
| 15 | + "actionType": { |
| 16 | + "description": "actionType can be set or delete only", |
| 17 | + "pattern": "^set$|^delete$", |
| 18 | + "type": "string" |
| 19 | + }, |
| 20 | + "headerName": { |
| 21 | + "description": "Name of the header to be set or delete", |
| 22 | + "type": "string" |
| 23 | + }, |
| 24 | + "headerValue": { |
| 25 | + "description": "Value of header to change to if a header is being set. Not needed if actionType is delete", |
| 26 | + "type": "string" |
| 27 | + } |
| 28 | + }, |
| 29 | + "type": "object", |
| 30 | + "additionalProperties": false |
| 31 | + }, |
| 32 | + "type": "array" |
| 33 | + }, |
| 34 | + "responseHeaderConfigurations": { |
| 35 | + "items": { |
| 36 | + "properties": { |
| 37 | + "actionType": { |
| 38 | + "description": "actionType can be set or delete only", |
| 39 | + "pattern": "^set$|^delete$", |
| 40 | + "type": "string" |
| 41 | + }, |
| 42 | + "headerName": { |
| 43 | + "description": "Name of the header to be set or delete", |
| 44 | + "type": "string" |
| 45 | + }, |
| 46 | + "headerValue": { |
| 47 | + "description": "Value of header to change to if a header is being set. Not needed if actionType is delete", |
| 48 | + "type": "string" |
| 49 | + } |
| 50 | + }, |
| 51 | + "type": "object", |
| 52 | + "additionalProperties": false |
| 53 | + }, |
| 54 | + "type": "array" |
| 55 | + }, |
| 56 | + "urlConfiguration": { |
| 57 | + "properties": { |
| 58 | + "modifiedPath": { |
| 59 | + "description": "Resultant path", |
| 60 | + "type": "string" |
| 61 | + }, |
| 62 | + "modifiedQueryString": { |
| 63 | + "description": "Resultant query string", |
| 64 | + "type": "string" |
| 65 | + }, |
| 66 | + "reroute": { |
| 67 | + "description": "Should App Gw reroute the request based on modified path", |
| 68 | + "type": "boolean" |
| 69 | + } |
| 70 | + }, |
| 71 | + "type": "object", |
| 72 | + "additionalProperties": false |
| 73 | + } |
| 74 | + }, |
| 75 | + "type": "object", |
| 76 | + "additionalProperties": false |
| 77 | + }, |
| 78 | + "conditions": { |
| 79 | + "description": "A list of Application Gateway rewrite rule conditions", |
| 80 | + "items": { |
| 81 | + "properties": { |
| 82 | + "ignoreCase": { |
| 83 | + "description": "Case sensitivity of comparison", |
| 84 | + "type": "boolean" |
| 85 | + }, |
| 86 | + "negate": { |
| 87 | + "description": "Negate the outcome of comparison", |
| 88 | + "type": "boolean" |
| 89 | + }, |
| 90 | + "pattern": { |
| 91 | + "description": "pattern to compare to", |
| 92 | + "type": "string" |
| 93 | + }, |
| 94 | + "variable": { |
| 95 | + "description": "Variable to compare", |
| 96 | + "type": "string" |
| 97 | + } |
| 98 | + }, |
| 99 | + "type": "object", |
| 100 | + "additionalProperties": false |
| 101 | + }, |
| 102 | + "type": "array" |
| 103 | + }, |
| 104 | + "name": { |
| 105 | + "description": "Name of the Application Gateway rewrite rule", |
| 106 | + "type": "string" |
| 107 | + }, |
| 108 | + "ruleSequence": { |
| 109 | + "description": "Sequence number (priority) of the Application Gateway rewrite rule", |
| 110 | + "type": "integer" |
| 111 | + } |
| 112 | + }, |
| 113 | + "type": "object", |
| 114 | + "additionalProperties": false |
| 115 | + }, |
| 116 | + "minItems": 1, |
| 117 | + "type": "array" |
| 118 | + } |
| 119 | + }, |
| 120 | + "type": "object", |
| 121 | + "additionalProperties": false |
| 122 | + } |
| 123 | + }, |
| 124 | + "type": "object" |
| 125 | +} |
0 commit comments