Skip to content

Commit db124c9

Browse files
MikhailTryakhovhtippanaboyatracyMicrotejasshah7sraghavan-msft
authored
Release of microsoft.network api version: 2022 11 01 (#23652)
* Adds base for updating Microsoft.Network from version stable/2022-09-01 to version 2022-11-01 * Updates readme * Updates API version in new specs and examples * remove loadDistributionPolicy from appgw PUT request body example (#23144) * remove loadDistributionPolicy from appgw PUT request body example * remove loadDistributionPolicy from appgw PUT request body example2 * remove loadDistributionPolicy from appgw PUT request body example * remove duplicates * add private link configuration to see if it will fix validation error * remove privateLinkConfig related * revert changes to see if still get validation error * update back to original changes * add response resource id to fix modelValidation error * add connection resource * Selector in Exclusions should not be required as Operator EqualsAny does not need a Selector (#23184) * Application Gateway WAF Rate Limit feature swagger changes (#23021) * Application Gateway WAF Rate Limit feature swagger changes * Fixing lint errors * Updated rate limit feature examples * Fix for applicationGatewayIpConfigurations property and make the priority parameter as required for NSG (#23210) * Fix for applicationGatewayIpConfigurations property This swagger definition is defining property applicationGatewayIpConfigurations, ``` "applicationGatewayIpConfigurations": { "type": "array", "items": { "$ref": "./applicationGateway.json#/definitions/ApplicationGatewayIPConfiguration" }, "description": "Application gateway IP configurations of virtual network resource." } ``` but actual rest api returned applicationGatewayIPConfigurations, the P is upper case while in swagger it is lower case. ``` { "name": "subnet-agw", "id": "/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.Network/virtualNetworks/<vnet-name>/subnets/subnet-agw", "properties": { "applicationGatewayIPConfigurations": [ { "id": "/subscriptions/<sub-id>/resourceGroups/<rg-name>/providers/Microsoft.Network/applicationGateways/<agw-name>/gatewayIPConfigurations/appGatewayIpConfig" } ] }, "type": "Microsoft.Network/virtualNetworks/subnets" } ``` * Making priority property required [This is the API invoked](https://learn.microsoft.com/en-us/rest/api/virtualnetwork/network-security-groups/create-or-update?tabs=HTTP#code-try-0). For the NSG security rules without priorities, seems like the priority parameter is required. Azure portal works as expected. I don't think that's allowed but according to the schema it is because the priority property is not marked as required. I tried to create a NSG security rule without the priorities and it failed with below. Request Body: ``` { "properties": { "securityRules": [ { "name": "rule1", "properties": { "protocol": "*", "sourceAddressPrefix": "*", "destinationAddressPrefix": "*", "access": "Allow", "destinationPortRange": "80", "sourcePortRange": "*", "direction": "Inbound" } } ] }, "location": "eastus" } ``` Response received: ``` { "error": { "code": "SecurityRuleInvalidPriority", "message": "Security rule has invalid Priority. Value provided: 0 Allowed range 100-4096.", "details": [] } } ``` This PR will make the priority parameter as required. * Update NetworkSecurityGroupDelete.json * Update NetworkSecurityGroupRuleDelete.json * Update NetworkSecurityGroupDelete.json * Undo previous change of making fields optional within Exclusion (#23325) * Nivishenker/http headers to insert (#23295) * new app rule property - http header to insert * prettier * add to 22-11-01 * removed changes from 22-09-01 * fixed example * delete RCG example * fix delete examples * added a Location header * prettier fix * Application Gateway WAF Log scrubbing swagger changes (#23022) * Log scrubbing API changes * Update examples * Addressing comments * Fix * Update property in load balancer for Connection Draining Phase 1 (#23082) * Update property in load balancer for Coneection Draining Phase 1 * Fix model validation * Azure Firewall Packet Capture API. Cancelled PR from 2022-09-01 and created for 2022-11-01 (#23114) * moving packet-capture api to 2022-11-01 release from 2022-09-01 * fixing the LRO response header error for model validation * Changes for Additional nic and corrections (#23522) * Changes for Additional nic and corrections * Fixes for tool reported issues * Fix for SpellCheck, ModelValidation * Defining Location in NetworkVirtualApplianceDelete for async * Minor fix * Minor fix * Minor fix * PrettierCheck fixed * Fixing VirtualApplianceAdditionalNicProperties * ModelValidation fixed * Correcting the location header string * Correcting location header * Prettied Check Fix * Fix * Fix * Add inspection limit changes (#23536) * Fixed headers for examples (#23554) * Fix response of API: List of advertised/learned BGP routes (#23555) * fix response type * fix format * fix example, add x-ms-identifiers * AuxiliarySku on Nic (#23552) * Adding auxiliary sku property on nic * Adding AcceleratedConnections to AuxMode * modifying the auxSku values * Removing accidental change --------- Co-authored-by: Prachi Pravin Bhavsar <[email protected]> * migrated latest pr from incorrect branch (#23589) * Changes for NVA connection (#23173) * Changes for NVA connection * Changes to address validation failures * Fix some ModelValidation errors * Fix some ModelValidation errors * Fix some ModelValidation errors * Fix some ModelValidation errors * Fix some ModelValidation errors * Addressing some review comments * Addressing some review comments * Addressing some review comments * Addressing some review comments * Addressing some review comments * Fix camel case for property name * Fixing resourceUri to Camel case in example files * Fix SDK duplication error * Fix one LintDiff error * try fix lintdiff errors * fix lro erro in lintdiff * fix model validation error * Bastion S360 for 2022-11 version (#23595) * Release microsoft.network 2022 11 01 (#23564) * Application Gateway WAF Rate Limit feature swagger changes * Fixing lint errors * Updated rate limit feature examples * rateLimitDuration and rateLimitThreshold are not mandatory. There are only mandatory if ruleType is RateLimitRule. This validation will be done in NRP. * Fix attempt 2. Removed minimum constraint from rateLimitThreshold. Validation will be done in NRP * Remove the minimum number for the option field requestBodyInspectLimitInKB (#23663) * Remove minimum value for optional field requestBodyInspectLimitInKB * Remove exlcusiveMinimum --------- Co-authored-by: htippanaboya <[email protected]> Co-authored-by: tracyMicro <[email protected]> Co-authored-by: tejasshah7 <[email protected]> Co-authored-by: sraghavan-msft <[email protected]> Co-authored-by: navba-MSFT <[email protected]> Co-authored-by: NiviShenker <[email protected]> Co-authored-by: Sindhu Aluguvelli <[email protected]> Co-authored-by: phrazfipho <[email protected]> Co-authored-by: nikhilpadhye1 <[email protected]> Co-authored-by: JainRah <[email protected]> Co-authored-by: karanbazaz <[email protected]> Co-authored-by: yeliMSFT <[email protected]> Co-authored-by: pracsb <[email protected]> Co-authored-by: Prachi Pravin Bhavsar <[email protected]> Co-authored-by: nanditaashok-ms <[email protected]> Co-authored-by: anvrao1 <[email protected]> Co-authored-by: baoqihuang0326 <[email protected]>
1 parent aef78a6 commit db124c9

File tree

753 files changed

+110835
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

753 files changed

+110835
-2
lines changed

specification/network/resource-manager/Microsoft.Network/stable/2022-11-01/applicationGateway.json

Lines changed: 3992 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
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": "2022-11-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

Comments
 (0)