|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "title": "NetworkManagementClient", |
| 5 | + "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", |
| 6 | + "version": "2023-02-01" |
| 7 | + }, |
| 8 | + "host": "management.azure.com", |
| 9 | + "schemes": [ |
| 10 | + "https" |
| 11 | + ], |
| 12 | + "consumes": [ |
| 13 | + "application/json" |
| 14 | + ], |
| 15 | + "produces": [ |
| 16 | + "application/json" |
| 17 | + ], |
| 18 | + "security": [ |
| 19 | + { |
| 20 | + "azure_auth": [ |
| 21 | + "user_impersonation" |
| 22 | + ] |
| 23 | + } |
| 24 | + ], |
| 25 | + "securityDefinitions": { |
| 26 | + "azure_auth": { |
| 27 | + "type": "oauth2", |
| 28 | + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", |
| 29 | + "flow": "implicit", |
| 30 | + "description": "Azure Active Directory OAuth2 Flow.", |
| 31 | + "scopes": { |
| 32 | + "user_impersonation": "impersonate your user account" |
| 33 | + } |
| 34 | + } |
| 35 | + }, |
| 36 | + "paths": { |
| 37 | + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault": { |
| 38 | + "get": { |
| 39 | + "operationId": "ApplicationGatewayWafDynamicManifestsDefault_Get", |
| 40 | + "description": "Gets the regional application gateway waf manifest.", |
| 41 | + "parameters": [ |
| 42 | + { |
| 43 | + "name": "location", |
| 44 | + "in": "path", |
| 45 | + "required": true, |
| 46 | + "type": "string", |
| 47 | + "description": "The region where the nrp are located at." |
| 48 | + }, |
| 49 | + { |
| 50 | + "$ref": "./network.json#/parameters/ApiVersionParameter" |
| 51 | + }, |
| 52 | + { |
| 53 | + "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
| 54 | + } |
| 55 | + ], |
| 56 | + "responses": { |
| 57 | + "200": { |
| 58 | + "description": "Request successful. Returns the regional application gateway waf manifest", |
| 59 | + "schema": { |
| 60 | + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestResult" |
| 61 | + } |
| 62 | + }, |
| 63 | + "default": { |
| 64 | + "description": "Error response describing why the operation failed.", |
| 65 | + "schema": { |
| 66 | + "$ref": "./network.json#/definitions/CloudError" |
| 67 | + } |
| 68 | + } |
| 69 | + }, |
| 70 | + "x-ms-examples": { |
| 71 | + "Gets WAF default manifest": { |
| 72 | + "$ref": "./examples/GetApplicationGatewayWafDynamicManifestsDefault.json" |
| 73 | + } |
| 74 | + } |
| 75 | + } |
| 76 | + }, |
| 77 | + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests": { |
| 78 | + "get": { |
| 79 | + "operationId": "ApplicationGatewayWafDynamicManifests_Get", |
| 80 | + "description": "Gets the regional application gateway waf manifest.", |
| 81 | + "parameters": [ |
| 82 | + { |
| 83 | + "name": "location", |
| 84 | + "in": "path", |
| 85 | + "required": true, |
| 86 | + "type": "string", |
| 87 | + "description": "The region where the nrp are located at." |
| 88 | + }, |
| 89 | + { |
| 90 | + "$ref": "./network.json#/parameters/ApiVersionParameter" |
| 91 | + }, |
| 92 | + { |
| 93 | + "$ref": "./network.json#/parameters/SubscriptionIdParameter" |
| 94 | + } |
| 95 | + ], |
| 96 | + "responses": { |
| 97 | + "200": { |
| 98 | + "description": "Request successful. Returns the regional application gateway waf manifest", |
| 99 | + "schema": { |
| 100 | + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestResultList" |
| 101 | + } |
| 102 | + }, |
| 103 | + "default": { |
| 104 | + "description": "Error response describing why the operation failed.", |
| 105 | + "schema": { |
| 106 | + "$ref": "./network.json#/definitions/CloudError" |
| 107 | + } |
| 108 | + } |
| 109 | + }, |
| 110 | + "x-ms-examples": { |
| 111 | + "Gets WAF manifests": { |
| 112 | + "$ref": "./examples/GetApplicationGatewayWafDynamicManifests.json" |
| 113 | + } |
| 114 | + }, |
| 115 | + "x-ms-pageable": { |
| 116 | + "nextLinkName": "nextLink" |
| 117 | + } |
| 118 | + } |
| 119 | + } |
| 120 | + }, |
| 121 | + "definitions": { |
| 122 | + "ApplicationGatewayWafDynamicManifestResultList": { |
| 123 | + "properties": { |
| 124 | + "value": { |
| 125 | + "type": "array", |
| 126 | + "items": { |
| 127 | + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestResult" |
| 128 | + }, |
| 129 | + "description": "The list of application gateway waf manifest." |
| 130 | + }, |
| 131 | + "nextLink": { |
| 132 | + "type": "string", |
| 133 | + "description": "URL to get the next set of results." |
| 134 | + } |
| 135 | + }, |
| 136 | + "type": "object", |
| 137 | + "description": "Response for ApplicationGatewayWafDynamicManifests API service call." |
| 138 | + }, |
| 139 | + "ApplicationGatewayWafDynamicManifestResult": { |
| 140 | + "properties": { |
| 141 | + "id": { |
| 142 | + "type": "string", |
| 143 | + "description": "Resource ID." |
| 144 | + }, |
| 145 | + "name": { |
| 146 | + "readOnly": true, |
| 147 | + "type": "string", |
| 148 | + "description": "Resource name." |
| 149 | + }, |
| 150 | + "type": { |
| 151 | + "readOnly": true, |
| 152 | + "type": "string", |
| 153 | + "description": "Resource type." |
| 154 | + }, |
| 155 | + "properties": { |
| 156 | + "x-ms-client-flatten": true, |
| 157 | + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestPropertiesResult", |
| 158 | + "description": "Properties of the ApplicationGatewayWafDynamicManifest ." |
| 159 | + } |
| 160 | + }, |
| 161 | + "type": "object", |
| 162 | + "description": "Response for ApplicationGatewayWafDynamicManifest API service call." |
| 163 | + }, |
| 164 | + "ApplicationGatewayWafDynamicManifestPropertiesResult": { |
| 165 | + "description": "Properties of ApplicationGatewayWafDynamicManifest.", |
| 166 | + "type": "object", |
| 167 | + "properties": { |
| 168 | + "defaultRuleSet": { |
| 169 | + "description": "The default ruleset.", |
| 170 | + "x-ms-client-flatten": true, |
| 171 | + "$ref": "#/definitions/DefaultRuleSetPropertyFormat" |
| 172 | + }, |
| 173 | + "availableRuleSets": { |
| 174 | + "description": "The available rulesets.", |
| 175 | + "x-ms-client-flatten": true, |
| 176 | + "type": "array", |
| 177 | + "items": { |
| 178 | + "$ref": "#/definitions/ApplicationGatewayFirewallManifestRuleSet" |
| 179 | + }, |
| 180 | + "x-ms-identifiers": [] |
| 181 | + } |
| 182 | + } |
| 183 | + }, |
| 184 | + "DefaultRuleSetPropertyFormat": { |
| 185 | + "description": "the default web application firewall rule set.", |
| 186 | + "type": "object", |
| 187 | + "properties": { |
| 188 | + "ruleSetType": { |
| 189 | + "description": "The type of the web application firewall rule set.", |
| 190 | + "type": "string" |
| 191 | + }, |
| 192 | + "ruleSetVersion": { |
| 193 | + "description": "The version of the web application firewall rule set type.", |
| 194 | + "type": "string" |
| 195 | + } |
| 196 | + } |
| 197 | + }, |
| 198 | + "ApplicationGatewayFirewallManifestRuleSet": { |
| 199 | + "description": "Properties of the web application firewall rule set.", |
| 200 | + "type": "object", |
| 201 | + "properties": { |
| 202 | + "ruleSetType": { |
| 203 | + "type": "string", |
| 204 | + "description": "The type of the web application firewall rule set." |
| 205 | + }, |
| 206 | + "ruleSetVersion": { |
| 207 | + "type": "string", |
| 208 | + "description": "The version of the web application firewall rule set type." |
| 209 | + }, |
| 210 | + "status": { |
| 211 | + "type": "string", |
| 212 | + "description": "The rule set status", |
| 213 | + "enum": [ |
| 214 | + "Preview", |
| 215 | + "GA", |
| 216 | + "Supported", |
| 217 | + "Deprecated" |
| 218 | + ], |
| 219 | + "x-ms-enum": { |
| 220 | + "name": "ApplicationGatewayRuleSetStatusOptions", |
| 221 | + "modelAsString": true |
| 222 | + } |
| 223 | + }, |
| 224 | + "tiers": { |
| 225 | + "type": "array", |
| 226 | + "description": "Tier of an application gateway that support the rule set.", |
| 227 | + "items": { |
| 228 | + "type": "string", |
| 229 | + "enum": [ |
| 230 | + "Standard", |
| 231 | + "WAF", |
| 232 | + "Standard_v2", |
| 233 | + "WAF_v2" |
| 234 | + ], |
| 235 | + "x-ms-enum": { |
| 236 | + "name": "ApplicationGatewayTierTypes", |
| 237 | + "modelAsString": true |
| 238 | + } |
| 239 | + } |
| 240 | + }, |
| 241 | + "ruleGroups": { |
| 242 | + "type": "array", |
| 243 | + "items": { |
| 244 | + "$ref": "applicationGateway.json#/definitions/ApplicationGatewayFirewallRuleGroup" |
| 245 | + }, |
| 246 | + "description": "The rule groups of the web application firewall rule set.", |
| 247 | + "x-ms-identifiers": [] |
| 248 | + } |
| 249 | + }, |
| 250 | + "required": [ |
| 251 | + "ruleSetType", |
| 252 | + "ruleSetVersion", |
| 253 | + "ruleGroups" |
| 254 | + ] |
| 255 | + } |
| 256 | + } |
| 257 | +} |
0 commit comments