Skip to content

Commit 8e41b9c

Browse files
author
Jingnan Xu
committed
run test
1 parent cd62a1b commit 8e41b9c

13 files changed

+501
-501
lines changed

src/FrontDoor/FrontDoor.Autorest/test/Get-AzFrontDoor.Recording.json

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

src/FrontDoor/FrontDoor.Autorest/test/Get-AzFrontDoorFrontendEndpoint.Recording.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"Get-AzFrontDoorFrontendEndpoint+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-ahz7/providers/Microsoft.Network/frontDoors/testps-fd-p8vt/frontendEndpoints?api-version=2021-06-01+1": {
2+
"Get-AzFrontDoorFrontendEndpoint+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-3fhp/providers/Microsoft.Network/frontDoors/testps-fd-xawq/frontendEndpoints?api-version=2021-06-01+1": {
33
"Request": {
44
"Method": "GET",
5-
"RequestUri": "https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-ahz7/providers/Microsoft.Network/frontDoors/testps-fd-p8vt/frontendEndpoints?api-version=2021-06-01",
5+
"RequestUri": "https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-3fhp/providers/Microsoft.Network/frontDoors/testps-fd-xawq/frontendEndpoints?api-version=2021-06-01",
66
"Content": null,
77
"isContentBase64": false,
88
"Headers": {
99
"x-ms-unique-id": [ "13" ],
10-
"x-ms-client-request-id": [ "d627237b-7c1b-4aea-bcf1-4a8f3580ae07" ],
10+
"x-ms-client-request-id": [ "fe00241d-5aa0-402c-aed3-4d0b4daa0493" ],
1111
"CommandName": [ "Get-AzFrontDoorFrontendEndpoint" ],
1212
"FullCommandName": [ "Get-AzFrontDoorFrontendEndpoint_List" ],
1313
"ParameterSetName": [ "__AllParameterSets" ],
@@ -23,24 +23,24 @@
2323
"Cache-Control": [ "no-cache" ],
2424
"Pragma": [ "no-cache" ],
2525
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
26-
"x-ms-request-id": [ "393cca04-eec9-49bf-93b0-fafebf21af02" ],
27-
"x-ms-client-request-id": [ "d627237b-7c1b-4aea-bcf1-4a8f3580ae07" ],
28-
"x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2e396a67-4dc1-43ae-afcc-c6747d291866/westus/11da3809-0b64-4ba9-a89e-daf47f772447" ],
26+
"x-ms-request-id": [ "48a59bed-14f3-487a-b151-c6caf174d73c" ],
27+
"x-ms-client-request-id": [ "fe00241d-5aa0-402c-aed3-4d0b4daa0493" ],
28+
"x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2e396a67-4dc1-43ae-afcc-c6747d291866/westus/a1ea8778-5ca1-43f4-bf19-2c2b05d0b43c" ],
2929
"x-ms-ratelimit-remaining-subscription-reads": [ "1099" ],
3030
"x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ],
31-
"x-ms-correlation-request-id": [ "758f2e42-c720-4185-9e43-639ff4161e40" ],
32-
"x-ms-routing-request-id": [ "WESTUS:20251014T061620Z:758f2e42-c720-4185-9e43-639ff4161e40" ],
31+
"x-ms-correlation-request-id": [ "c48a1a6e-b356-4309-bfb4-54c106692c09" ],
32+
"x-ms-routing-request-id": [ "WESTUS:20251014T090729Z:c48a1a6e-b356-4309-bfb4-54c106692c09" ],
3333
"X-Content-Type-Options": [ "nosniff" ],
3434
"X-Cache": [ "CONFIG_NOCACHE" ],
35-
"X-MSEdge-Ref": [ "Ref A: B532421F8E1D491E9E9FFC300FC16367 Ref B: SYD03EDGE1114 Ref C: 2025-10-14T06:16:19Z" ],
36-
"Date": [ "Tue, 14 Oct 2025 06:16:19 GMT" ]
35+
"X-MSEdge-Ref": [ "Ref A: 6F8F3B78294B4375BD6251880E0EBE1B Ref B: SYD03EDGE2021 Ref C: 2025-10-14T09:07:28Z" ],
36+
"Date": [ "Tue, 14 Oct 2025 09:07:29 GMT" ]
3737
},
3838
"ContentHeaders": {
3939
"Content-Length": [ "581" ],
4040
"Content-Type": [ "application/json; charset=utf-8" ],
4141
"Expires": [ "-1" ]
4242
},
43-
"Content": "{\"value\":[{\"id\":\"/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourcegroups/testps-rg-ahz7/providers/Microsoft.Network/frontdoors/testps-fd-p8vt/frontendendpoints/frontendendpoint1\",\"type\":\"Microsoft.Network/frontdoors/frontendendpoints\",\"name\":\"frontendendpoint1\",\"properties\":{\"resourceState\":\"Enabled\",\"hostName\":\"testps-fd-p8vt.azurefd.net\",\"sessionAffinityEnabledState\":\"Enabled\",\"sessionAffinityTtlSeconds\":0,\"webApplicationFirewallPolicyLink\":null,\"customHttpsProvisioningState\":\"Disabled\",\"customHttpsProvisioningSubstate\":\"None\",\"customHttpsConfiguration\":null}}]}",
43+
"Content": "{\"value\":[{\"id\":\"/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourcegroups/testps-rg-3fhp/providers/Microsoft.Network/frontdoors/testps-fd-xawq/frontendendpoints/frontendendpoint1\",\"type\":\"Microsoft.Network/frontdoors/frontendendpoints\",\"name\":\"frontendendpoint1\",\"properties\":{\"resourceState\":\"Enabled\",\"hostName\":\"testps-fd-xawq.azurefd.net\",\"sessionAffinityEnabledState\":\"Enabled\",\"sessionAffinityTtlSeconds\":0,\"webApplicationFirewallPolicyLink\":null,\"customHttpsProvisioningState\":\"Disabled\",\"customHttpsProvisioningSubstate\":\"None\",\"customHttpsConfiguration\":null}}]}",
4444
"isContentBase64": false
4545
}
4646
}

src/FrontDoor/FrontDoor.Autorest/test/Get-AzFrontDoorWafManagedRuleSetDefinition.Recording.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"isContentBase64": false,
88
"Headers": {
99
"x-ms-unique-id": [ "14" ],
10-
"x-ms-client-request-id": [ "a13a30bc-d71a-4b0e-b1d0-13d037a39b6e" ],
10+
"x-ms-client-request-id": [ "4ea0d9dc-3d4d-48e1-afd1-5e4a671a2c9f" ],
1111
"CommandName": [ "Get-AzFrontDoorWafManagedRuleSetDefinition" ],
1212
"FullCommandName": [ "Get-AzFrontDoorWafManagedRuleSetDefinition_List" ],
1313
"ParameterSetName": [ "__AllParameterSets" ],
@@ -23,17 +23,17 @@
2323
"Cache-Control": [ "no-cache" ],
2424
"Pragma": [ "no-cache" ],
2525
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
26-
"x-ms-request-id": [ "27c417a6-4f99-4097-984a-4aa1ef8fecf2" ],
27-
"x-ms-client-request-id": [ "a13a30bc-d71a-4b0e-b1d0-13d037a39b6e" ],
28-
"x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2e396a67-4dc1-43ae-afcc-c6747d291866/westus/f2841983-eb02-4e31-a760-e51a78529477" ],
29-
"x-ms-ratelimit-remaining-subscription-reads": [ "1098" ],
30-
"x-ms-ratelimit-remaining-subscription-global-reads": [ "16498" ],
31-
"x-ms-correlation-request-id": [ "f77f4684-5c26-42f1-bbd3-86f3eb290962" ],
32-
"x-ms-routing-request-id": [ "WESTUS:20251014T061621Z:f77f4684-5c26-42f1-bbd3-86f3eb290962" ],
26+
"x-ms-request-id": [ "1a1f738c-e5bf-4172-94f0-cc2385960ff3" ],
27+
"x-ms-client-request-id": [ "4ea0d9dc-3d4d-48e1-afd1-5e4a671a2c9f" ],
28+
"x-ms-operation-identifier": [ "tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47,objectId=2e396a67-4dc1-43ae-afcc-c6747d291866/westus/cee9e9f1-d3ea-4afe-a8c1-20ebc3739029" ],
29+
"x-ms-ratelimit-remaining-subscription-reads": [ "1099" ],
30+
"x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ],
31+
"x-ms-correlation-request-id": [ "95648f7b-e4f4-48b6-9aac-eaea583d5009" ],
32+
"x-ms-routing-request-id": [ "WESTUS:20251014T090731Z:95648f7b-e4f4-48b6-9aac-eaea583d5009" ],
3333
"X-Content-Type-Options": [ "nosniff" ],
3434
"X-Cache": [ "CONFIG_NOCACHE" ],
35-
"X-MSEdge-Ref": [ "Ref A: 8D00B97EAEF54C3FB5DBEE607D9B40CE Ref B: SYD03EDGE1114 Ref C: 2025-10-14T06:16:21Z" ],
36-
"Date": [ "Tue, 14 Oct 2025 06:16:21 GMT" ]
35+
"X-MSEdge-Ref": [ "Ref A: 96A07EA43E8646FAA73C75D782A82FDF Ref B: SYD03EDGE2021 Ref C: 2025-10-14T09:07:30Z" ],
36+
"Date": [ "Tue, 14 Oct 2025 09:07:31 GMT" ]
3737
},
3838
"ContentHeaders": {
3939
"Content-Length": [ "162977" ],

src/FrontDoor/FrontDoor.Autorest/test/Get-AzFrontDoorWafPolicy.Recording.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"Get-AzFrontDoorWafPolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-ahz7/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/testpsWaf8alq?api-version=2024-02-01+1": {
2+
"Get-AzFrontDoorWafPolicy+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-3fhp/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/testpsWafve35?api-version=2024-02-01+1": {
33
"Request": {
44
"Method": "GET",
5-
"RequestUri": "https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-ahz7/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/testpsWaf8alq?api-version=2024-02-01",
5+
"RequestUri": "https://management.azure.com/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourceGroups/testps-rg-3fhp/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/testpsWafve35?api-version=2024-02-01",
66
"Content": null,
77
"isContentBase64": false,
88
"Headers": {
99
"x-ms-unique-id": [ "15" ],
10-
"x-ms-client-request-id": [ "a77ad8dd-57c1-4e5a-b60d-a70995efaef4" ],
10+
"x-ms-client-request-id": [ "c179c599-cb28-4dd7-82a5-b84a13813c9a" ],
1111
"CommandName": [ "Get-AzFrontDoorWafPolicy" ],
1212
"FullCommandName": [ "Get-AzFrontDoorWafPolicy_Get" ],
1313
"ParameterSetName": [ "__AllParameterSets" ],
@@ -23,23 +23,23 @@
2323
"Cache-Control": [ "no-cache" ],
2424
"Pragma": [ "no-cache" ],
2525
"Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ],
26-
"x-ms-request-id": [ "87aab9b8-0a1b-4791-8c3a-9f3cfadf158e" ],
27-
"x-ms-client-request-id": [ "a77ad8dd-57c1-4e5a-b60d-a70995efaef4" ],
26+
"x-ms-request-id": [ "7175a89f-f3d1-47c4-9c3b-fdacfc841e43" ],
27+
"x-ms-client-request-id": [ "c179c599-cb28-4dd7-82a5-b84a13813c9a" ],
2828
"x-ms-ratelimit-remaining-subscription-reads": [ "1099" ],
2929
"x-ms-ratelimit-remaining-subscription-global-reads": [ "16499" ],
30-
"x-ms-correlation-request-id": [ "3a6317ca-da87-4d36-a42c-b21842c324c5" ],
31-
"x-ms-routing-request-id": [ "AUSTRALIAEAST:20251014T061624Z:3a6317ca-da87-4d36-a42c-b21842c324c5" ],
30+
"x-ms-correlation-request-id": [ "518fc22f-09d4-473b-9d3d-42ebdf98a94a" ],
31+
"x-ms-routing-request-id": [ "AUSTRALIAEAST:20251014T090733Z:518fc22f-09d4-473b-9d3d-42ebdf98a94a" ],
3232
"X-Content-Type-Options": [ "nosniff" ],
3333
"X-Cache": [ "CONFIG_NOCACHE" ],
34-
"X-MSEdge-Ref": [ "Ref A: A0034AB400DE4B90946EE1D542576557 Ref B: SYD03EDGE1114 Ref C: 2025-10-14T06:16:22Z" ],
35-
"Date": [ "Tue, 14 Oct 2025 06:16:23 GMT" ]
34+
"X-MSEdge-Ref": [ "Ref A: 4B114541A29D429CB42F07DE48A304A6 Ref B: SYD03EDGE2021 Ref C: 2025-10-14T09:07:31Z" ],
35+
"Date": [ "Tue, 14 Oct 2025 09:07:33 GMT" ]
3636
},
3737
"ContentHeaders": {
3838
"Content-Length": [ "1912" ],
3939
"Content-Type": [ "application/json; charset=utf-8" ],
4040
"Expires": [ "-1" ]
4141
},
42-
"Content": "{\"id\":\"/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourcegroups/testps-rg-ahz7/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/testpsWaf8alq\",\"type\":\"Microsoft.Network/frontdoorwebapplicationfirewallpolicies\",\"name\":\"testpsWaf8alq\",\"location\":\"Global\",\"tags\":{},\"sku\":{\"name\":\"Premium_AzureFrontDoor\"},\"properties\":{\"policySettings\":{\"enabledState\":\"Enabled\",\"mode\":\"Prevention\",\"redirectUrl\":null,\"customBlockResponseStatusCode\":null,\"customBlockResponseBody\":null,\"requestBodyCheck\":\"Disabled\",\"javascriptChallengeExpirationInMinutes\":30,\"logScrubbing\":{\"state\":\"Enabled\",\"scrubbingRules\":[{\"matchVariable\":\"RequestHeaderNames\",\"selectorMatchOperator\":\"EqualsAny\",\"selector\":null,\"state\":\"Enabled\"}]}},\"customRules\":{\"rules\":[{\"name\":\"Rule1\",\"enabledState\":\"Enabled\",\"priority\":2,\"ruleType\":\"MatchRule\",\"rateLimitDurationInMinutes\":1,\"rateLimitThreshold\":null,\"matchConditions\":[{\"matchVariable\":\"RequestHeader\",\"selector\":\"UserAgent\",\"operator\":\"Contains\",\"negateCondition\":false,\"matchValue\":[\"WINDOWS\"],\"transforms\":[\"Uppercase\"]}],\"action\":\"Block\",\"groupBy\":[]}]},\"managedRules\":{\"managedRuleSets\":[{\"ruleSetType\":\"DefaultRuleSet\",\"ruleSetVersion\":\"1.0\",\"ruleSetAction\":null,\"ruleGroupOverrides\":[{\"ruleGroupName\":\"SQLI\",\"rules\":[{\"ruleId\":\"942100\",\"enabledState\":\"Enabled\",\"action\":\"Log\",\"exclusions\":[{\"matchVariable\":\"QueryStringArgNames\",\"selectorMatchOperator\":\"Equals\",\"selector\":\"ExcludeInRule\"}]}],\"exclusions\":[{\"matchVariable\":\"QueryStringArgNames\",\"selectorMatchOperator\":\"Equals\",\"selector\":\"ExcludeInGroup\"}]}],\"exclusions\":[{\"matchVariable\":\"QueryStringArgNames\",\"selectorMatchOperator\":\"Equals\",\"selector\":\"ExcludeInSet\"}]},{\"ruleSetType\":\"BotProtection\",\"ruleSetVersion\":\"preview-0.1\",\"ruleSetAction\":null,\"ruleGroupOverrides\":[],\"exclusions\":[]}]},\"frontendEndpointLinks\":[],\"securityPolicyLinks\":[],\"resourceState\":\"Enabled\",\"provisioningState\":\"Succeeded\"}}",
42+
"Content": "{\"id\":\"/subscriptions/27cafca8-b9a4-4264-b399-45d0c9cca1ab/resourcegroups/testps-rg-3fhp/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/testpsWafve35\",\"type\":\"Microsoft.Network/frontdoorwebapplicationfirewallpolicies\",\"name\":\"testpsWafve35\",\"location\":\"Global\",\"tags\":{},\"sku\":{\"name\":\"Premium_AzureFrontDoor\"},\"properties\":{\"policySettings\":{\"enabledState\":\"Enabled\",\"mode\":\"Prevention\",\"redirectUrl\":null,\"customBlockResponseStatusCode\":null,\"customBlockResponseBody\":null,\"requestBodyCheck\":\"Disabled\",\"javascriptChallengeExpirationInMinutes\":30,\"logScrubbing\":{\"state\":\"Enabled\",\"scrubbingRules\":[{\"matchVariable\":\"RequestHeaderNames\",\"selectorMatchOperator\":\"EqualsAny\",\"selector\":null,\"state\":\"Enabled\"}]}},\"customRules\":{\"rules\":[{\"name\":\"Rule1\",\"enabledState\":\"Enabled\",\"priority\":2,\"ruleType\":\"MatchRule\",\"rateLimitDurationInMinutes\":1,\"rateLimitThreshold\":null,\"matchConditions\":[{\"matchVariable\":\"RequestHeader\",\"selector\":\"UserAgent\",\"operator\":\"Contains\",\"negateCondition\":false,\"matchValue\":[\"WINDOWS\"],\"transforms\":[\"Uppercase\"]}],\"action\":\"Block\",\"groupBy\":[]}]},\"managedRules\":{\"managedRuleSets\":[{\"ruleSetType\":\"DefaultRuleSet\",\"ruleSetVersion\":\"1.0\",\"ruleSetAction\":null,\"ruleGroupOverrides\":[{\"ruleGroupName\":\"SQLI\",\"rules\":[{\"ruleId\":\"942100\",\"enabledState\":\"Enabled\",\"action\":\"Log\",\"exclusions\":[{\"matchVariable\":\"QueryStringArgNames\",\"selectorMatchOperator\":\"Equals\",\"selector\":\"ExcludeInRule\"}]}],\"exclusions\":[{\"matchVariable\":\"QueryStringArgNames\",\"selectorMatchOperator\":\"Equals\",\"selector\":\"ExcludeInGroup\"}]}],\"exclusions\":[{\"matchVariable\":\"QueryStringArgNames\",\"selectorMatchOperator\":\"Equals\",\"selector\":\"ExcludeInSet\"}]},{\"ruleSetType\":\"BotProtection\",\"ruleSetVersion\":\"preview-0.1\",\"ruleSetAction\":null,\"ruleGroupOverrides\":[],\"exclusions\":[]}]},\"frontendEndpointLinks\":[],\"securityPolicyLinks\":[],\"resourceState\":\"Enabled\",\"provisioningState\":\"Succeeded\"}}",
4343
"isContentBase64": false
4444
}
4545
}

0 commit comments

Comments
 (0)