Skip to content

Commit 5244a0e

Browse files
mgmt, upgrade network to 2022-01-01 (Azure#30291)
* regen, upgrade network to package-2022-01 * Supported setting default `WebApplicationFirewall` when selected `ApplicationGatewayTier` is `ApplicationGatewayTier.WAF_v2` * update session records * update other session records * add revapi skip * update according to comments * record failed tests
1 parent 9518702 commit 5244a0e

File tree

1,462 files changed

+44488
-14616
lines changed

Some content is hidden

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

1,462 files changed

+44488
-14616
lines changed

sdk/resourcemanager/api-specs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
"dir": "azure-resourcemanager-network",
175175
"source": "specification/network/resource-manager/readme.md",
176176
"package": "com.azure.resourcemanager.network",
177-
"args": "--tag=package-2021-08 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture,ApplicationGateway,ApplicationGatewayListener"
177+
"args": "--tag=package-2022-01 --add-inner=ApplicationGatewayIpConfiguration,ApplicationGatewayPathRule,ApplicationGatewayProbe,ApplicationGatewayRedirectConfiguration,ApplicationGatewayRequestRoutingRule,ApplicationGatewaySslCertificate,ApplicationGatewayUrlPathMap,ApplicationGatewayAuthenticationCertificate,VirtualNetworkGatewayIpConfiguration,ConnectionMonitor,PacketCapture,ApplicationGateway,ApplicationGatewayListener"
178178
},
179179
"network-hybrid": {
180180
"dir": "../resourcemanagerhybrid/azure-resourcemanager-network",

sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/SharedGalleryImageTests.canCreateUpdateGetDeleteGalleryImageVersion.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"Exception" : null
232232
}, {
233233
"Method" : "PUT",
234-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861?api-version=2021-08-01",
234+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861?api-version=2022-01-01",
235235
"Headers" : {
236236
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
237237
"x-ms-client-request-id" : "695af759-f712-4441-bc64-35d3177a89bb",
@@ -253,7 +253,7 @@
253253
"Retry-After" : "0",
254254
"x-ms-routing-request-id" : "SOUTHEASTASIA:20220714T020929Z:ef8b4909-60c3-4614-8580-c0ce37e03a22",
255255
"Expires" : "-1",
256-
"Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/036126b9-444d-481c-93b4-83d59dbc4929?api-version=2021-08-01",
256+
"Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/036126b9-444d-481c-93b4-83d59dbc4929?api-version=2022-01-01",
257257
"x-ms-request-id" : "036126b9-444d-481c-93b4-83d59dbc4929",
258258
"Body" : "{\r\n \"name\": \"vnet11795ea861\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861\",\r\n \"etag\": \"W/\\\"9f87e8ff-7b5e-4e2e-9106-db39b98cec9b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"3d00fb8c-0c79-4437-a1a8-0880977b7bde\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/28\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861/subnets/subnet1\",\r\n \"etag\": \"W/\\\"9f87e8ff-7b5e-4e2e-9106-db39b98cec9b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/28\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}",
259259
"x-ms-client-request-id" : "695af759-f712-4441-bc64-35d3177a89bb",
@@ -262,7 +262,7 @@
262262
"Exception" : null
263263
}, {
264264
"Method" : "PUT",
265-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/publicIPAddresses/pip754874b1?api-version=2021-08-01",
265+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/publicIPAddresses/pip754874b1?api-version=2022-01-01",
266266
"Headers" : {
267267
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
268268
"x-ms-client-request-id" : "61a5a3da-5ca6-4ec5-b5dd-d7990ef78a6b",
@@ -284,7 +284,7 @@
284284
"Retry-After" : "0",
285285
"x-ms-routing-request-id" : "SOUTHEASTASIA:20220714T020930Z:4f69faae-36ac-4ed5-8815-9bf7772046d1",
286286
"Expires" : "-1",
287-
"Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0fb84a15-a730-49ed-8eba-d3e6b7c4fab5?api-version=2021-08-01",
287+
"Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0fb84a15-a730-49ed-8eba-d3e6b7c4fab5?api-version=2022-01-01",
288288
"x-ms-request-id" : "0fb84a15-a730-49ed-8eba-d3e6b7c4fab5",
289289
"Body" : "{\r\n \"name\": \"pip754874b1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/publicIPAddresses/pip754874b1\",\r\n \"etag\": \"W/\\\"a6fae465-23a4-473c-aae3-b7957b291545\\\"\",\r\n \"location\": \"westcentralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"627ddfde-b018-4e0a-9b80-a462f38d71a8\",\r\n \"publicIPAddressVersion\": \"IPv4\",\r\n \"publicIPAllocationMethod\": \"Dynamic\",\r\n \"idleTimeoutInMinutes\": 4,\r\n \"dnsSettings\": {\r\n \"domainNameLabel\": \"pip346562dffb2\",\r\n \"fqdn\": \"pip346562dffb2.westcentralus.cloudapp.azure.com\"\r\n },\r\n \"ipTags\": []\r\n },\r\n \"type\": \"Microsoft.Network/publicIPAddresses\",\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"tier\": \"Regional\"\r\n }\r\n}",
290290
"x-ms-client-request-id" : "61a5a3da-5ca6-4ec5-b5dd-d7990ef78a6b",
@@ -293,7 +293,7 @@
293293
"Exception" : null
294294
}, {
295295
"Method" : "GET",
296-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0fb84a15-a730-49ed-8eba-d3e6b7c4fab5?api-version=2021-08-01",
296+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/0fb84a15-a730-49ed-8eba-d3e6b7c4fab5?api-version=2022-01-01",
297297
"Headers" : {
298298
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
299299
"x-ms-client-request-id" : "50bdf285-ef4b-486e-8934-0387688beb60"
@@ -321,7 +321,7 @@
321321
"Exception" : null
322322
}, {
323323
"Method" : "GET",
324-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/publicIPAddresses/pip754874b1?api-version=2021-08-01",
324+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/publicIPAddresses/pip754874b1?api-version=2022-01-01",
325325
"Headers" : {
326326
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
327327
"x-ms-client-request-id" : "9c55e13f-8119-41e1-b0bc-fa0aef0e0e32"
@@ -350,7 +350,7 @@
350350
"Exception" : null
351351
}, {
352352
"Method" : "GET",
353-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/036126b9-444d-481c-93b4-83d59dbc4929?api-version=2021-08-01",
353+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/036126b9-444d-481c-93b4-83d59dbc4929?api-version=2022-01-01",
354354
"Headers" : {
355355
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
356356
"x-ms-client-request-id" : "b534bed5-8e43-4d26-9794-8e96f8d3118e"
@@ -407,7 +407,7 @@
407407
"Exception" : null
408408
}, {
409409
"Method" : "GET",
410-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861?api-version=2021-08-01",
410+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861?api-version=2022-01-01",
411411
"Headers" : {
412412
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
413413
"x-ms-client-request-id" : "a68e407d-a302-456f-af4a-c54c590fa68e"
@@ -436,7 +436,7 @@
436436
"Exception" : null
437437
}, {
438438
"Method" : "PUT",
439-
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/networkInterfaces/nic09282e57733?api-version=2021-08-01",
439+
"Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/networkInterfaces/nic09282e57733?api-version=2022-01-01",
440440
"Headers" : {
441441
"User-Agent" : "azsdk-java-com.azure.resourcemanager.network/2.17.0-beta.1 (11.0.15.1; Windows 11; 10.0)",
442442
"x-ms-client-request-id" : "cf83a5fc-d10f-4058-966d-0139edac71f4",
@@ -458,7 +458,7 @@
458458
"Cache-Control" : "no-cache",
459459
"x-ms-routing-request-id" : "SOUTHEASTASIA:20220714T020936Z:202db339-64f0-49ce-a626-512313d30e8a",
460460
"Expires" : "-1",
461-
"Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ecf20c41-86b3-41b8-bf7a-924cad80c96e?api-version=2021-08-01",
461+
"Azure-AsyncOperation" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westcentralus/operations/ecf20c41-86b3-41b8-bf7a-924cad80c96e?api-version=2022-01-01",
462462
"x-ms-request-id" : "ecf20c41-86b3-41b8-bf7a-924cad80c96e",
463463
"Body" : "{\r\n \"name\": \"nic09282e57733\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/networkInterfaces/nic09282e57733\",\r\n \"etag\": \"W/\\\"6adc9f05-1683-429f-aecb-990c32fae01d\\\"\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ffa3e6e0-551e-4756-a121-8e84c0b3515c\",\r\n \"ipConfigurations\": [\r\n {\r\n \"name\": \"primary\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/networkInterfaces/nic09282e57733/ipConfigurations/primary\",\r\n \"etag\": \"W/\\\"6adc9f05-1683-429f-aecb-990c32fae01d\\\"\",\r\n \"type\": \"Microsoft.Network/networkInterfaces/ipConfigurations\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateIPAddress\": \"10.0.0.4\",\r\n \"privateIPAllocationMethod\": \"Dynamic\",\r\n \"publicIPAddress\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/publicIPAddresses/pip754874b1\"\r\n },\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg55651/providers/Microsoft.Network/virtualNetworks/vnet11795ea861/subnets/subnet1\"\r\n },\r\n \"primary\": true,\r\n \"privateIPAddressVersion\": \"IPv4\"\r\n }\r\n }\r\n ],\r\n \"dnsSettings\": {\r\n \"dnsServers\": [],\r\n \"appliedDnsServers\": [],\r\n \"internalDomainNameSuffix\": \"rt3qaplzbq1ujinibcajo4111g.yx.internal.cloudapp.net\"\r\n },\r\n \"vnetEncryptionSupported\": false,\r\n \"enableIPForwarding\": false,\r\n \"hostedWorkloads\": [],\r\n \"tapConfigurations\": [],\r\n \"nicType\": \"Standard\"\r\n },\r\n \"type\": \"Microsoft.Network/networkInterfaces\",\r\n \"location\": \"westcentralus\",\r\n \"kind\": \"Regular\"\r\n}",
464464
"x-ms-client-request-id" : "cf83a5fc-d10f-4058-966d-0139edac71f4",

0 commit comments

Comments
 (0)