diff --git a/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Recording.json b/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Recording.json index cad4c4403a1d..415fc3ce7657 100644 --- a/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Recording.json +++ b/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Recording.json @@ -17,19 +17,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "bed8f3e7-6d2e-4d84-a9b7-b440bfe27658" ], + "X-ActivityId": [ "9b6af2d6-a94d-42ea-b711-a12978ee3327" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000005" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "67462913-8ec2-43f2-97fc-56e91f8bd45f" ], - "x-ms-correlation-request-id": [ "67462913-8ec2-43f2-97fc-56e91f8bd45f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053833Z:67462913-8ec2-43f2-97fc-56e91f8bd45f" ], + "x-ms-request-id": [ "7ae1f2a6-edc5-4090-b483-587dfa9444b0" ], + "x-ms-correlation-request-id": [ "7ae1f2a6-edc5-4090-b483-587dfa9444b0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084834Z:7ae1f2a6-edc5-4090-b483-587dfa9444b0" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:33 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0A6BDA0052414F6FA3138C9654DC4E10 Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:32Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "156" ], @@ -47,12 +48,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "6dec28d8-b20a-482a-a339-d8378099d5a5" ], + "x-ms-unique-id": [ "8" ], + "x-ms-client-request-id": [ "88d6c762-ffc9-4310-9efa-898aabfaa28b" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,19 +64,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "6dec28d8-b20a-482a-a339-d8378099d5a5" ], + "X-ActivityId": [ "88d6c762-ffc9-4310-9efa-898aabfaa28b" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000007" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], - "x-ms-request-id": [ "3bd50f72-aa0b-4390-a375-e30f5555ee0a" ], - "x-ms-correlation-request-id": [ "3bd50f72-aa0b-4390-a375-e30f5555ee0a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053834Z:3bd50f72-aa0b-4390-a375-e30f5555ee0a" ], + "x-ms-request-id": [ "f827b29f-5f42-444b-acdb-5325adc7bea9" ], + "x-ms-correlation-request-id": [ "f827b29f-5f42-444b-acdb-5325adc7bea9" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084836Z:f827b29f-5f42-444b-acdb-5325adc7bea9" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:34 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 662AEEFE427947F8868907FCE56BA4AB Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:34Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "777" ], @@ -104,19 +106,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "e173494b-ac91-4386-b8d8-40a6556acc6c" ], + "X-ActivityId": [ "e7014e5a-a668-46c0-ac5b-cf952afdaf1a" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000008" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-request-id": [ "08559265-1150-41df-aad8-73c7d374943f" ], - "x-ms-correlation-request-id": [ "08559265-1150-41df-aad8-73c7d374943f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053835Z:08559265-1150-41df-aad8-73c7d374943f" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "7181cfdd-c2a5-4635-b8c4-a581ad858419" ], + "x-ms-correlation-request-id": [ "7181cfdd-c2a5-4635-b8c4-a581ad858419" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084839Z:7181cfdd-c2a5-4635-b8c4-a581ad858419" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:34 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 082BF55A3386421BB43FF609C6C1DF7C Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:37Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "159" ], diff --git a/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Tests.ps1 b/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Tests.ps1 index 7659bc2617ab..3589f811dcee 100644 --- a/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Tests.ps1 +++ b/src/Monitor/ActionGroup.Autorest/test/Enable-AzActionGroupReceiver.Tests.ps1 @@ -17,8 +17,9 @@ if(($null -eq $TestName) -or ($TestName -contains 'Enable-AzActionGroupReceiver' Describe 'Enable-AzActionGroupReceiver' { It 'EnableExpanded' { { + # Receiver with name smsreceiver in action group with Id MONITOR:xx is already enabled Enable-AzActionGroupReceiver -ActionGroupName $env.actiongroupname -ResourceGroupName $env.resourceGroup -ReceiverName $env.smsreceiver - } | Should -Not -Throw + } | Should -Throw "is already enabled" } It 'EnableViaJsonString' -skip { @@ -30,9 +31,10 @@ Describe 'Enable-AzActionGroupReceiver' { } It 'EnableViaIdentityExpanded' { - { + { + # Receiver with name smsreceiver in action group with Id MONITOR:xx is already enabled $ag = Get-AzActionGroup -Name $env.actiongroupname -ResourceGroupName $env.resourceGroup Enable-AzActionGroupReceiver -InputObject $ag -ReceiverName $env.emailreceiver1 - } | Should -Not -Throw + } | Should -Throw "is already enabled" } } diff --git a/src/Monitor/ActionGroup.Autorest/test/Get-AzActionGroup.Recording.json b/src/Monitor/ActionGroup.Autorest/test/Get-AzActionGroup.Recording.json index aec28199e257..f4d5909b1ee9 100644 --- a/src/Monitor/ActionGroup.Autorest/test/Get-AzActionGroup.Recording.json +++ b/src/Monitor/ActionGroup.Autorest/test/Get-AzActionGroup.Recording.json @@ -17,19 +17,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "e714c76d-dc94-4536-aec7-32d51edd2eca" ], + "X-ActivityId": [ "cbd787cd-1fa2-4a61-bb74-9eb8491a0dc1" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "CH1AZNS000005" ], + "X-ServedBy": [ "CH1AZNS000006" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "23" ], - "x-ms-request-id": [ "67f88dc8-6e84-4f8d-b597-a4786f31aa0e" ], - "x-ms-correlation-request-id": [ "67f88dc8-6e84-4f8d-b597-a4786f31aa0e" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053838Z:67f88dc8-6e84-4f8d-b597-a4786f31aa0e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "24" ], + "x-ms-request-id": [ "4d64f2b9-9691-4097-b028-95bdc18f0d16" ], + "x-ms-correlation-request-id": [ "4d64f2b9-9691-4097-b028-95bdc18f0d16" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084846Z:4d64f2b9-9691-4097-b028-95bdc18f0d16" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:37 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: DE248713EFA24C498570167ADF8447A4 Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:42Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "573" ], @@ -47,12 +48,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "4ad3d97c-0140-4310-abc9-a22171dbf1de" ], + "x-ms-unique-id": [ "11" ], + "x-ms-client-request-id": [ "6c9989a3-e973-4093-ac9c-b4b3a8b14d2d" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_GetViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,19 +64,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "4ad3d97c-0140-4310-abc9-a22171dbf1de" ], + "X-ActivityId": [ "6c9989a3-e973-4093-ac9c-b4b3a8b14d2d" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "CH1AZNS000005" ], + "X-ServedBy": [ "ch1azns000007" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "248" ], - "x-ms-request-id": [ "fa875157-8860-4fa7-81c7-5866f4074756" ], - "x-ms-correlation-request-id": [ "fa875157-8860-4fa7-81c7-5866f4074756" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053838Z:fa875157-8860-4fa7-81c7-5866f4074756" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "7b900da6-eccf-404d-91fc-1bf8f34f37cb" ], + "x-ms-correlation-request-id": [ "7b900da6-eccf-404d-91fc-1bf8f34f37cb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084848Z:7b900da6-eccf-404d-91fc-1bf8f34f37cb" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:38 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 33EB4875A5354D4B950357F2840E77E5 Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:46Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "573" ], @@ -93,12 +95,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "f1d49871-61b6-4c6b-9c86-89790a35be52" ], + "x-ms-unique-id": [ "12" ], + "x-ms-client-request-id": [ "4d8318b1-3d05-4c55-bf01-334a369b8d96" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -110,20 +112,22 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "x-ms-original-request-ids": [ "", "", "" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "247" ], - "x-ms-request-id": [ "49f1f1d7-8035-4a96-a8cf-d72131e95dbf" ], - "x-ms-correlation-request-id": [ "49f1f1d7-8035-4a96-a8cf-d72131e95dbf" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053840Z:49f1f1d7-8035-4a96-a8cf-d72131e95dbf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "55055a62-fc8b-4fee-b002-eda694657e5a" ], + "x-ms-correlation-request-id": [ "55055a62-fc8b-4fee-b002-eda694657e5a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084851Z:55055a62-fc8b-4fee-b002-eda694657e5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:40 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 47E53490113C436892D57DF208E3D438 Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:48Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:50 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "2215" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "2887" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/wyunchi-copilot-application-insights/providers/microsoft.insights/actionGroups/Application Insights Smart Detection\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"Application Insights Smart Detection\",\"location\":\"Global\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"SmartDetect\",\"enabled\":true,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[{\"name\":\"Monitoring Contributor\",\"roleId\":\"749f88d5-cbae-40b8-bcfc-e573ddc772fa\",\"useCommonAlertSchema\":true},{\"name\":\"Monitoring Reader\",\"roleId\":\"43d0d8ad-25c7-4714-9337-8ba259a9fe05\",\"useCommonAlertSchema\":true}]}},{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroup3\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroup3\",\"location\":\"northcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag3\",\"enabled\":false,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}},{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-Action/providers/microsoft.insights/actionGroups/actiongroup1\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroup1\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"user1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}},{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/wyunchi-copilot-application-insights/providers/microsoft.insights/actionGroups/Application Insights Smart Detection\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"Application Insights Smart Detection\",\"location\":\"Global\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"SmartDetect\",\"enabled\":true,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[{\"name\":\"Monitoring Contributor\",\"roleId\":\"749f88d5-cbae-40b8-bcfc-e573ddc772fa\",\"useCommonAlertSchema\":true},{\"name\":\"Monitoring Reader\",\"roleId\":\"43d0d8ad-25c7-4714-9337-8ba259a9fe05\",\"useCommonAlertSchema\":true}]}},{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroup3\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroup3\",\"location\":\"northcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag3\",\"enabled\":false,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}},{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}]}", "isContentBase64": false } }, @@ -134,12 +138,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "c7f597dc-6225-43d6-be36-82e124f0e9ed" ], + "x-ms-unique-id": [ "13" ], + "x-ms-client-request-id": [ "3ef577c4-2802-49fa-8095-417ff6379376" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -150,19 +154,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "c7f597dc-6225-43d6-be36-82e124f0e9ed" ], + "X-ActivityId": [ "3ef577c4-2802-49fa-8095-417ff6379376" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000002" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "246" ], - "x-ms-request-id": [ "2d3e8480-9a6e-4930-9b3f-5e2890b9ad5f" ], - "x-ms-correlation-request-id": [ "2d3e8480-9a6e-4930-9b3f-5e2890b9ad5f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053841Z:2d3e8480-9a6e-4930-9b3f-5e2890b9ad5f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "67726346-e54a-45a9-b59c-45f2d4496221" ], + "x-ms-correlation-request-id": [ "67726346-e54a-45a9-b59c-45f2d4496221" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084853Z:67726346-e54a-45a9-b59c-45f2d4496221" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:40 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: C925FE14818743188B46C123E24FA824 Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:52Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "777" ], @@ -180,12 +185,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "5bf3758b-854c-4130-9693-6a8939d6db2e" ], + "x-ms-unique-id": [ "14" ], + "x-ms-client-request-id": [ "a9e69b53-8087-40f6-9492-e56048613a03" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -197,18 +202,20 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "x-ms-original-request-ids": [ "", "" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "245" ], - "x-ms-request-id": [ "53f46be1-e56f-433f-8d44-faed5e314679" ], - "x-ms-correlation-request-id": [ "53f46be1-e56f-433f-8d44-faed5e314679" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053841Z:53f46be1-e56f-433f-8d44-faed5e314679" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "f9dccb7e-3956-4cca-8d72-6a959e363553" ], + "x-ms-correlation-request-id": [ "f9dccb7e-3956-4cca-8d72-6a959e363553" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084856Z:f9dccb7e-3956-4cca-8d72-6a959e363553" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:41 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 68B023B4742F4A0FB9BA350383EA501A Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:54Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:56 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "1363" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "1363" ] + "Expires": [ "-1" ] }, "Content": "{\"value\":[{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroup3\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroup3\",\"location\":\"northcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag3\",\"enabled\":false,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}},{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}]}", "isContentBase64": false diff --git a/src/Monitor/ActionGroup.Autorest/test/New-AzActionGroup.Recording.json b/src/Monitor/ActionGroup.Autorest/test/New-AzActionGroup.Recording.json index 9bcff80a1b43..a7db9582d6fd 100644 --- a/src/Monitor/ActionGroup.Autorest/test/New-AzActionGroup.Recording.json +++ b/src/Monitor/ActionGroup.Autorest/test/New-AzActionGroup.Recording.json @@ -3,13 +3,13 @@ "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/Microsoft.Insights/actionGroups/actiongroup1?api-version=2023-01-01", - "Content": "{\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"groupShortName\": \"ag1\",\r\n \"enabled\": false,\r\n \"eventHubReceivers\": [\r\n {\r\n \"name\": \"sample eventhub\",\r\n \"eventHubNameSpace\": \"Namespace1894859101\",\r\n \"eventHubName\": \"testEventHub452586681\",\r\n \"subscriptionId\": \"9e223dbe-3399-4e19-88eb-0975f02ac87f\"\r\n }\r\n ]\r\n }\r\n}", + "Content": "{\r\n \"location\": \"northcentralus\",\r\n \"properties\": {\r\n \"groupShortName\": \"ag1\",\r\n \"enabled\": false,\r\n \"eventHubReceivers\": [\r\n {\r\n \"name\": \"sample eventhub\",\r\n \"eventHubNameSpace\": \"Namespace20240204\",\r\n \"eventHubName\": \"testEventHub20240204\",\r\n \"subscriptionId\": \"9e223dbe-3399-4e19-88eb-0975f02ac87f\"\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "372" ] + "Content-Length": [ "369" ] } }, "Response": { @@ -17,26 +17,27 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "7d36e6fe-26bd-4154-8a3e-a8ca1cfb939a" ], + "X-ActivityId": [ "d5072741-8ff0-479b-b615-00bb03f2cfc5" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "CH1AZNS000005" ], + "X-ServedBy": [ "CH1AZNS000004" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "22" ], - "x-ms-request-id": [ "aa800d9a-c003-41fb-9334-7daab488f4e4" ], - "x-ms-correlation-request-id": [ "aa800d9a-c003-41fb-9334-7daab488f4e4" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053843Z:aa800d9a-c003-41fb-9334-7daab488f4e4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "24" ], + "x-ms-request-id": [ "ad734759-1621-4505-bfe5-96555194ffd4" ], + "x-ms-correlation-request-id": [ "ad734759-1621-4505-bfe5-96555194ffd4" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084859Z:ad734759-1621-4505-bfe5-96555194ffd4" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:42 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F1019506F3484D06A89DFF9B29932C7E Ref B: MAA201060514051 Ref C: 2024-02-04T08:48:56Z" ], + "Date": [ "Sun, 04 Feb 2024 08:48:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "815" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroup1\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroup1\",\"location\":\"northcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace1894859101\",\"eventHubName\":\"testEventHub452586681\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", + "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroup1\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroup1\",\"location\":\"northcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[],\"smsReceivers\":[],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace20240204\",\"eventHubName\":\"testEventHub20240204\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", "isContentBase64": false } } diff --git a/src/Monitor/ActionGroup.Autorest/test/Remove-AzActionGroup.Recording.json b/src/Monitor/ActionGroup.Autorest/test/Remove-AzActionGroup.Recording.json index b78b581f9d9d..11eeef32a27e 100644 --- a/src/Monitor/ActionGroup.Autorest/test/Remove-AzActionGroup.Recording.json +++ b/src/Monitor/ActionGroup.Autorest/test/Remove-AzActionGroup.Recording.json @@ -6,12 +6,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "f8125c07-6755-4efb-ab2b-5895e256a900" ], + "x-ms-unique-id": [ "16" ], + "x-ms-client-request-id": [ "24599428-6835-493d-b38e-4f0de16469c8" ], "CommandName": [ "Remove-AzActionGroup" ], "FullCommandName": [ "Remove-AzActionGroup_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,19 +22,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "f8125c07-6755-4efb-ab2b-5895e256a900" ], + "X-ActivityId": [ "24599428-6835-493d-b38e-4f0de16469c8" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "CH1AZNS000005" ], + "X-ServedBy": [ "ch1azns000007" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-request-id": [ "1ec8b42e-dab6-4740-8a6b-e3a285c4914d" ], - "x-ms-correlation-request-id": [ "1ec8b42e-dab6-4740-8a6b-e3a285c4914d" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053846Z:1ec8b42e-dab6-4740-8a6b-e3a285c4914d" ], + "x-ms-request-id": [ "a1e93846-051e-4b04-a3f8-92cc4bec0eeb" ], + "x-ms-correlation-request-id": [ "a1e93846-051e-4b04-a3f8-92cc4bec0eeb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084905Z:a1e93846-051e-4b04-a3f8-92cc4bec0eeb" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:46 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A99178AE40344A06867F3577C8E379B0 Ref B: MAA201060514051 Ref C: 2024-02-04T08:49:02Z" ], + "Date": [ "Sun, 04 Feb 2024 08:49:05 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -51,12 +52,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "f8ee106f-90a9-4605-9d86-1824abebe883" ], + "x-ms-unique-id": [ "17" ], + "x-ms-client-request-id": [ "61723e49-6f4a-4751-9547-64922b525a83" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -67,19 +68,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "f8ee106f-90a9-4605-9d86-1824abebe883" ], + "X-ActivityId": [ "61723e49-6f4a-4751-9547-64922b525a83" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "CH1AZNS000005" ], + "X-ServedBy": [ "CH1AZNS000006" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "244" ], - "x-ms-request-id": [ "1becebbd-c1ba-4e48-b30b-405b235e3245" ], - "x-ms-correlation-request-id": [ "1becebbd-c1ba-4e48-b30b-405b235e3245" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053848Z:1becebbd-c1ba-4e48-b30b-405b235e3245" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "fef59fee-ed67-4ce7-8124-e38424c679b7" ], + "x-ms-correlation-request-id": [ "fef59fee-ed67-4ce7-8124-e38424c679b7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084908Z:fef59fee-ed67-4ce7-8124-e38424c679b7" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:47 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 79EFE615137D4B74953FC64DA9710421 Ref B: MAA201060514051 Ref C: 2024-02-04T08:49:05Z" ], + "Date": [ "Sun, 04 Feb 2024 08:49:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "573" ], @@ -97,12 +99,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "addc63a2-41a6-4f39-a7fa-c04023ba0a9a" ], + "x-ms-unique-id": [ "18" ], + "x-ms-client-request-id": [ "a5b4d6f6-befc-4509-a62e-4ccef7d074b7" ], "CommandName": [ "Remove-AzActionGroup" ], "FullCommandName": [ "Remove-AzActionGroup_DeleteViaIdentity" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -113,19 +115,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "addc63a2-41a6-4f39-a7fa-c04023ba0a9a" ], + "X-ActivityId": [ "a5b4d6f6-befc-4509-a62e-4ccef7d074b7" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "CH1AZNS000005" ], + "X-ServedBy": [ "CH2AZNS000001" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-request-id": [ "e2bc25df-b6aa-4990-92c2-8f7605d45f08" ], - "x-ms-correlation-request-id": [ "e2bc25df-b6aa-4990-92c2-8f7605d45f08" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053849Z:e2bc25df-b6aa-4990-92c2-8f7605d45f08" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-request-id": [ "e0636991-4580-4201-8055-9ec9a00c3067" ], + "x-ms-correlation-request-id": [ "e0636991-4580-4201-8055-9ec9a00c3067" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084912Z:e0636991-4580-4201-8055-9ec9a00c3067" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:49 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 67FC737267C844BAA1C76DB2135E96C3 Ref B: MAA201060514051 Ref C: 2024-02-04T08:49:08Z" ], + "Date": [ "Sun, 04 Feb 2024 08:49:12 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], diff --git a/src/Monitor/ActionGroup.Autorest/test/Test-AzActionGroup.Recording.json b/src/Monitor/ActionGroup.Autorest/test/Test-AzActionGroup.Recording.json index d83715b9c215..4df8df856fa7 100644 --- a/src/Monitor/ActionGroup.Autorest/test/Test-AzActionGroup.Recording.json +++ b/src/Monitor/ActionGroup.Autorest/test/Test-AzActionGroup.Recording.json @@ -17,20 +17,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01" ], - "X-ActivityId": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], + "Location": [ "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000019269460?api-version=2023-01-01\u0026t=638426333554858866\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjMxMTAxMjE0OTQ5WhcNMjQxMDI2MjE0OTQ5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKt_zl2yRFDxIUmqoEA-B7WoRkSqscgwk6CGqDbwEVJS3oTI4Gk-ukQ6El3GQJVthiuwZGw4jwvTDyVWC8mQH2Zni6X1ocTXrNNa6VFJnvzeEn-HpmPATuII8AWtdtUnBvGZGAwgspvH8iZZCiHDowHCWhjVsU6_ipCsmzQeH3oRJI4AwUS_nCVA7U9WPdgIyQp6v5QPzcYCO_zIbNW4y_Cc3phfPEQvPvtSKhuijt68F5WlUY6Ps23ksosYG5VTx7z6skGG9arA5UKUzbbEO8lxzda3OFPZdG7OHe8-VMXxJjtSanZSSbdLgYBRB9m9PGr6voKtML9W5rEukE-lEUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAG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-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000003" ], "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-request-id": [ "72f06d01-fdaf-4e2d-a355-b261f7d6a7c7" ], - "x-ms-correlation-request-id": [ "72f06d01-fdaf-4e2d-a355-b261f7d6a7c7" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053850Z:72f06d01-fdaf-4e2d-a355-b261f7d6a7c7" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "a52b354d-178d-4077-9442-9bc4470efb79" ], + "x-ms-correlation-request-id": [ "a52b354d-178d-4077-9442-9bc4470efb79" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084915Z:a52b354d-178d-4077-9442-9bc4470efb79" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:38:50 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0264D68B22A04392B8689472BA197C8C Ref B: MAA201060514051 Ref C: 2024-02-04T08:49:13Z" ], + "Date": [ "Sun, 04 Feb 2024 08:49:15 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -40,20 +41,20 @@ "isContentBase64": false } }, - "Test-AzActionGroup+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01+2": { + "Test-AzActionGroup+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000019269460?api-version=2023-01-01\u0026t=638426333554858866\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjMxMTAxMjE0OTQ5WhcNMjQxMDI2MjE0OTQ5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKt_zl2yRFDxIUmqoEA-B7WoRkSqscgwk6CGqDbwEVJS3oTI4Gk-ukQ6El3GQJVthiuwZGw4jwvTDyVWC8mQH2Zni6X1ocTXrNNa6VFJnvzeEn-HpmPATuII8AWtdtUnBvGZGAwgspvH8iZZCiHDowHCWhjVsU6_ipCsmzQeH3oRJI4AwUS_nCVA7U9WPdgIyQp6v5QPzcYCO_zIbNW4y_Cc3phfPEQvPvtSKhuijt68F5WlUY6Ps23ksosYG5VTx7z6skGG9arA5UKUzbbEO8lxzda3OFPZdG7OHe8-VMXxJjtSanZSSbdLgYBRB9m9PGr6voKtML9W5rEukE-lEUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v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BBAGCN3sBATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKRwStAdrsy7tgEfmtXPZXIwgdXOYwSx2Kqzlhq8b6Ptid4V3vhJvDV0WLS7d72KIMUwZiBnfPHhMmsdkLOSpNSZYC23g3QJSBWvoS86Rpkeru5bEyQmv1gucF_MyaFaUXUd4b7xnvCkv-BBNO8m1lvFAowB2odz9esggf82yeOVBx0yEK_NNOK4l36XvRjvIqemSLZOSi1wow_wn_ovhAEPpSSN7UTahPtz7J12vhP1LuZ4Rvn_hNx48ncw445nMBnMVmcuuakaKDC6_sAcs5lg9jq2yHSaIHRw4xcoS5XwvIykGPMUyAD-dXWFih_XFOKh7ea50hObFhghf3Dtvlo\u0026s=gOdJxIOIH5iX085fFrSDfP4oDVfQHAbhAMCcaZlbBxW4Cw_JqHH8bSlIRah4z_zmCZzqNfWzbzWjs2dwJMgpkX0rO6LxtxBxOOaSbGxnl3uWK0QA-Ak5SW4Yk8TycJK2KIAXiRqa_JKCYetjq9XQp9l7vLyFFwTV6auuO7hjilI-7Gfdwu-ZtW3UK92Nkc4DFdOF4foQUfslGImHSpyEYmcWTCQAIIqtiBARy0cRapnjH-B5SCDDpDY7ffH5De26FZJpZxz9-FLgsGWDxBg1148OUV-ONTtPoN4x_jB8E8a54L54AeuNwRCXTS6R6Ep8LVozAHIKXLWbC7QVtCJ2YA\u0026h=XvkPJ15qxzvhKoafv2huXoYL4-5Po8CAhMFkIsiropo+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000019269460?api-version=2023-01-01\u0026t=638426333554858866\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjMxMTAxMjE0OTQ5WhcNMjQxMDI2MjE0OTQ5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKt_zl2yRFDxIUmqoEA-B7WoRkSqscgwk6CGqDbwEVJS3oTI4Gk-ukQ6El3GQJVthiuwZGw4jwvTDyVWC8mQH2Zni6X1ocTXrNNa6VFJnvzeEn-HpmPATuII8AWtdtUnBvGZGAwgspvH8iZZCiHDowHCWhjVsU6_ipCsmzQeH3oRJI4AwUS_nCVA7U9WPdgIyQp6v5QPzcYCO_zIbNW4y_Cc3phfPEQvPvtSKhuijt68F5WlUY6Ps23ksosYG5VTx7z6skGG9arA5UKUzbbEO8lxzda3OFPZdG7OHe8-VMXxJjtSanZSSbdLgYBRB9m9PGr6voKtML9W5rEukE-lEUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0K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YBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAKRwStAdrsy7tgEfmtXPZXIwgdXOYwSx2Kqzlhq8b6Ptid4V3vhJvDV0WLS7d72KIMUwZiBnfPHhMmsdkLOSpNSZYC23g3QJSBWvoS86Rpkeru5bEyQmv1gucF_MyaFaUXUd4b7xnvCkv-BBNO8m1lvFAowB2odz9esggf82yeOVBx0yEK_NNOK4l36XvRjvIqemSLZOSi1wow_wn_ovhAEPpSSN7UTahPtz7J12vhP1LuZ4Rvn_hNx48ncw445nMBnMVmcuuakaKDC6_sAcs5lg9jq2yHSaIHRw4xcoS5XwvIykGPMUyAD-dXWFih_XFOKh7ea50hObFhghf3Dtvlo\u0026s=gOdJxIOIH5iX085fFrSDfP4oDVfQHAbhAMCcaZlbBxW4Cw_JqHH8bSlIRah4z_zmCZzqNfWzbzWjs2dwJMgpkX0rO6LxtxBxOOaSbGxnl3uWK0QA-Ak5SW4Yk8TycJK2KIAXiRqa_JKCYetjq9XQp9l7vLyFFwTV6auuO7hjilI-7Gfdwu-ZtW3UK92Nkc4DFdOF4foQUfslGImHSpyEYmcWTCQAIIqtiBARy0cRapnjH-B5SCDDpDY7ffH5De26FZJpZxz9-FLgsGWDxBg1148OUV-ONTtPoN4x_jB8E8a54L54AeuNwRCXTS6R6Ep8LVozAHIKXLWbC7QVtCJ2YA\u0026h=XvkPJ15qxzvhKoafv2huXoYL4-5Po8CAhMFkIsiropo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], + "x-ms-unique-id": [ "20" ], + "x-ms-client-request-id": [ "51129958-f62a-4aa7-85bc-2190bcbefba8" ], "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], "FullCommandName": [ "Test-AzActionGroup_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ] }, "ContentHeaders": { } @@ -63,135 +64,44 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], + "X-ActivityId": [ "51129958-f62a-4aa7-85bc-2190bcbefba8" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS000003" ], "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-request-id": [ "cc964d76-41ee-4130-a34f-71b227a43610" ], - "x-ms-correlation-request-id": [ "cc964d76-41ee-4130-a34f-71b227a43610" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053921Z:cc964d76-41ee-4130-a34f-71b227a43610" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:39:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "564" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2023-11-08T05:38:50.5790286+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null},{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver2\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null}]}", - "isContentBase64": false - } - }, - "Test-AzActionGroup+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], - "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], - "FullCommandName": [ "Test-AzActionGroup_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-ActivityId": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], - "Access-Control-Expose-Headers": [ "x-activityid" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], - "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], - "x-ms-request-id": [ "ca0c564b-4d3a-427c-8859-8bd3489a4823" ], - "x-ms-correlation-request-id": [ "ca0c564b-4d3a-427c-8859-8bd3489a4823" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T053952Z:ca0c564b-4d3a-427c-8859-8bd3489a4823" ], + "x-ms-request-id": [ "27cb875c-20b4-4d9d-985c-2314ed86aff3" ], + "x-ms-correlation-request-id": [ "27cb875c-20b4-4d9d-985c-2314ed86aff3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T084947Z:27cb875c-20b4-4d9d-985c-2314ed86aff3" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:39:51 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 95F4D839C6AB463398412B7B84241C52 Ref B: MAA201060514051 Ref C: 2024-02-04T08:49:45Z" ], + "Date": [ "Sun, 04 Feb 2024 08:49:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "564" ], + "Content-Length": [ "556" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2023-11-08T05:38:50.5790286+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null},{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver2\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null}]}", + "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextIdType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2024-02-04T08:49:15.3189122+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:49:16.0622321+00:00\",\"Message\":null},{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver2\",\"Status\":\"InProgress\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:49:16.0622321+00:00\",\"Message\":null}]}", "isContentBase64": false } }, - "Test-AzActionGroup+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01+4": { + "Test-AzActionGroup+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000019269460?api-version=2023-01-01\u0026t=638426333554858866\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjMxMTAxMjE0OTQ5WhcNMjQxMDI2MjE0OTQ5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKt_zl2yRFDxIUmqoEA-B7WoRkSqscgwk6CGqDbwEVJS3oTI4Gk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gpkX0rO6LxtxBxOOaSbGxnl3uWK0QA-Ak5SW4Yk8TycJK2KIAXiRqa_JKCYetjq9XQp9l7vLyFFwTV6auuO7hjilI-7Gfdwu-ZtW3UK92Nkc4DFdOF4foQUfslGImHSpyEYmcWTCQAIIqtiBARy0cRapnjH-B5SCDDpDY7ffH5De26FZJpZxz9-FLgsGWDxBg1148OUV-ONTtPoN4x_jB8E8a54L54AeuNwRCXTS6R6Ep8LVozAHIKXLWbC7QVtCJ2YA\u0026h=XvkPJ15qxzvhKoafv2huXoYL4-5Po8CAhMFkIsiropo+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01", + "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000019269460?api-version=2023-01-01\u0026t=638426333554858866\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjMxMTAxMjE0OTQ5WhcNMjQxMDI2MjE0OTQ5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKt_zl2yRFDxIUmqoEA-B7WoRkSqscgwk6CGqDbwEVJS3oTI4Gk-ukQ6El3GQJVthiuwZGw4jwvTDyVWC8mQH2Zni6X1ocTXrNNa6VFJnvzeEn-HpmPATuII8AWtdtUnBvGZGAw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O7hjilI-7Gfdwu-ZtW3UK92Nkc4DFdOF4foQUfslGImHSpyEYmcWTCQAIIqtiBARy0cRapnjH-B5SCDDpDY7ffH5De26FZJpZxz9-FLgsGWDxBg1148OUV-ONTtPoN4x_jB8E8a54L54AeuNwRCXTS6R6Ep8LVozAHIKXLWbC7QVtCJ2YA\u0026h=XvkPJ15qxzvhKoafv2huXoYL4-5Po8CAhMFkIsiropo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], - "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], - "FullCommandName": [ "Test-AzActionGroup_CreateExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-ActivityId": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], - "Access-Control-Expose-Headers": [ "x-activityid" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], - "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-request-id": [ "c7afd1df-ad02-41e3-98f4-ce448fe2fe2a" ], - "x-ms-correlation-request-id": [ "c7afd1df-ad02-41e3-98f4-ce448fe2fe2a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054023Z:c7afd1df-ad02-41e3-98f4-ce448fe2fe2a" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:40:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "564" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2023-11-08T05:38:50.5790286+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null},{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver2\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null}]}", - "isContentBase64": false - } - }, - "Test-AzActionGroup+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774239?api-version=2023-01-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], + "x-ms-unique-id": [ "21" ], + "x-ms-client-request-id": [ "51129958-f62a-4aa7-85bc-2190bcbefba8" ], "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], "FullCommandName": [ "Test-AzActionGroup_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ] }, "ContentHeaders": { } @@ -201,26 +111,27 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "4e20e3f9-25e9-4ede-bc65-181a0db43222" ], + "X-ActivityId": [ "51129958-f62a-4aa7-85bc-2190bcbefba8" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], "X-ServedBy": [ "SN1AZNS000001" ], "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], - "x-ms-request-id": [ "34959468-ab08-4b95-af03-51b3c2cc6e16" ], - "x-ms-correlation-request-id": [ "34959468-ab08-4b95-af03-51b3c2cc6e16" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054053Z:34959468-ab08-4b95-af03-51b3c2cc6e16" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "7715390e-e76f-4699-ad26-54161967330b" ], + "x-ms-correlation-request-id": [ "7715390e-e76f-4699-ad26-54161967330b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085019Z:7715390e-e76f-4699-ad26-54161967330b" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:40:53 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0A5BA2CA9A184F0BA7119937B5C6DBC9 Ref B: MAA201060514051 Ref C: 2024-02-04T08:50:18Z" ], + "Date": [ "Sun, 04 Feb 2024 08:50:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "566" ], + "Content-Length": [ "560" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"Complete\",\"completedTime\":\"2023-11-08T05:40:36.83421+00:00\",\"createdTime\":\"2023-11-08T05:38:50.5790286+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver2\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null},{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:39:00.7436042+00:00\",\"Message\":null}]}", + "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextIdType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"Complete\",\"completedTime\":\"2024-02-04T08:50:16.0240968+00:00\",\"createdTime\":\"2024-02-04T08:49:15.3189122+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"Succeeded\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:49:16.0622321+00:00\",\"Message\":null},{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver2\",\"Status\":\"Succeeded\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:49:16.0622321+00:00\",\"Message\":null}]}", "isContentBase64": false } }, @@ -231,12 +142,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "9b1c59e9-2541-4954-bf4b-2e93dab01a4e" ], + "x-ms-unique-id": [ "22" ], + "x-ms-client-request-id": [ "288f0748-39c6-4dcb-915b-db87b9fefea8" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -247,19 +158,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "9b1c59e9-2541-4954-bf4b-2e93dab01a4e" ], + "X-ActivityId": [ "288f0748-39c6-4dcb-915b-db87b9fefea8" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS00000D" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "243" ], - "x-ms-request-id": [ "ea9f9846-ae49-485d-be44-7737a31e21f2" ], - "x-ms-correlation-request-id": [ "ea9f9846-ae49-485d-be44-7737a31e21f2" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054054Z:ea9f9846-ae49-485d-be44-7737a31e21f2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "ef1862f9-417a-40cf-88af-9e854ace2f25" ], + "x-ms-correlation-request-id": [ "ef1862f9-417a-40cf-88af-9e854ace2f25" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085022Z:ef1862f9-417a-40cf-88af-9e854ace2f25" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:40:54 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 676C9A83E54F4EA58B467E8DA25613F6 Ref B: MAA201060514051 Ref C: 2024-02-04T08:50:19Z" ], + "Date": [ "Sun, 04 Feb 2024 08:50:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "777" ], @@ -288,20 +200,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01" ], - "X-ActivityId": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], + "Location": [ "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/21000019998691?api-version=2023-01-01\u0026t=638426334248264836\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjMxMTAxMjE0OTQ5WhcNMjQxMDI2MjE0OTQ5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKt_zl2yRFDxIUmqoEA-B7WoRkSqscgwk6CGqDbwEVJS3oTI4Gk-ukQ6El3GQJVthiuwZGw4j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kR8b_-Ys2LtvCN9CWbvRJCvbeZLNXHf2wDh2XqHqIg2r-tGIdZytx5YSVWOD02kbeckmHGpqrcDVw8r31W5NMwZ5qJmOnuhMQgU8t5_-BHwT9y4Mur8ahvtuRjXx7a905SDywJX3mhBP1oTfro3zdDowPt_DdVXRN6oYGavsLDv9H2qssmXlZ5zjMs1cxwUes5M3Tv6mSx5sK40_b_h6dIBmKNmLzSwTERA\u0026h=HrB4FR6LZIdiRYxPVvvX9AKYSr3xq_xtGUuvBN0XaCg" ], + "X-ActivityId": [ "32792fb6-f478-47fe-91de-de8a655be3ee" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS000009" ], "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-request-id": [ "9b8e99ae-d9bb-483e-8cb5-f09070e0eb44" ], - "x-ms-correlation-request-id": [ "9b8e99ae-d9bb-483e-8cb5-f09070e0eb44" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054055Z:9b8e99ae-d9bb-483e-8cb5-f09070e0eb44" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "727ed30b-da04-4cd5-902f-4e6fb5d35700" ], + "x-ms-correlation-request-id": [ "727ed30b-da04-4cd5-902f-4e6fb5d35700" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085024Z:727ed30b-da04-4cd5-902f-4e6fb5d35700" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:40:55 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: C0508FF404594F528B37528499D5733E Ref B: MAA201060514051 Ref C: 2024-02-04T08:50:23Z" ], + "Date": [ "Sun, 04 Feb 2024 08:50:24 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -311,66 +224,20 @@ "isContentBase64": false } }, - "Test-AzActionGroup+[NoContext]+CreateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], - "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], - "FullCommandName": [ "Test-AzActionGroup_CreateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-ActivityId": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], - "Access-Control-Expose-Headers": [ "x-activityid" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], - "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], - "x-ms-request-id": [ "5e389568-3cd0-4eb2-9bab-4398de461ab5" ], - "x-ms-correlation-request-id": [ "5e389568-3cd0-4eb2-9bab-4398de461ab5" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054126Z:5e389568-3cd0-4eb2-9bab-4398de461ab5" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:41:25 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "558" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2023-11-08T05:40:54.9901662+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:41:00.8749313+00:00\",\"Message\":null},{\"MechanismType\":\"Sms\",\"Name\":\"smsreceiver\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:40:57.1860104+00:00\",\"Message\":null}]}", - "isContentBase64": false - } - }, - "Test-AzActionGroup+[NoContext]+CreateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01+4": { + "Test-AzActionGroup+[NoContext]+CreateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/acti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IhvcNAQELBQADggEBAKRwStAdrsy7tgEfmtXPZXIwgdXOYwSx2Kqzlhq8b6Ptid4V3vhJvDV0WLS7d72KIMUwZiBnfPHhMmsdkLOSpNSZYC23g3QJSBWvoS86Rpkeru5bEyQmv1gucF_MyaFaUXUd4b7xnvCkv-BBNO8m1lvFAowB2odz9esggf82yeOVBx0yEK_NNOK4l36XvRjvIqemSLZOSi1wow_wn_ovhAEPpSSN7UTahPtz7J12vhP1LuZ4Rvn_hNx48ncw445nMBnMVmcuuakaKDC6_sAcs5lg9jq2yHSaIHRw4xcoS5XwvIykGPMUyAD-dXWFih_XFOKh7ea50hObFhghf3Dtvlo\u0026s=goy9eerBTjMHvcur-bMcqcVxjhyySLlXmGUc8C2rnfQi5tbqPlv322ae84APru-G_0zvBg172f3IH0x7nSagj2Sbm4F-i0nRHfspqX7tARtzoUUqKutkR8b_-Ys2LtvCN9CWbvRJCvbeZLNXHf2wDh2XqHqIg2r-tGIdZytx5YSVWOD02kbeckmHGpqrcDVw8r31W5NMwZ5qJmOnuhMQgU8t5_-BHwT9y4Mur8ahvtuRjXx7a905SDywJX3mhBP1oTfro3zdDowPt_DdVXRN6oYGavsLDv9H2qssmXlZ5zjMs1cxwUes5M3Tv6mSx5sK40_b_h6dIBmKNmLzSwTERA\u0026h=HrB4FR6LZIdiRYxPVvvX9AKYSr3xq_xtGUuvBN0XaCg+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01", + "RequestUri": "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/21000019998691?api-version=2023-01-01\u0026t=638426334248264836\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0u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MmsdkLOSpNSZYC23g3QJSBWvoS86Rpkeru5bEyQmv1gucF_MyaFaUXUd4b7xnvCkv-BBNO8m1lvFAowB2odz9esggf82yeOVBx0yEK_NNOK4l36XvRjvIqemSLZOSi1wow_wn_ovhAEPpSSN7UTahPtz7J12vhP1LuZ4Rvn_hNx48ncw445nMBnMVmcuuakaKDC6_sAcs5lg9jq2yHSaIHRw4xcoS5XwvIykGPMUyAD-dXWFih_XFOKh7ea50hObFhghf3Dtvlo\u0026s=goy9eerBTjMHvcur-bMcqcVxjhyySLlXmGUc8C2rnfQi5tbqPlv322ae84APru-G_0zvBg172f3IH0x7nSagj2Sbm4F-i0nRHfspqX7tARtzoUUqKutkR8b_-Ys2LtvCN9CWbvRJCvbeZLNXHf2wDh2XqHqIg2r-tGIdZytx5YSVWOD02kbeckmHGpqrcDVw8r31W5NMwZ5qJmOnuhMQgU8t5_-BHwT9y4Mur8ahvtuRjXx7a905SDywJX3mhBP1oTfro3zdDowPt_DdVXRN6oYGavsLDv9H2qssmXlZ5zjMs1cxwUes5M3Tv6mSx5sK40_b_h6dIBmKNmLzSwTERA\u0026h=HrB4FR6LZIdiRYxPVvvX9AKYSr3xq_xtGUuvBN0XaCg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], + "x-ms-client-request-id": [ "32792fb6-f478-47fe-91de-de8a655be3ee" ], "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], "FullCommandName": [ "Test-AzActionGroup_CreateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ] }, "ContentHeaders": { } @@ -380,89 +247,44 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], + "X-ActivityId": [ "32792fb6-f478-47fe-91de-de8a655be3ee" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS00000D" ], "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], - "x-ms-request-id": [ "a907b341-4b81-4c79-b5de-473f074aaf78" ], - "x-ms-correlation-request-id": [ "a907b341-4b81-4c79-b5de-473f074aaf78" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054156Z:a907b341-4b81-4c79-b5de-473f074aaf78" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-request-id": [ "68a73c2a-c676-46f9-8b53-d12f1e933a91" ], + "x-ms-correlation-request-id": [ "68a73c2a-c676-46f9-8b53-d12f1e933a91" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085058Z:68a73c2a-c676-46f9-8b53-d12f1e933a91" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:41:56 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1DC98ACA1A534E179652B40E016F7300 Ref B: MAA201060514051 Ref C: 2024-02-04T08:50:55Z" ], + "Date": [ "Sun, 04 Feb 2024 08:50:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "558" ], + "Content-Length": [ "548" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2023-11-08T05:40:54.9901662+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:41:00.8749313+00:00\",\"Message\":null},{\"MechanismType\":\"Sms\",\"Name\":\"smsreceiver\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:40:57.1860104+00:00\",\"Message\":null}]}", + "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextIdType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2024-02-04T08:50:24.664503+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"Succeeded\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:50:25.0377427+00:00\",\"Message\":null},{\"MechanismType\":\"Sms\",\"Name\":\"smsreceiver\",\"Status\":\"Succeeded\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:50:24.9752471+00:00\",\"Message\":null}]}", "isContentBase64": false } }, - "Test-AzActionGroup+[NoContext]+CreateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01+5": { + "Test-AzActionGroup+[NoContext]+CreateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/21000019998691?api-version=2023-01-01\u0026t=638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wgdXOYwSx2Kqzlhq8b6Ptid4V3vhJvDV0WLS7d72KIMUwZiBnfPHhMmsdkLOSpNSZYC23g3QJSBWvoS86Rpkeru5bEyQmv1gucF_MyaFaUXUd4b7xnvCkv-BBNO8m1lvFAowB2odz9esggf82yeOVBx0yEK_NNOK4l36XvRjvIqemSLZOSi1wow_wn_ovhAEPpSSN7UTahPtz7J12vhP1LuZ4Rvn_hNx48ncw445nMBnMVmcuuakaKDC6_sAcs5lg9jq2yHSaIHRw4xcoS5XwvIykGPMUyAD-dXWFih_XFOKh7ea50hObFhghf3Dtvlo\u0026s=goy9eerBTjMHvcur-bMcqcVxjhyySLlXmGUc8C2rnfQi5tbqPlv322ae84APru-G_0zvBg172f3IH0x7nSagj2Sbm4F-i0nRHfspqX7tARtzoUUqKutkR8b_-Ys2LtvCN9CWbvRJCvbeZLNXHf2wDh2XqHqIg2r-tGIdZytx5YSVWOD02kbeckmHGpqrcDVw8r31W5NMwZ5qJmOnuhMQgU8t5_-BHwT9y4Mur8ahvtuRjXx7a905SDywJX3mhBP1oTfro3zdDowPt_DdVXRN6oYGavsLDv9H2qssmXlZ5zjMs1cxwUes5M3Tv6mSx5sK40_b_h6dIBmKNmLzSwTERA\u0026h=HrB4FR6LZIdiRYxPVvvX9AKYSr3xq_xtGUuvBN0XaCg+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01", + "RequestUri": "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/21000019998691?api-version=2023-01-01\u0026t=638426334248264836\u0026c=MIIHHjCCBgagAwIBAgITOgI9LlF5jGEEQe1CmgAEAj0uUTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZP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Qmv1gucF_MyaFaUXUd4b7xnvCkv-BBNO8m1lvFAowB2odz9esggf82yeOVBx0yEK_NNOK4l36XvRjvIqemSLZOSi1wow_wn_ovhAEPpSSN7UTahPtz7J12vhP1LuZ4Rvn_hNx48ncw445nMBnMVmcuuakaKDC6_sAcs5lg9jq2yHSaIHRw4xcoS5XwvIykGPMUyAD-dXWFih_XFOKh7ea50hObFhghf3Dtvlo\u0026s=goy9eerBTjMHvcur-bMcqcVxjhyySLlXmGUc8C2rnfQi5tbqPlv322ae84APru-G_0zvBg172f3IH0x7nSagj2Sbm4F-i0nRHfspqX7tARtzoUUqKutkR8b_-Ys2LtvCN9CWbvRJCvbeZLNXHf2wDh2XqHqIg2r-tGIdZytx5YSVWOD02kbeckmHGpqrcDVw8r31W5NMwZ5qJmOnuhMQgU8t5_-BHwT9y4Mur8ahvtuRjXx7a905SDywJX3mhBP1oTfro3zdDowPt_DdVXRN6oYGavsLDv9H2qssmXlZ5zjMs1cxwUes5M3Tv6mSx5sK40_b_h6dIBmKNmLzSwTERA\u0026h=HrB4FR6LZIdiRYxPVvvX9AKYSr3xq_xtGUuvBN0XaCg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], + "x-ms-client-request-id": [ "32792fb6-f478-47fe-91de-de8a655be3ee" ], "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], "FullCommandName": [ "Test-AzActionGroup_CreateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-ActivityId": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], - "Access-Control-Expose-Headers": [ "x-activityid" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], - "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], - "x-ms-request-id": [ "6cd04047-c67e-45b5-b9d9-b05785441f9a" ], - "x-ms-correlation-request-id": [ "6cd04047-c67e-45b5-b9d9-b05785441f9a" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054227Z:6cd04047-c67e-45b5-b9d9-b05785441f9a" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:42:26 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "558" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"InProgress\",\"completedTime\":\"0001-01-01T00:00:00+00:00\",\"createdTime\":\"2023-11-08T05:40:54.9901662+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"InProgress\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:41:00.8749313+00:00\",\"Message\":null},{\"MechanismType\":\"Sms\",\"Name\":\"smsreceiver\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:40:57.1860104+00:00\",\"Message\":null}]}", - "isContentBase64": false - } - }, - "Test-AzActionGroup+[NoContext]+CreateViaIdentityExpanded+$GET+https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet/notificationStatus/11000010774687?api-version=2023-01-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], - "CommandName": [ "Az.ActionGroup.internal\\Test-AzActionGroup" ], - "FullCommandName": [ "Test-AzActionGroup_CreateViaIdentityExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ] + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ] }, "ContentHeaders": { } @@ -472,26 +294,27 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "1bcdf092-2176-4f42-b624-ec4a1d28c8b0" ], + "X-ActivityId": [ "32792fb6-f478-47fe-91de-de8a655be3ee" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS00000A" ], "api-supported-versions": [ "2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], - "x-ms-request-id": [ "6d87371d-5cbe-4180-8467-81f3897e4108" ], - "x-ms-correlation-request-id": [ "6d87371d-5cbe-4180-8467-81f3897e4108" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054258Z:6d87371d-5cbe-4180-8467-81f3897e4108" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "f0601773-d518-4a0d-ad83-a6c03ad9f704" ], + "x-ms-correlation-request-id": [ "f0601773-d518-4a0d-ad83-a6c03ad9f704" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085130Z:f0601773-d518-4a0d-ad83-a6c03ad9f704" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:42:57 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 92BF81CA2C0D48D7BA8CE5773CC0CA1E Ref B: MAA201060514051 Ref C: 2024-02-04T08:51:28Z" ], + "Date": [ "Sun, 04 Feb 2024 08:51:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "563" ], + "Content-Length": [ "554" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"Complete\",\"completedTime\":\"2023-11-08T05:42:36.9173926+00:00\",\"createdTime\":\"2023-11-08T05:40:54.9901662+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:41:00.8749313+00:00\",\"Message\":null},{\"MechanismType\":\"Sms\",\"Name\":\"smsreceiver\",\"Status\":\"Succeeded\",\"SubState\":\"Default\",\"SendTime\":\"2023-11-08T05:40:57.1860104+00:00\",\"Message\":null}]}", + "Content": "{\"context\":{\"notificationSource\":\"Microsoft.Insights/TestNotification\",\"contextIdType\":\"Microsoft.Insights/ServiceHealth\"},\"state\":\"Complete\",\"completedTime\":\"2024-02-04T08:51:24.9618013+00:00\",\"createdTime\":\"2024-02-04T08:50:24.664503+00:00\",\"actionDetails\":[{\"MechanismType\":\"Email\",\"Name\":\"emailreceiver1\",\"Status\":\"Succeeded\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:50:25.0377427+00:00\",\"Message\":null},{\"MechanismType\":\"Sms\",\"Name\":\"smsreceiver\",\"Status\":\"Succeeded\",\"SubState\":null,\"SendTime\":\"2024-02-04T08:50:24.9752471+00:00\",\"Message\":null}]}", "isContentBase64": false } } diff --git a/src/Monitor/ActionGroup.Autorest/test/Update-AzActionGroup.Recording.json b/src/Monitor/ActionGroup.Autorest/test/Update-AzActionGroup.Recording.json index 6017914b7fd2..ae1ce1298fc3 100644 --- a/src/Monitor/ActionGroup.Autorest/test/Update-AzActionGroup.Recording.json +++ b/src/Monitor/ActionGroup.Autorest/test/Update-AzActionGroup.Recording.json @@ -6,12 +6,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "9c84147c-ec84-490c-92b1-243c60f443b8" ], + "x-ms-unique-id": [ "26" ], + "x-ms-client-request-id": [ "9000d11b-7c9c-45d3-b52a-7d451fbdf9a6" ], "CommandName": [ "Update-AzActionGroup" ], "FullCommandName": [ "Update-AzActionGroup_UpdateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,19 +22,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "9c84147c-ec84-490c-92b1-243c60f443b8" ], + "X-ActivityId": [ "9000d11b-7c9c-45d3-b52a-7d451fbdf9a6" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000009" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "242" ], - "x-ms-request-id": [ "701acc36-c3ca-4ad4-97f2-ab0d925c92b6" ], - "x-ms-correlation-request-id": [ "701acc36-c3ca-4ad4-97f2-ab0d925c92b6" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054259Z:701acc36-c3ca-4ad4-97f2-ab0d925c92b6" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "9e05b878-68d0-4010-aeef-7b0eabe042c0" ], + "x-ms-correlation-request-id": [ "9e05b878-68d0-4010-aeef-7b0eabe042c0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085132Z:9e05b878-68d0-4010-aeef-7b0eabe042c0" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:42:58 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 435428C0184C43299EA3B4F79BE20F2E Ref B: MAA201060514051 Ref C: 2024-02-04T08:51:30Z" ], + "Date": [ "Sun, 04 Feb 2024 08:51:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "777" ], @@ -49,13 +50,13 @@ "Request": { "Method": "PUT", "RequestUri": "https://management.azure.com/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/Monitor-ActionGroup/providers/Microsoft.Insights/actionGroups/actiongroupGet?api-version=2023-01-01", - "Content": "{\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"groupShortName\": \"ag1\",\r\n \"enabled\": false,\r\n \"emailReceivers\": [\r\n {\r\n \"name\": \"emailreceiver1\",\r\n \"emailAddress\": \"v-jiaji@microsoft.com\",\r\n \"useCommonAlertSchema\": false\r\n }\r\n ],\r\n \"smsReceivers\": [\r\n {\r\n \"name\": \"smsreceiver\",\r\n \"countryCode\": \"86\",\r\n \"phoneNumber\": \"18964587446\"\r\n }\r\n ],\r\n \"webhookReceivers\": [ ],\r\n \"itsmReceivers\": [ ],\r\n \"azureAppPushReceivers\": [ ],\r\n \"automationRunbookReceivers\": [ ],\r\n \"voiceReceivers\": [ ],\r\n \"logicAppReceivers\": [ ],\r\n \"azureFunctionReceivers\": [ ],\r\n \"armRoleReceivers\": [ ],\r\n \"eventHubReceivers\": [\r\n {\r\n \"name\": \"sample eventhub\",\r\n \"eventHubNameSpace\": \"Namespace1894859101\",\r\n \"eventHubName\": \"testEventHub452586681\",\r\n \"subscriptionId\": \"9e223dbe-3399-4e19-88eb-0975f02ac87f\"\r\n }\r\n ]\r\n }\r\n}", + "Content": "{\r\n \"location\": \"southcentralus\",\r\n \"properties\": {\r\n \"groupShortName\": \"ag1\",\r\n \"enabled\": false,\r\n \"emailReceivers\": [\r\n {\r\n \"name\": \"emailreceiver1\",\r\n \"emailAddress\": \"v-jiaji@microsoft.com\",\r\n \"useCommonAlertSchema\": false\r\n }\r\n ],\r\n \"smsReceivers\": [\r\n {\r\n \"name\": \"smsreceiver\",\r\n \"countryCode\": \"86\",\r\n \"phoneNumber\": \"18964587446\"\r\n }\r\n ],\r\n \"webhookReceivers\": [ ],\r\n \"itsmReceivers\": [ ],\r\n \"azureAppPushReceivers\": [ ],\r\n \"automationRunbookReceivers\": [ ],\r\n \"voiceReceivers\": [ ],\r\n \"logicAppReceivers\": [ ],\r\n \"azureFunctionReceivers\": [ ],\r\n \"armRoleReceivers\": [ ],\r\n \"eventHubReceivers\": [\r\n {\r\n \"name\": \"sample eventhub\",\r\n \"eventHubNameSpace\": \"Namespace20240204\",\r\n \"eventHubName\": \"testEventHub20240204\",\r\n \"subscriptionId\": \"9e223dbe-3399-4e19-88eb-0975f02ac87f\"\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "953" ] + "Content-Length": [ "950" ] } }, "Response": { @@ -63,26 +64,27 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "9c84147c-ec84-490c-92b1-243c60f443b8" ], + "X-ActivityId": [ "9000d11b-7c9c-45d3-b52a-7d451fbdf9a6" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS00000C" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "21" ], - "x-ms-request-id": [ "e2c5c78b-7bb2-4f2b-b623-e8596ef41b23" ], - "x-ms-correlation-request-id": [ "e2c5c78b-7bb2-4f2b-b623-e8596ef41b23" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054300Z:e2c5c78b-7bb2-4f2b-b623-e8596ef41b23" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "24" ], + "x-ms-request-id": [ "bed0408b-06ab-4c9e-b5a4-087a30167dba" ], + "x-ms-correlation-request-id": [ "bed0408b-06ab-4c9e-b5a4-087a30167dba" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085134Z:bed0408b-06ab-4c9e-b5a4-087a30167dba" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:42:59 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6D0C43713E524D75BCFF7E8EE5B41A98 Ref B: MAA201060514051 Ref C: 2024-02-04T08:51:32Z" ], + "Date": [ "Sun, 04 Feb 2024 08:51:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1019" ], + "Content-Length": [ "1016" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace1894859101\",\"eventHubName\":\"testEventHub452586681\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", + "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace20240204\",\"eventHubName\":\"testEventHub20240204\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", "isContentBase64": false } }, @@ -93,12 +95,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "47c14800-3168-4bc2-a4f2-b1b8db8116d4" ], + "x-ms-unique-id": [ "28" ], + "x-ms-client-request-id": [ "a1caa495-4b06-4fdd-917d-597b0ee9e650" ], "CommandName": [ "Get-AzActionGroup" ], "FullCommandName": [ "Get-AzActionGroup_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -109,26 +111,27 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "47c14800-3168-4bc2-a4f2-b1b8db8116d4" ], + "X-ActivityId": [ "a1caa495-4b06-4fdd-917d-597b0ee9e650" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS000007" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "241" ], - "x-ms-request-id": [ "c8051b63-d0f8-4b9d-a586-93782f69be43" ], - "x-ms-correlation-request-id": [ "c8051b63-d0f8-4b9d-a586-93782f69be43" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054301Z:c8051b63-d0f8-4b9d-a586-93782f69be43" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "98825080-1f79-47c0-bf95-4d09b1125067" ], + "x-ms-correlation-request-id": [ "98825080-1f79-47c0-bf95-4d09b1125067" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085136Z:98825080-1f79-47c0-bf95-4d09b1125067" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:43:00 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 82257616221746F69AFC067649845AA7 Ref B: MAA201060514051 Ref C: 2024-02-04T08:51:34Z" ], + "Date": [ "Sun, 04 Feb 2024 08:51:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1019" ], + "Content-Length": [ "1016" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace1894859101\",\"eventHubName\":\"testEventHub452586681\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", + "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace20240204\",\"eventHubName\":\"testEventHub20240204\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", "isContentBase64": false } }, @@ -139,12 +142,12 @@ "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "816f7f0f-1555-4417-9091-72b9e932d908" ], + "x-ms-unique-id": [ "29" ], + "x-ms-client-request-id": [ "3b0a944a-4bcf-47d8-ab41-cbacbdd1f74c" ], "CommandName": [ "Update-AzActionGroup" ], "FullCommandName": [ "Update-AzActionGroup_UpdateViaIdentityExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.9", "Az.ActionGroup/0.1.0" ], + "User-Agent": [ "AzurePowershell/v10.1.0", "PSVersion/v7.3.11", "Az.ActionGroup/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -155,26 +158,27 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "816f7f0f-1555-4417-9091-72b9e932d908" ], + "X-ActivityId": [ "3b0a944a-4bcf-47d8-ab41-cbacbdd1f74c" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN2AZNS000003" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "240" ], - "x-ms-request-id": [ "96fdb999-30bb-47f3-b962-0cec0000b350" ], - "x-ms-correlation-request-id": [ "96fdb999-30bb-47f3-b962-0cec0000b350" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054302Z:96fdb999-30bb-47f3-b962-0cec0000b350" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "249" ], + "x-ms-request-id": [ "955af42a-58e2-439a-8f86-fecf8070f58c" ], + "x-ms-correlation-request-id": [ "955af42a-58e2-439a-8f86-fecf8070f58c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085137Z:955af42a-58e2-439a-8f86-fecf8070f58c" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:43:01 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 318235AB23D246C6B5C9B72C0E065443 Ref B: MAA201060514051 Ref C: 2024-02-04T08:51:36Z" ], + "Date": [ "Sun, 04 Feb 2024 08:51:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1019" ], + "Content-Length": [ "1016" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace1894859101\",\"eventHubName\":\"testEventHub452586681\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", + "Content": "{\"id\":\"/subscriptions/9E223DBE-3399-4E19-88EB-0975F02AC87F/resourceGroups/Monitor-ActionGroup/providers/microsoft.insights/actionGroups/actiongroupGet\",\"type\":\"Microsoft.Insights/ActionGroups\",\"name\":\"actiongroupGet\",\"location\":\"southcentralus\",\"kind\":null,\"tags\":null,\"properties\":{\"groupShortName\":\"ag1\",\"enabled\":false,\"emailReceivers\":[{\"name\":\"emailreceiver1\",\"emailAddress\":\"v-jiaji@microsoft.com\",\"useCommonAlertSchema\":false,\"status\":\"Enabled\"}],\"smsReceivers\":[{\"name\":\"smsreceiver\",\"countryCode\":\"86\",\"phoneNumber\":\"18964587446\",\"status\":\"Enabled\"}],\"webhookReceivers\":[],\"eventHubReceivers\":[{\"name\":\"sample eventhub\",\"subscriptionId\":\"9e223dbe-3399-4e19-88eb-0975f02ac87f\",\"eventHubNameSpace\":\"Namespace20240204\",\"eventHubName\":\"testEventHub20240204\",\"useCommonAlertSchema\":false,\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"}],\"itsmReceivers\":[],\"azureAppPushReceivers\":[],\"automationRunbookReceivers\":[],\"voiceReceivers\":[],\"logicAppReceivers\":[],\"azureFunctionReceivers\":[],\"armRoleReceivers\":[]}}", "isContentBase64": false } }, @@ -196,19 +200,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "X-ActivityId": [ "816f7f0f-1555-4417-9091-72b9e932d908" ], + "X-ActivityId": [ "3b0a944a-4bcf-47d8-ab41-cbacbdd1f74c" ], "Access-Control-Expose-Headers": [ "x-activityid" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Frame-Options": [ "SAMEORIGIN" ], - "X-ServedBy": [ "SN1AZNS000001" ], + "X-ServedBy": [ "SN1AZNS000003" ], "api-supported-versions": [ "2016-09-01-preview, 2017-03-01-preview, 2017-04-01, 2018-03-01, 2018-09-01, 2019-03-01, 2019-06-01, 2021-09-01, 2022-04-01, 2022-06-01, 2023-01-01, 2023-03-01-preview, 2023-05-01-preview, 2023-05-01, 2023-08-01-preview, 2023-09-01-preview" ], - "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "20" ], - "x-ms-request-id": [ "f9b75b73-fbb1-4c13-8c22-3d3021e0d778" ], - "x-ms-correlation-request-id": [ "f9b75b73-fbb1-4c13-8c22-3d3021e0d778" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20231108T054302Z:f9b75b73-fbb1-4c13-8c22-3d3021e0d778" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "24" ], + "x-ms-request-id": [ "4720834c-1c85-4c74-8b62-b7b9ed262f38" ], + "x-ms-correlation-request-id": [ "4720834c-1c85-4c74-8b62-b7b9ed262f38" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240204T085139Z:4720834c-1c85-4c74-8b62-b7b9ed262f38" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Wed, 08 Nov 2023 05:43:01 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: EFD46B7A6BBB4E398BC31F6F8BAE121E Ref B: MAA201060514051 Ref C: 2024-02-04T08:51:38Z" ], + "Date": [ "Sun, 04 Feb 2024 08:51:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "777" ], diff --git a/src/Monitor/ActionGroup.Autorest/test/env.json b/src/Monitor/ActionGroup.Autorest/test/env.json index c71a54cd93d7..fa82fa27ec21 100644 --- a/src/Monitor/ActionGroup.Autorest/test/env.json +++ b/src/Monitor/ActionGroup.Autorest/test/env.json @@ -1,17 +1,17 @@ { + "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", + "userphone": "18964587446", + "region": "northcentralus", "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "smsreceiver": "smsreceiver", + "emailreceiver1": "emailreceiver1", "phonecountry": "86", + "actiongroup1": "actiongroup1", + "emailreceiver2": "emailreceiver2", "actiongroup3": "actiongroup3", + "useremail": "v-jiaji@microsoft.com", + "EventHubNamespaceName": "Namespace20240204", "resourceGroup": "Monitor-ActionGroup", - "emailreceiver1": "emailreceiver1", - "emailreceiver2": "emailreceiver2", - "smsreceiver": "smsreceiver", "actiongroupname": "actiongroupGet", - "eventHubName": "testEventHub452586681", - "userphone": "18964587446", - "region": "northcentralus", - "actiongroup1": "actiongroup1", - "SubscriptionId": "9e223dbe-3399-4e19-88eb-0975f02ac87f", - "useremail": "v-jiaji@microsoft.com", - "EventHubNamespaceName": "Namespace1894859101" + "eventHubName": "testEventHub20240204" } diff --git a/src/Monitor/ActionGroup.Autorest/test/utils.ps1 b/src/Monitor/ActionGroup.Autorest/test/utils.ps1 index 828b4bdb99cd..f3a502080339 100644 --- a/src/Monitor/ActionGroup.Autorest/test/utils.ps1 +++ b/src/Monitor/ActionGroup.Autorest/test/utils.ps1 @@ -66,9 +66,9 @@ function setupEnv() { $env.actiongroup1 = 'actiongroup1' $env.actiongroup3 = 'actiongroup3' - $env.EventHubNamespaceName = "Namespace$(Get-Random)" - New-AzEventHubNamespace -ResourceGroupName $env.resourceGroup -NamespaceName $env.EventHubNamespaceName -Location $env.region - $env.eventHubName = "testEventHub$(Get-Random)" + $env.EventHubNamespaceName = "Namespace20240204" + New-AzEventHubNamespace -ResourceGroupName $env.resourceGroup -Name $env.EventHubNamespaceName -Location $env.region + $env.eventHubName = "testEventHub20240204" New-AzEventHub -ResourceGroupName $env.resourceGroup -NamespaceName $env.EventHubNamespaceName -EventHubName $env.eventHubName Write-Host "create test event hub namespace" $env.EventHubNamespaceName Write-Host "create test event hub" $env.eventHubName @@ -76,7 +76,7 @@ function setupEnv() { Write-Host "Start to create test action group" $env.actiongroupname $email1 = New-AzActionGroupEmailReceiverObject -EmailAddress $env.useremail -Name $env.emailreceiver1 $sms1 = New-AzActionGroupSmsReceiverObject -CountryCode $env.phonecountry -Name $env.smsreceiver -PhoneNumber $env.userphone - $ag = New-AzActionGroup -Name $env.actiongroupname -ResourceGroupName $env.resourceGroup -Location southcentralus -EmailReceiver $email1 -SmsReceiver $sms1 -ShortName ag1 + New-AzActionGroup -Name $env.actiongroupname -ResourceGroupName $env.resourceGroup -Location southcentralus -EmailReceiver $email1 -SmsReceiver $sms1 -ShortName ag1 # For any resources you created for test, you should add it to $env here. $envFile = 'env.json' @@ -88,5 +88,6 @@ function setupEnv() { function cleanupEnv() { # Clean resources you create for testing Remove-AzActionGroup -Name 'actiongroupGet' -ResourceGroupName 'Monitor-ActionGroup' + Remove-AzEventHubNamespace -ResourceGroupName 'Monitor-ActionGroup' -Name "Namespace20240204" } diff --git a/src/Monitor/DataCollectionRule.Autorest/README.md b/src/Monitor/DataCollectionRule.Autorest/README.md index cd609753156f..f1d2f5f4686a 100644 --- a/src/Monitor/DataCollectionRule.Autorest/README.md +++ b/src/Monitor/DataCollectionRule.Autorest/README.md @@ -46,15 +46,66 @@ title: DataCollectionRule module-version: 0.1.0 namespace: Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection subject-prefix: '' -resourcegroup-append: true -nested-object-to-string: true - directive: + # custom required body + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}"].put.parameters + transform: >- + return [ + { + "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4f4044394791773e6e7e82a9bd90d3935caaca1b/specification/common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4f4044394791773e6e7e82a9bd90d3935caaca1b/specification/common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DataCollectionRuleNameParameter" + }, + { + "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4f4044394791773e6e7e82a9bd90d3935caaca1b/specification/common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The payload", + "required": true, + "schema": { + "$ref": "#/definitions/DataCollectionRuleResource" + } + } + ] + - from: swagger-document + where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}"].put.parameters + transform: >- + return [ + { + "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4f4044394791773e6e7e82a9bd90d3935caaca1b/specification/common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4f4044394791773e6e7e82a9bd90d3935caaca1b/specification/common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/DataCollectionEndpointNameParameter" + }, + { + "$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4f4044394791773e6e7e82a9bd90d3935caaca1b/specification/common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "in": "body", + "name": "body", + "description": "The payload", + "required": true, + "schema": { + "$ref": "#/definitions/DataCollectionEndpointResource" + } + } + ] + # remove tag patch, add resource put by autorest - remove-operation: DataCollectionRules_Update -# # Following is two common directive which are normally required in all the RPs -# # 1. Remove the unexpanded parameter set -# # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well + # Following is two common directive which are normally required in all the RPs + # 1. Remove the unexpanded parameter set + # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well - where: variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^UpdateViaJsonFilePath$|^UpdateViaJsonString$ remove: true @@ -99,7 +150,7 @@ directive: set: alias: EndpointName # model cmdlet - - from: dataCollectionRules_API.json + - from: swagger-document where: $.definitions.ExtensionDataSource.properties.extensionSettings transform: >- return {