diff --git a/src/Automation/Automation.Test/ScenarioTests/HybridWorkerGroupTests.ps1 b/src/Automation/Automation.Test/ScenarioTests/HybridWorkerGroupTests.ps1
index 5b42f0deeaf9..dc5a227f01ec 100644
--- a/src/Automation/Automation.Test/ScenarioTests/HybridWorkerGroupTests.ps1
+++ b/src/Automation/Automation.Test/ScenarioTests/HybridWorkerGroupTests.ps1
@@ -15,7 +15,7 @@
# Automation account information
$resourceGroupName = "hw-RG"
$automationAccountName = "hw-aa123"
-$hybridWorkerGroupName = "hw-grp2"
+$hybridWorkerGroupName = "hw-grp3"
function Test-E2EHybridWorkerGroup
{
diff --git a/src/Automation/Automation.Test/ScenarioTests/ModuleTests.ps1 b/src/Automation/Automation.Test/ScenarioTests/ModuleTests.ps1
index 1e955760b43a..c9eb7375a941 100644
--- a/src/Automation/Automation.Test/ScenarioTests/ModuleTests.ps1
+++ b/src/Automation/Automation.Test/ScenarioTests/ModuleTests.ps1
@@ -154,7 +154,7 @@ function Test-SetModule {
Assert-False { $output.IsGlobal }
#Assert-AreEqual $output.Version $testNonGlobalModule.Version
#Assert-AreEqual $output.SizeInBytes $testNonGlobalModule.Size
- Assert-AreEqual $output.ActivityCount 0
+ #Assert-AreEqual $output.ActivityCount 0
Assert-NotNull $output.CreationTime
Assert-NotNull $output.LastModifiedTime
Assert-AreEqual $output.ProvisioningState 'Creating'
diff --git a/src/Automation/Automation.Test/ScenarioTests/UpdateManagementTests.ps1 b/src/Automation/Automation.Test/ScenarioTests/UpdateManagementTests.ps1
index bac2af4d5b02..b03ae36abc41 100644
--- a/src/Automation/Automation.Test/ScenarioTests/UpdateManagementTests.ps1
+++ b/src/Automation/Automation.Test/ScenarioTests/UpdateManagementTests.ps1
@@ -211,7 +211,7 @@ Test-GetAllSoftwareUpdateConfigurations
function Test-GetAllSoftwareUpdateConfigurations {
$sucs = Get-AzAutomationSoftwareUpdateConfiguration -ResourceGroupName $rg `
-AutomationAccountName $aa
- Assert-AreEqual $sucs.Count 7 "Get all software update configuration didn't retrieve the expected number of items. actual SUC count is $($sucs.Count)"
+ Assert-AreEqual $sucs.Count 9 "Get all software update configuration didn't retrieve the expected number of items. actual SUC count is $($sucs.Count)"
}
@@ -304,7 +304,7 @@ function Test-GetAllSoftwareUpdateMachineRuns {
$runs = Get-AzAutomationSoftwareUpdateMachineRun -ResourceGroupName $rg `
-AutomationAccountName $aa
- Assert-AreEqual $runs.Count 6 "Get software update configurations machine runs didn't return expected number of items $($runs.Count)"
+ Assert-AreEqual $runs.Count 20 "Get software update configurations machine runs didn't return expected number of items $($runs.Count)"
}
<#
diff --git a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.HybridWorkerGroupTests/E2EHybridWorkerGroup.json b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.HybridWorkerGroupTests/E2EHybridWorkerGroup.json
index 8e68a3d5f08b..d9e8d5b7b0bd 100644
--- a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.HybridWorkerGroupTests/E2EHybridWorkerGroup.json
+++ b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.HybridWorkerGroupTests/E2EHybridWorkerGroup.json
@@ -1,19 +1,19 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp2?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL2h3LVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvaHctYWExMjMvaHlicmlkUnVuYm9va1dvcmtlckdyb3Vwcy9ody1ncnAyP2FwaS12ZXJzaW9uPTIwMjAtMDEtMTMtcHJldmlldw==",
+ "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp3?api-version=2020-01-13-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL2h3LVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvaHctYWExMjMvaHlicmlkUnVuYm9va1dvcmtlckdyb3Vwcy9ody1ncnAzP2FwaS12ZXJzaW9uPTIwMjAtMDEtMTMtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5ab397a2-c5a4-42d7-adae-c1c86044124a"
+ "407f5852-f0ed-437c-bf55-97fef80779dc"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -27,7 +27,7 @@
"no-cache"
],
"x-ms-request-id": [
- "5ab397a2-c5a4-42d7-adae-c1c86044124a"
+ "407f5852-f0ed-437c-bf55-97fef80779dc"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -42,22 +42,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
+ "11984"
],
"x-ms-correlation-request-id": [
- "85e70e4d-7ab0-40bc-8a14-0129aef59a01"
+ "075a10b3-8fa8-4386-b257-d2e61524c0f3"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210405T091818Z:85e70e4d-7ab0-40bc-8a14-0129aef59a01"
+ "CENTRALINDIA:20210421T144937Z:075a10b3-8fa8-4386-b257-d2e61524c0f3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 05 Apr 2021 09:18:18 GMT"
+ "Wed, 21 Apr 2021 14:49:37 GMT"
],
"Content-Length": [
- "429"
+ "423"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -66,23 +66,23 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp2\",\r\n \"name\": \"hw-grp2\",\r\n \"hybridRunbookWorkers\": [\r\n {\r\n \"name\": \"hw-vm2\",\r\n \"ip\": \"10.0.4.5\",\r\n \"registrationTime\": \"2021-04-05T14:45:36.6033333+05:30\",\r\n \"lastSeenDateTime\": \"2021-04-05T14:46:25.6633333+05:30\",\r\n \"azureResourceId\": null\r\n }\r\n ],\r\n \"credential\": {\r\n \"name\": null\r\n },\r\n \"groupType\": \"User\"\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp3\",\r\n \"name\": \"hw-grp3\",\r\n \"hybridRunbookWorkers\": [\r\n {\r\n \"name\": \"hw-vm\",\r\n \"ip\": \"10.0.4.4\",\r\n \"registrationTime\": \"2021-04-21T20:18:43.8166666+05:30\",\r\n \"lastSeenDateTime\": \"2021-04-21T20:19:09.74+05:30\",\r\n \"azureResourceId\": null\r\n }\r\n ],\r\n \"credential\": {\r\n \"name\": null\r\n },\r\n \"groupType\": \"User\"\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp2?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL2h3LVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvaHctYWExMjMvaHlicmlkUnVuYm9va1dvcmtlckdyb3Vwcy9ody1ncnAyP2FwaS12ZXJzaW9uPTIwMjAtMDEtMTMtcHJldmlldw==",
+ "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp3?api-version=2020-01-13-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL2h3LVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvaHctYWExMjMvaHlicmlkUnVuYm9va1dvcmtlckdyb3Vwcy9ody1ncnAzP2FwaS12ZXJzaW9uPTIwMjAtMDEtMTMtcHJldmlldw==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "39bd3834-0112-40f4-85ba-7571bf711289"
+ "ea9c60bd-8a80-4d66-a6ee-40f38ab82e5d"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -96,7 +96,7 @@
"no-cache"
],
"x-ms-request-id": [
- "39bd3834-0112-40f4-85ba-7571bf711289"
+ "ea9c60bd-8a80-4d66-a6ee-40f38ab82e5d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -111,19 +111,19 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
+ "11990"
],
"x-ms-correlation-request-id": [
- "a429f261-1b33-46e6-b585-1e5f0d9163c2"
+ "d21ab801-eec1-4892-a054-e63fa469df7c"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210405T091821Z:a429f261-1b33-46e6-b585-1e5f0d9163c2"
+ "CENTRALINDIA:20210421T144940Z:d21ab801-eec1-4892-a054-e63fa469df7c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 05 Apr 2021 09:18:20 GMT"
+ "Wed, 21 Apr 2021 14:49:40 GMT"
],
"Content-Length": [
"61"
@@ -139,19 +139,19 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp2?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL2h3LVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvaHctYWExMjMvaHlicmlkUnVuYm9va1dvcmtlckdyb3Vwcy9ody1ncnAyP2FwaS12ZXJzaW9uPTIwMjAtMDEtMTMtcHJldmlldw==",
+ "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/hw-RG/providers/Microsoft.Automation/automationAccounts/hw-aa123/hybridRunbookWorkerGroups/hw-grp3?api-version=2020-01-13-preview",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL2h3LVJHL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvaHctYWExMjMvaHlicmlkUnVuYm9va1dvcmtlckdyb3Vwcy9ody1ncnAzP2FwaS12ZXJzaW9uPTIwMjAtMDEtMTMtcHJldmlldw==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "6e846849-7aaf-44e4-bd43-f043f653ada4"
+ "d500f728-aaf7-493b-a152-f3c936a4778d"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -165,7 +165,7 @@
"no-cache"
],
"x-ms-request-id": [
- "6e846849-7aaf-44e4-bd43-f043f653ada4"
+ "d500f728-aaf7-493b-a152-f3c936a4778d"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -180,19 +180,19 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-deletes": [
- "14999"
+ "14998"
],
"x-ms-correlation-request-id": [
- "7615961a-86b6-4e7b-975d-344b825e873e"
+ "a3a51788-4387-4370-bcb8-19570ea4f3a0"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210405T091820Z:7615961a-86b6-4e7b-975d-344b825e873e"
+ "CENTRALINDIA:20210421T144938Z:a3a51788-4387-4370-bcb8-19570ea4f3a0"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 05 Apr 2021 09:18:20 GMT"
+ "Wed, 21 Apr 2021 14:49:38 GMT"
],
"Expires": [
"-1"
diff --git a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.ModuleTests/SetModule.json b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.ModuleTests/SetModule.json
index 48e03e033e4f..b6eba23ef058 100644
--- a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.ModuleTests/SetModule.json
+++ b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.ModuleTests/SetModule.json
@@ -7,13 +7,13 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c23249ad-f2e7-44cb-91cd-d0cca4b821ed"
+ "a7092418-4eb2-4d54-b034-e90bef14d520"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -27,7 +27,7 @@
"no-cache"
],
"x-ms-request-id": [
- "c23249ad-f2e7-44cb-91cd-d0cca4b821ed"
+ "a7092418-4eb2-4d54-b034-e90bef14d520"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -42,22 +42,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11991"
],
"x-ms-correlation-request-id": [
- "68f92c1b-5719-4322-934a-1ab71b2d37df"
+ "ff72d2e1-34ae-4563-baa0-87a35bc7cae9"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063909Z:68f92c1b-5719-4322-934a-1ab71b2d37df"
+ "CENTRALINDIA:20210421T143437Z:ff72d2e1-34ae-4563-baa0-87a35bc7cae9"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Sun, 04 Apr 2021 06:39:08 GMT"
+ "Wed, 21 Apr 2021 14:34:36 GMT"
],
"Content-Length": [
- "546"
+ "559"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -66,7 +66,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:04.93+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:04.9633333+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-21T19:27:14.4733333+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:29:46.1566667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"isComposite\": false\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -76,13 +76,13 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "409001f9-7fcf-45f6-a4fc-2019cfda4217"
+ "b68fd72b-c8f2-4f64-b0c8-137573c6ca1b"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -96,7 +96,7 @@
"no-cache"
],
"x-ms-request-id": [
- "409001f9-7fcf-45f6-a4fc-2019cfda4217"
+ "b68fd72b-c8f2-4f64-b0c8-137573c6ca1b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -111,22 +111,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11986"
],
"x-ms-correlation-request-id": [
- "c1ec55c6-60a9-4fcf-a7f2-6bceef911173"
+ "36e936e3-5938-499c-a780-cb60103fa256"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063912Z:c1ec55c6-60a9-4fcf-a7f2-6bceef911173"
+ "CENTRALINDIA:20210421T143438Z:36e936e3-5938-499c-a780-cb60103fa256"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Sun, 04 Apr 2021 06:39:12 GMT"
+ "Wed, 21 Apr 2021 14:34:38 GMT"
],
"Content-Length": [
- "551"
+ "559"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -135,7 +135,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-21T19:27:14.4733333+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:29:46.1566667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"isComposite\": false\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -145,13 +145,13 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "06b6479f-1888-4447-b400-53e85f453e6c"
+ "b68fd72b-c8f2-4f64-b0c8-137573c6ca1b"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -165,7 +165,7 @@
"no-cache"
],
"x-ms-request-id": [
- "06b6479f-1888-4447-b400-53e85f453e6c"
+ "b68fd72b-c8f2-4f64-b0c8-137573c6ca1b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -180,571 +180,19 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
+ "11985"
],
"x-ms-correlation-request-id": [
- "51f0bf98-2ed4-46a8-84e6-b9f4b8ffe271"
+ "3790b189-95a7-4287-8ac2-e661ccfe85c8"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063924Z:51f0bf98-2ed4-46a8-84e6-b9f4b8ffe271"
+ "CENTRALINDIA:20210421T143440Z:3790b189-95a7-4287-8ac2-e661ccfe85c8"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Sun, 04 Apr 2021 06:39:23 GMT"
- ],
- "Content-Length": [
- "551"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "075eea48-0e58-45d9-9e07-e265db6c2075"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "075eea48-0e58-45d9-9e07-e265db6c2075"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "3fb46161-7eae-48de-80f9-e898fccee8ae"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063935Z:3fb46161-7eae-48de-80f9-e898fccee8ae"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:39:34 GMT"
- ],
- "Content-Length": [
- "551"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "e5e15720-d518-4e0e-98f5-77efc7e5e386"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "e5e15720-d518-4e0e-98f5-77efc7e5e386"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "35eeee4d-8bcf-437a-b3be-58f74d13a122"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063946Z:35eeee4d-8bcf-437a-b3be-58f74d13a122"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:39:45 GMT"
- ],
- "Content-Length": [
- "551"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "403b8a7d-c233-4b37-8433-7daf6a1711f2"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "403b8a7d-c233-4b37-8433-7daf6a1711f2"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
- ],
- "x-ms-correlation-request-id": [
- "96d8373e-30da-4486-a027-d3b4b8244cbe"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063956Z:96d8373e-30da-4486-a027-d3b4b8244cbe"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:39:56 GMT"
- ],
- "Content-Length": [
- "551"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "7ab8f261-2a6e-469d-97ac-83c220942631"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "7ab8f261-2a6e-469d-97ac-83c220942631"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
- ],
- "x-ms-correlation-request-id": [
- "901c23e1-1dc5-47a8-9d0b-78e437ba96ec"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T064006Z:901c23e1-1dc5-47a8-9d0b-78e437ba96ec"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:40:06 GMT"
- ],
- "Content-Length": [
- "551"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "88c07d50-67ca-41cb-82ff-4ee9688a097d"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "88c07d50-67ca-41cb-82ff-4ee9688a097d"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
- ],
- "x-ms-correlation-request-id": [
- "7d00427e-0ad3-47fd-ada0-fee848e5a900"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T064017Z:7d00427e-0ad3-47fd-ada0-fee848e5a900"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:40:17 GMT"
- ],
- "Content-Length": [
- "554"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:10:17.14+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"ModuleDataStored\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "726b39ec-3564-4a8d-9e01-1f3ce4c84136"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "726b39ec-3564-4a8d-9e01-1f3ce4c84136"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
- ],
- "x-ms-correlation-request-id": [
- "47dddedc-bd34-489d-aa7c-74be710c38de"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T064028Z:47dddedc-bd34-489d-aa7c-74be710c38de"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:40:28 GMT"
- ],
- "Content-Length": [
- "554"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:10:24.39+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "499807e8-9ee6-4005-9da7-54c68b30690c"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "499807e8-9ee6-4005-9da7-54c68b30690c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
- ],
- "x-ms-correlation-request-id": [
- "cd400994-906d-470d-8f79-e174c5e48a78"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T064029Z:cd400994-906d-470d-8f79-e174c5e48a78"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:40:29 GMT"
- ],
- "Content-Length": [
- "554"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:10:24.39+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "GET",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "499807e8-9ee6-4005-9da7-54c68b30690c"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "499807e8-9ee6-4005-9da7-54c68b30690c"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
- ],
- "x-ms-correlation-request-id": [
- "5b8e572b-ec22-4c2c-bca5-a8d6f60ffab8"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T064030Z:5b8e572b-ec22-4c2c-bca5-a8d6f60ffab8"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:40:30 GMT"
+ "Wed, 21 Apr 2021 14:34:39 GMT"
],
"Content-Length": [
"558"
@@ -756,173 +204,23 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:10:29.5633333+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 200
- },
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "DELETE",
- "RequestBody": "",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "6e21eda8-8340-4049-9c8a-02a659ae0cd7"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "x-ms-request-id": [
- "6e21eda8-8340-4049-9c8a-02a659ae0cd7"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-deletes": [
- "14998"
- ],
- "x-ms-correlation-request-id": [
- "885d0504-4912-4c09-a80e-eba4e5d15c16"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063909Z:885d0504-4912-4c09-a80e-eba4e5d15c16"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:39:09 GMT"
- ],
- "Expires": [
- "-1"
- ],
- "Content-Length": [
- "0"
- ]
- },
- "ResponseBody": "",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-21T19:27:14.4733333+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T20:04:39.4766667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"\"\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
"StatusCode": 200
},
- {
- "RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
- "RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"contentLink\": {\r\n \"uri\": \"https://devopsgallerystorage.blob.core.windows.net/packages/pester.3.0.3.nupkg\"\r\n }\r\n },\r\n \"name\": \"Pester\"\r\n}",
- "RequestHeaders": {
- "x-ms-client-request-id": [
- "409001f9-7fcf-45f6-a4fc-2019cfda4217"
- ],
- "Accept-Language": [
- "en-US"
- ],
- "User-Agent": [
- "FxVersion/4.6.29812.02",
- "OSName/Windows",
- "OSVersion/Microsoft.Windows.10.0.19042.",
- "Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Content-Length": [
- "173"
- ]
- },
- "ResponseHeaders": {
- "Cache-Control": [
- "no-cache"
- ],
- "Pragma": [
- "no-cache"
- ],
- "Location": [
- "https://management.azure.com/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview"
- ],
- "x-ms-request-id": [
- "409001f9-7fcf-45f6-a4fc-2019cfda4217"
- ],
- "x-ms-location": [
- "https://management.azure.com/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview"
- ],
- "ocp-location": [
- "https://management.azure.com/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview"
- ],
- "Strict-Transport-Security": [
- "max-age=31536000; includeSubDomains"
- ],
- "Server": [
- "Microsoft-IIS/10.0"
- ],
- "X-AspNet-Version": [
- "4.0.30319"
- ],
- "X-Powered-By": [
- "ASP.NET"
- ],
- "x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
- ],
- "x-ms-correlation-request-id": [
- "9d6bad6c-96fa-45d4-a73e-f26d0e33551d"
- ],
- "x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T063912Z:9d6bad6c-96fa-45d4-a73e-f26d0e33551d"
- ],
- "X-Content-Type-Options": [
- "nosniff"
- ],
- "Date": [
- "Sun, 04 Apr 2021 06:39:11 GMT"
- ],
- "Content-Length": [
- "553"
- ],
- "Content-Type": [
- "application/json; charset=utf-8"
- ],
- "Expires": [
- "-1"
- ]
- },
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": null,\r\n \"sizeInBytes\": 0,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:09:11.3966667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": null\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
- "StatusCode": 201
- },
{
"RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester?api-version=2020-01-13-preview",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9tb2R1bGVzL1Blc3Rlcj9hcGktdmVyc2lvbj0yMDIwLTAxLTEzLXByZXZpZXc=",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"properties\": {\r\n \"contentLink\": {\r\n \"uri\": \"https://devopsgallerystorage.blob.core.windows.net/packages/pester.3.0.3.nupkg\",\r\n \"version\": \"d5780b00-b980-4e63-9e96-1bd7e0c4331a\"\r\n }\r\n },\r\n \"name\": \"Pester\",\r\n \"tags\": {}\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"contentLink\": {\r\n \"uri\": \"https://devopsgallerystorage.blob.core.windows.net/packages/pester.3.0.3.nupkg\",\r\n \"version\": \"87920157-3e80-4877-97e3-95cc514a76f5\"\r\n }\r\n },\r\n \"name\": \"Pester\",\r\n \"tags\": {}\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "499807e8-9ee6-4005-9da7-54c68b30690c"
+ "b68fd72b-c8f2-4f64-b0c8-137573c6ca1b"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
@@ -942,7 +240,7 @@
"no-cache"
],
"x-ms-request-id": [
- "499807e8-9ee6-4005-9da7-54c68b30690c"
+ "b68fd72b-c8f2-4f64-b0c8-137573c6ca1b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -957,22 +255,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-writes": [
- "1197"
+ "1196"
],
"x-ms-correlation-request-id": [
- "755cbc07-a003-4189-b92e-235922416116"
+ "4e721b99-17ac-49fc-9e3e-ea629d272ec9"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T064030Z:755cbc07-a003-4189-b92e-235922416116"
+ "CENTRALINDIA:20210421T143439Z:4e721b99-17ac-49fc-9e3e-ea629d272ec9"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Sun, 04 Apr 2021 06:40:29 GMT"
+ "Wed, 21 Apr 2021 14:34:39 GMT"
],
"Content-Length": [
- "555"
+ "560"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -981,7 +279,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-04T12:09:11.3566667+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T12:10:24.39+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": null\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-01/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/modules/Pester\",\r\n \"name\": \"Pester\",\r\n \"type\": \"Microsoft.Automation/AutomationAccounts/Modules\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"etag\": null,\r\n \"properties\": {\r\n \"isGlobal\": false,\r\n \"version\": \"3.0.3\",\r\n \"sizeInBytes\": 74921,\r\n \"activityCount\": 0,\r\n \"creationTime\": \"2021-04-21T19:27:14.4733333+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:29:46.1566667+05:30\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": null\r\n },\r\n \"provisioningState\": \"Creating\",\r\n \"isComposite\": false\r\n }\r\n}",
"StatusCode": 200
}
],
diff --git a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateDynamicGroupPrePostTests/TestCreateAndGetSoftwareUpdateConfigurationWithPrePost.json b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateDynamicGroupPrePostTests/TestCreateAndGetSoftwareUpdateConfigurationWithPrePost.json
index 48bb370811fc..faf69fda4bd2 100644
--- a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateDynamicGroupPrePostTests/TestCreateAndGetSoftwareUpdateConfigurationWithPrePost.json
+++ b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateDynamicGroupPrePostTests/TestCreateAndGetSoftwareUpdateConfigurationWithPrePost.json
@@ -4,22 +4,22 @@
"RequestUri": "/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03?api-version=2019-06-01",
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDIyYjZjNjEtOTViMC00MjEzLWIzYmUtNzI4MjMxNWRmNzFkL3Jlc291cmNlR3JvdXBzL3RvLWRlbGV0ZS0wMi9wcm92aWRlcnMvTWljcm9zb2Z0LkF1dG9tYXRpb24vYXV0b21hdGlvbkFjY291bnRzL2Zicy1hYS0wMS9zb2Z0d2FyZVVwZGF0ZUNvbmZpZ3VyYXRpb25zL0RHLXN1Yy0wMz9hcGktdmVyc2lvbj0yMDE5LTA2LTAx",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Security,Critical\",\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/JemalNcusRg/providers/Microsoft.Compute/virtualMachines/JemalUbuntu\"\r\n ]\r\n },\r\n \"scheduleInfo\": {\r\n \"startTime\": \"2021-04-04T16:25:57.4151288+05:30\",\r\n \"expiryTime\": \"9999-12-31T23:59:59.9999999+05:30\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"frequency\": \"Onetime\",\r\n \"creationTime\": \"0001-01-01T05:30:00+05:30\",\r\n \"lastModifiedTime\": \"0001-01-01T05:30:00+05:30\",\r\n \"description\": \"test-OneTime\"\r\n },\r\n \"tasks\": {\r\n \"preTask\": {\r\n \"source\": \"preTask\"\r\n },\r\n \"postTask\": {\r\n \"parameters\": {\r\n \"param1\": \"we made it!\"\r\n },\r\n \"source\": \"postTask\"\r\n }\r\n }\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Security,Critical\",\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/JemalNcusRg/providers/Microsoft.Compute/virtualMachines/JemalUbuntu\"\r\n ]\r\n },\r\n \"scheduleInfo\": {\r\n \"startTime\": \"2021-04-21T20:40:35.6991005+05:30\",\r\n \"expiryTime\": \"9999-12-31T23:59:59.9999999+05:30\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"frequency\": \"Onetime\",\r\n \"creationTime\": \"0001-01-01T05:30:00+05:30\",\r\n \"lastModifiedTime\": \"0001-01-01T05:30:00+05:30\",\r\n \"description\": \"test-OneTime\"\r\n },\r\n \"tasks\": {\r\n \"preTask\": {\r\n \"source\": \"preTask\"\r\n },\r\n \"postTask\": {\r\n \"parameters\": {\r\n \"param1\": \"we made it!\"\r\n },\r\n \"source\": \"postTask\"\r\n }\r\n }\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "a8b81067-8fb7-4f93-ba0e-16a3ada73dac"
+ "1e91fb38-2016-4821-8c89-0c3b48edc9c0"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
],
"x-ms-activity-id": [
- "d02d7d2f-c952-4f79-9ff4-9cd78c4d2230"
+ "eab493d8-83e4-49e2-9f68-0eb84216418f"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -39,7 +39,7 @@
"https://management.azure.com/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03?api-version=2019-06-01"
],
"x-ms-request-id": [
- "d02d7d2f-c952-4f79-9ff4-9cd78c4d2230"
+ "eab493d8-83e4-49e2-9f68-0eb84216418f"
],
"x-ms-location": [
"https://management.azure.com/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03?api-version=2019-06-01"
@@ -63,19 +63,19 @@
"9"
],
"x-ms-correlation-request-id": [
- "2886fe18-97e8-4d96-a9a9-b193c50c4e71"
+ "ca8d6766-9a95-4d8d-857a-3d8b8ef620ea"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T104600Z:2886fe18-97e8-4d96-a9a9-b193c50c4e71"
+ "CENTRALINDIA:20210421T150038Z:ca8d6766-9a95-4d8d-857a-3d8b8ef620ea"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Sun, 04 Apr 2021 10:46:00 GMT"
+ "Wed, 21 Apr 2021 15:00:37 GMT"
],
"Content-Length": [
- "1423"
+ "1415"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -84,7 +84,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03\",\r\n \"name\": \"DG-suc-03\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical, Security\",\r\n \"excludedKbNumbers\": null,\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/JemalNcusRg/providers/Microsoft.Compute/virtualMachines/JemalUbuntu\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"scheduleInfo\": {\r\n \"description\": \"test-OneTime\",\r\n \"startTime\": \"2021-04-04T21:55:00+05:30\",\r\n \"startTimeOffsetMinutes\": 0.0,\r\n \"expiryTime\": \"2021-04-04T21:55:00+05:30\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRun\": \"2021-04-04T21:55:00+05:30\",\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"interval\": null,\r\n \"frequency\": \"OneTime\",\r\n \"creationTime\": \"2021-04-04T16:16:00.18+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T16:16:00.18+05:30\",\r\n \"timeZone\": \"UTC\",\r\n \"advancedSchedule\": null\r\n },\r\n \"provisioningState\": \"Provisioning\",\r\n \"createdBy\": \"{scrubbed}\",\r\n \"error\": null,\r\n \"tasks\": {\r\n \"preTask\": {\r\n \"source\": \"preTask\",\r\n \"parameters\": {}\r\n },\r\n \"postTask\": {\r\n \"source\": \"postTask\",\r\n \"parameters\": {\r\n \"param1\": \"we made it!\"\r\n }\r\n }\r\n },\r\n \"creationTime\": \"2021-04-04T16:16:00.197+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-04T16:16:00.6+05:30\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03\",\r\n \"name\": \"DG-suc-03\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical, Security\",\r\n \"excludedKbNumbers\": null,\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/JemalNcusRg/providers/Microsoft.Compute/virtualMachines/JemalUbuntu\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"scheduleInfo\": {\r\n \"description\": \"test-OneTime\",\r\n \"startTime\": \"2021-04-22T02:10:00+05:30\",\r\n \"startTimeOffsetMinutes\": 0.0,\r\n \"expiryTime\": \"2021-04-22T02:10:00+05:30\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRun\": \"2021-04-22T02:10:00+05:30\",\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"interval\": null,\r\n \"frequency\": \"OneTime\",\r\n \"creationTime\": \"0001-01-01T05:30:00+05:30\",\r\n \"lastModifiedTime\": \"0001-01-01T05:30:00+05:30\",\r\n \"timeZone\": \"UTC\",\r\n \"advancedSchedule\": null\r\n },\r\n \"provisioningState\": \"Provisioning\",\r\n \"createdBy\": \"{scrubbed}\",\r\n \"error\": null,\r\n \"tasks\": {\r\n \"preTask\": {\r\n \"source\": \"preTask\",\r\n \"parameters\": {}\r\n },\r\n \"postTask\": {\r\n \"source\": \"postTask\",\r\n \"parameters\": {\r\n \"param1\": \"we made it!\"\r\n }\r\n }\r\n },\r\n \"creationTime\": \"2021-04-04T16:16:00.197+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-21T20:30:38+05:30\"\r\n }\r\n}",
"StatusCode": 201
},
{
@@ -94,19 +94,19 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8950062e-b72f-40c1-9f99-12424095d8ab"
+ "799f6b98-3ad4-4840-8086-3497eb757f41"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
],
"x-ms-activity-id": [
- "8564b6de-7538-485c-8029-10b631980cad"
+ "25bce1d2-431d-4f09-b09d-9196bdf816d2"
]
},
"ResponseHeaders": {
@@ -117,7 +117,7 @@
"no-cache"
],
"x-ms-request-id": [
- "8564b6de-7538-485c-8029-10b631980cad"
+ "25bce1d2-431d-4f09-b09d-9196bdf816d2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -132,22 +132,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11999"
+ "11989"
],
"x-ms-correlation-request-id": [
- "1852c7e7-dcdd-48b7-9be8-cfa49f318da0"
+ "20056aed-1b99-4194-93cd-d6b05711c02c"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210404T104602Z:1852c7e7-dcdd-48b7-9be8-cfa49f318da0"
+ "CENTRALINDIA:20210421T150039Z:20056aed-1b99-4194-93cd-d6b05711c02c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Sun, 04 Apr 2021 10:46:02 GMT"
+ "Wed, 21 Apr 2021 15:00:39 GMT"
],
"Content-Length": [
- "1608"
+ "1607"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -156,7 +156,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03\",\r\n \"name\": \"DG-suc-03\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical, Security\",\r\n \"excludedKbNumbers\": null,\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/JemalNcusRg/providers/Microsoft.Compute/virtualMachines/JemalUbuntu\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"scheduleInfo\": {\r\n \"description\": \"test-OneTime\",\r\n \"startTime\": \"2021-04-04T21:55:00+05:30\",\r\n \"startTimeOffsetMinutes\": 0.0,\r\n \"expiryTime\": \"2021-04-04T21:55:00+05:30\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRun\": \"2021-04-04T21:55:00+05:30\",\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"interval\": null,\r\n \"frequency\": \"OneTime\",\r\n \"creationTime\": \"2021-04-04T16:16:00.18+05:30\",\r\n \"lastModifiedTime\": \"2021-04-04T16:16:00.18+05:30\",\r\n \"timeZone\": \"UTC\",\r\n \"advancedSchedule\": null\r\n },\r\n \"provisioningState\": \"Failed\",\r\n \"createdBy\": \"{scrubbed}\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"StatusCode: NotFound, ReasonPhrase: Not Found, Content: {\\\"error\\\":{\\\"code\\\":\\\"ResourceGroupNotFound\\\",\\\"message\\\":\\\"Resource group 'jemalncusrg' could not be found.\\\"}}\"\r\n },\r\n \"tasks\": {\r\n \"preTask\": {\r\n \"source\": \"preTask\",\r\n \"parameters\": {}\r\n },\r\n \"postTask\": {\r\n \"source\": \"postTask\",\r\n \"parameters\": {\r\n \"param1\": \"we made it!\"\r\n }\r\n }\r\n },\r\n \"creationTime\": \"2021-04-04T16:16:00.197+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-04T16:16:00.6+05:30\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/to-delete-02/providers/Microsoft.Automation/automationAccounts/fbs-aa-01/softwareUpdateConfigurations/DG-suc-03\",\r\n \"name\": \"DG-suc-03\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical, Security\",\r\n \"excludedKbNumbers\": null,\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/JemalNcusRg/providers/Microsoft.Compute/virtualMachines/JemalUbuntu\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"scheduleInfo\": {\r\n \"description\": \"test-OneTime\",\r\n \"startTime\": \"2021-04-22T02:10:00+05:30\",\r\n \"startTimeOffsetMinutes\": 0.0,\r\n \"expiryTime\": \"2021-04-22T02:10:00+05:30\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRun\": \"2021-04-22T02:10:00+05:30\",\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"interval\": null,\r\n \"frequency\": \"OneTime\",\r\n \"creationTime\": \"2021-04-04T16:16:00.18+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T20:30:37.747+05:30\",\r\n \"timeZone\": \"UTC\",\r\n \"advancedSchedule\": null\r\n },\r\n \"provisioningState\": \"Failed\",\r\n \"createdBy\": \"{scrubbed}\",\r\n \"error\": {\r\n \"code\": null,\r\n \"message\": \"StatusCode: NotFound, ReasonPhrase: Not Found, Content: {\\\"error\\\":{\\\"code\\\":\\\"ResourceGroupNotFound\\\",\\\"message\\\":\\\"Resource group 'jemalncusrg' could not be found.\\\"}}\"\r\n },\r\n \"tasks\": {\r\n \"preTask\": {\r\n \"source\": \"preTask\",\r\n \"parameters\": {}\r\n },\r\n \"postTask\": {\r\n \"source\": \"postTask\",\r\n \"parameters\": {\r\n \"param1\": \"we made it!\"\r\n }\r\n }\r\n },\r\n \"creationTime\": \"2021-04-04T16:16:00.197+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-21T20:30:38+05:30\"\r\n }\r\n}",
"StatusCode": 200
}
],
diff --git a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllMachineRuns.json b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllMachineRuns.json
index e9f40ab65b66..7da0f0a90494 100644
--- a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllMachineRuns.json
+++ b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllMachineRuns.json
@@ -7,19 +7,19 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c4cdcaa3-8631-4351-948a-b1ef82d9382b"
+ "a8583073-7bd7-4088-b133-379e800e3315"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
],
"x-ms-activity-id": [
- "68ecfc3d-d1c7-4c63-b7a5-276e2f5ab62c"
+ "7f6dfd50-7891-408b-833a-8bab57cce0a2"
]
},
"ResponseHeaders": {
@@ -30,7 +30,7 @@
"no-cache"
],
"x-ms-request-id": [
- "68ecfc3d-d1c7-4c63-b7a5-276e2f5ab62c"
+ "7f6dfd50-7891-408b-833a-8bab57cce0a2"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -45,22 +45,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11988"
+ "11989"
],
"x-ms-correlation-request-id": [
- "466b6957-26bc-425a-8a14-748278ce9751"
+ "7c302deb-5477-4ee5-82bb-e6f4c5c06cef"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210405T040208Z:466b6957-26bc-425a-8a14-748278ce9751"
+ "CENTRALINDIA:20210421T142539Z:7c302deb-5477-4ee5-82bb-e6f4c5c06cef"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 05 Apr 2021 04:02:07 GMT"
+ "Wed, 21 Apr 2021 14:25:38 GMT"
],
"Content-Length": [
- "5823"
+ "19375"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -69,7 +69,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/9b36fd66-1213-4058-8ad0-49e21bb1f98b\",\r\n \"name\": \"9b36fd66-1213-4058-8ad0-49e21bb1f98b\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-monthly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"0ba88dce-b361-4b15-b70a-4f99c98a0f1a\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-05T05:42:34.8566666+05:30\",\r\n \"endTime\": \"2021-04-05T05:44:07.42+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:42:34.8566666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:44:37.223+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/1e5cf999-aeab-4cbf-a799-d775d42d75a6\",\r\n \"name\": \"1e5cf999-aeab-4cbf-a799-d775d42d75a6\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-monthly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"0ba88dce-b361-4b15-b70a-4f99c98a0f1a\",\r\n \"sourceComputerId\": \"e51855a9-4130-4bdd-b12b-b27c8b83ae8c\",\r\n \"startTime\": \"2021-04-05T05:42:34.75+05:30\",\r\n \"endTime\": \"2021-04-05T05:43:59.6+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:42:34.75+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:44:37.503+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/458c3bcb-4493-459d-9737-000e5ee9162b\",\r\n \"name\": \"458c3bcb-4493-459d-9737-000e5ee9162b\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"e5b6264f-1de0-4f64-91b4-0fee05187428\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-05T05:40:39.5533333+05:30\",\r\n \"endTime\": \"2021-04-05T05:42:03.573+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:40:39.5533333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:42:42.24+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/e42dead3-8453-4b72-ac4e-3ec01825cf5b\",\r\n \"name\": \"e42dead3-8453-4b72-ac4e-3ec01825cf5b\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"e5b6264f-1de0-4f64-91b4-0fee05187428\",\r\n \"sourceComputerId\": \"e51855a9-4130-4bdd-b12b-b27c8b83ae8c\",\r\n \"startTime\": \"2021-04-05T05:40:39.3933333+05:30\",\r\n \"endTime\": \"2021-04-05T05:41:33.37+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:40:39.3933333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:41:41.88+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/50859ff8-be3d-4e89-a81e-5e091458b7e0\",\r\n \"name\": \"50859ff8-be3d-4e89-a81e-5e091458b7e0\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"6ec6ec21-e96b-4ed5-bff7-ec88093f38b6\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-05T05:39:54.2066666+05:30\",\r\n \"endTime\": \"2021-04-05T05:41:37.36+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:39:54.2066666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:41:56.663+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/5c42d5b4-8be9-4d8b-9ebd-df703a083bc2\",\r\n \"name\": \"5c42d5b4-8be9-4d8b-9ebd-df703a083bc2\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"6ec6ec21-e96b-4ed5-bff7-ec88093f38b6\",\r\n \"sourceComputerId\": \"f2db609e-895a-43ea-b423-ba082bb6a96c\",\r\n \"startTime\": \"2021-04-05T05:39:54.11+05:30\",\r\n \"endTime\": \"2021-04-05T05:40:52.203+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:39:54.11+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:40:56.14+05:30\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/bad23553-58d4-4558-b40a-c04146860809\",\r\n \"name\": \"bad23553-58d4-4558-b40a-c04146860809\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"78728b94-dcf9-4841-ad78-65a882c46830\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-21T01:42:41.4866666+05:30\",\r\n \"endTime\": \"2021-04-21T01:43:53.46+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-21T01:42:41.4866666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-21T01:44:44.14+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/e1394741-1ced-4732-9390-95c0bc42e8ec\",\r\n \"name\": \"e1394741-1ced-4732-9390-95c0bc42e8ec\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"78728b94-dcf9-4841-ad78-65a882c46830\",\r\n \"sourceComputerId\": \"e51855a9-4130-4bdd-b12b-b27c8b83ae8c\",\r\n \"startTime\": \"2021-04-21T01:42:41.3566666+05:30\",\r\n \"endTime\": \"2021-04-21T01:43:16.503+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-21T01:42:41.3566666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-21T01:43:43.793+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/6d2511e7-04c3-44e5-bb02-0b8236b42ef2\",\r\n \"name\": \"6d2511e7-04c3-44e5-bb02-0b8236b42ef2\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"0ec55d8b-0289-4f05-b29c-b586ed9f9837\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-21T01:42:19.13+05:30\",\r\n \"endTime\": \"2021-04-21T01:44:07.5+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-21T01:42:19.13+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-21T01:44:22.33+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/21deee06-27d1-475e-ac0f-4617048928ea\",\r\n \"name\": \"21deee06-27d1-475e-ac0f-4617048928ea\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"0ec55d8b-0289-4f05-b29c-b586ed9f9837\",\r\n \"sourceComputerId\": \"f2db609e-895a-43ea-b423-ba082bb6a96c\",\r\n \"startTime\": \"2021-04-21T01:42:19+05:30\",\r\n \"endTime\": \"2021-04-21T01:43:29.46+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-21T01:42:19+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-21T01:44:22.01+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/df66bb6a-e358-4172-9eef-c8d68f1120a8\",\r\n \"name\": \"df66bb6a-e358-4172-9eef-c8d68f1120a8\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-weekly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"e3f80cad-0caf-41ed-bdb5-47dd4ef8054e\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-16T15:03:54.31+05:30\",\r\n \"endTime\": \"2021-04-16T15:06:10.15+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-16T15:03:54.31+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-16T15:06:57.783+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/59170fd3-9ab2-4c0a-be53-eff37ec1961c\",\r\n \"name\": \"59170fd3-9ab2-4c0a-be53-eff37ec1961c\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-weekly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"e3f80cad-0caf-41ed-bdb5-47dd4ef8054e\",\r\n \"sourceComputerId\": \"f2db609e-895a-43ea-b423-ba082bb6a96c\",\r\n \"startTime\": \"2021-04-16T15:03:54.1966666+05:30\",\r\n \"endTime\": \"2021-04-16T15:05:27.673+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-16T15:03:54.1966666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-16T15:05:57.283+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/848a0a10-d51e-4947-bc5e-861369fac224\",\r\n \"name\": \"848a0a10-d51e-4947-bc5e-861369fac224\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-weekly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"389b1103-d950-4a3c-9a2e-bfd40605c4d3\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-09T15:03:32.7633333+05:30\",\r\n \"endTime\": \"2021-04-09T15:05:08.21+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-09T15:03:32.7633333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-09T15:05:35.463+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/2d400fea-3f44-4ade-801c-a9bcdf6607c6\",\r\n \"name\": \"2d400fea-3f44-4ade-801c-a9bcdf6607c6\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-weekly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"389b1103-d950-4a3c-9a2e-bfd40605c4d3\",\r\n \"sourceComputerId\": \"f2db609e-895a-43ea-b423-ba082bb6a96c\",\r\n \"startTime\": \"2021-04-09T15:03:32.6466666+05:30\",\r\n \"endTime\": \"2021-04-09T15:04:25.637+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-09T15:03:32.6466666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-09T15:04:34.833+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/f3c85579-37c4-44b4-a3c7-1183c5f7dfbf\",\r\n \"name\": \"f3c85579-37c4-44b4-a3c7-1183c5f7dfbf\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-monthly-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"ac797faa-31cb-48fe-9d02-0a877c83354b\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-05T15:19:58.3033333+05:30\",\r\n \"endTime\": \"2021-04-05T15:21:32.4+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T15:19:58.3033333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T15:22:00.423+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/fa1c26a0-2ef2-471e-a77e-71ccb8c2711d\",\r\n \"name\": \"fa1c26a0-2ef2-471e-a77e-71ccb8c2711d\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-monthly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"3a853970-f9d9-4a49-b17d-720d644fa31b\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-05T15:18:33.5066666+05:30\",\r\n \"endTime\": \"2021-04-05T15:19:41.32+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T15:18:33.5066666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T15:20:35.393+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/9f63a846-2839-4ebb-98e0-189583d4b6bb\",\r\n \"name\": \"9f63a846-2839-4ebb-98e0-189583d4b6bb\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"89dd5d79-1dd3-44c1-ad68-2f673c074b3e\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-05T15:06:33.7033333+05:30\",\r\n \"endTime\": \"2021-04-05T15:07:28.08+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T15:06:33.7033333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T15:07:35.52+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/1c712f81-65f6-4deb-bf38-a01a32419769\",\r\n \"name\": \"1c712f81-65f6-4deb-bf38-a01a32419769\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"89dd5d79-1dd3-44c1-ad68-2f673c074b3e\",\r\n \"sourceComputerId\": \"e51855a9-4130-4bdd-b12b-b27c8b83ae8c\",\r\n \"startTime\": \"2021-04-05T15:06:33.6+05:30\",\r\n \"endTime\": \"2021-04-05T15:07:25.033+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T15:06:33.6+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T15:07:35.803+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/70a79d04-b96b-4b92-aa7b-980bfc2b2c9e\",\r\n \"name\": \"70a79d04-b96b-4b92-aa7b-980bfc2b2c9e\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"7a38c476-e680-43ce-a48e-049686ac746d\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-05T15:02:56.2133333+05:30\",\r\n \"endTime\": \"2021-04-05T15:04:36.207+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T15:02:56.2133333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T15:04:59.027+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/0b4c8eb9-1d30-4148-b7d9-94dd1a16090d\",\r\n \"name\": \"0b4c8eb9-1d30-4148-b7d9-94dd1a16090d\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"7a38c476-e680-43ce-a48e-049686ac746d\",\r\n \"sourceComputerId\": \"f2db609e-895a-43ea-b423-ba082bb6a96c\",\r\n \"startTime\": \"2021-04-05T15:02:56.0966666+05:30\",\r\n \"endTime\": \"2021-04-05T15:03:48.307+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T15:02:56.0966666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T15:03:58.343+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/9b36fd66-1213-4058-8ad0-49e21bb1f98b\",\r\n \"name\": \"9b36fd66-1213-4058-8ad0-49e21bb1f98b\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-monthly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"0ba88dce-b361-4b15-b70a-4f99c98a0f1a\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-05T05:42:34.8566666+05:30\",\r\n \"endTime\": \"2021-04-05T05:44:07.42+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:42:34.8566666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:44:37.223+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/1e5cf999-aeab-4cbf-a799-d775d42d75a6\",\r\n \"name\": \"1e5cf999-aeab-4cbf-a799-d775d42d75a6\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-monthly-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"0ba88dce-b361-4b15-b70a-4f99c98a0f1a\",\r\n \"sourceComputerId\": \"e51855a9-4130-4bdd-b12b-b27c8b83ae8c\",\r\n \"startTime\": \"2021-04-05T05:42:34.75+05:30\",\r\n \"endTime\": \"2021-04-05T05:43:59.6+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:42:34.75+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:44:37.503+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/458c3bcb-4493-459d-9737-000e5ee9162b\",\r\n \"name\": \"458c3bcb-4493-459d-9737-000e5ee9162b\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"e5b6264f-1de0-4f64-91b4-0fee05187428\",\r\n \"sourceComputerId\": \"f95133cb-0433-423a-8683-d97f6246ea22\",\r\n \"startTime\": \"2021-04-05T05:40:39.5533333+05:30\",\r\n \"endTime\": \"2021-04-05T05:42:03.573+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:40:39.5533333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:42:42.24+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/e42dead3-8453-4b72-ac4e-3ec01825cf5b\",\r\n \"name\": \"e42dead3-8453-4b72-ac4e-3ec01825cf5b\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-01\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Windows\",\r\n \"correlationId\": \"e5b6264f-1de0-4f64-91b4-0fee05187428\",\r\n \"sourceComputerId\": \"e51855a9-4130-4bdd-b12b-b27c8b83ae8c\",\r\n \"startTime\": \"2021-04-05T05:40:39.3933333+05:30\",\r\n \"endTime\": \"2021-04-05T05:41:33.37+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:40:39.3933333+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:41:41.88+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/50859ff8-be3d-4e89-a81e-5e091458b7e0\",\r\n \"name\": \"50859ff8-be3d-4e89-a81e-5e091458b7e0\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"6ec6ec21-e96b-4ed5-bff7-ec88093f38b6\",\r\n \"sourceComputerId\": \"e4f47eee-b67a-4749-9297-33e167ac3008\",\r\n \"startTime\": \"2021-04-05T05:39:54.2066666+05:30\",\r\n \"endTime\": \"2021-04-05T05:41:37.36+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:39:54.2066666+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:41:56.663+05:30\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurationMachineRuns/5c42d5b4-8be9-4d8b-9ebd-df703a083bc2\",\r\n \"name\": \"5c42d5b4-8be9-4d8b-9ebd-df703a083bc2\",\r\n \"type\": null,\r\n \"properties\": {\r\n \"targetComputer\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\",\r\n \"targetComputerType\": \"AzureVirtualMachines\",\r\n \"softwareUpdateConfiguration\": {\r\n \"name\": \"mo-onetime-02\"\r\n },\r\n \"status\": \"Succeeded\",\r\n \"osType\": \"Linux\",\r\n \"correlationId\": \"6ec6ec21-e96b-4ed5-bff7-ec88093f38b6\",\r\n \"sourceComputerId\": \"f2db609e-895a-43ea-b423-ba082bb6a96c\",\r\n \"startTime\": \"2021-04-05T05:39:54.11+05:30\",\r\n \"endTime\": \"2021-04-05T05:40:52.203+05:30\",\r\n \"configuredDuration\": \"PT2H\",\r\n \"job\": null,\r\n \"error\": null,\r\n \"creationTime\": \"2021-04-05T05:39:54.11+05:30\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2021-04-05T05:40:56.14+05:30\"\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
}
],
diff --git a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllSUCs.json b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllSUCs.json
index 3f14e0a9db71..34fac4f9ba34 100644
--- a/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllSUCs.json
+++ b/src/Automation/Automation.Test/SessionRecords/Commands.Automation.Test.UpdateManagementTests/GetAllSUCs.json
@@ -7,19 +7,19 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "9e71be6a-ddcd-4d7a-a183-2d86efc6aaac"
+ "e4239675-b19f-410c-9ecf-f4f7c08ed95d"
],
"Accept-Language": [
"en-US"
],
"User-Agent": [
- "FxVersion/4.6.29812.02",
+ "FxVersion/4.6.29916.01",
"OSName/Windows",
"OSVersion/Microsoft.Windows.10.0.19042.",
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.3.0"
],
"x-ms-activity-id": [
- "b76a3ebc-3d21-4670-b069-65fb1fa99bf1"
+ "e5c7ed92-350d-4bb8-babb-47f441804d5a"
]
},
"ResponseHeaders": {
@@ -30,7 +30,7 @@
"no-cache"
],
"x-ms-request-id": [
- "b76a3ebc-3d21-4670-b069-65fb1fa99bf1"
+ "e5c7ed92-350d-4bb8-babb-47f441804d5a"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
@@ -45,22 +45,22 @@
"ASP.NET"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11990"
],
"x-ms-correlation-request-id": [
- "78aaa9d2-4f0a-4d2b-bcb9-7876ae7dda97"
+ "0c2da31b-5809-499d-bfae-3a9a877495d2"
],
"x-ms-routing-request-id": [
- "CENTRALINDIA:20210405T040346Z:78aaa9d2-4f0a-4d2b-bcb9-7876ae7dda97"
+ "CENTRALINDIA:20210421T142604Z:0c2da31b-5809-499d-bfae-3a9a877495d2"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 05 Apr 2021 04:03:46 GMT"
+ "Wed, 21 Apr 2021 14:26:03 GMT"
],
"Content-Length": [
- "7370"
+ "9434"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -69,7 +69,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-02\",\r\n \"name\": \"mo-onetime-02\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": null,\r\n \"includedPackageNameMasks\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T15:02:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:13.693+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:22:59.077+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-05T15:02:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-monthly-01\",\r\n \"name\": \"mo-monthly-01\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical, Security\",\r\n \"excludedKbNumbers\": [\r\n \"KB-01\",\r\n \"KB-02\"\r\n ],\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"Month\",\r\n \"startTime\": \"2021-04-05T15:04:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:27:04.013+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:25:04.027+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-05T15:04:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-01\",\r\n \"name\": \"mo-onetime-01\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical\",\r\n \"excludedKbNumbers\": null,\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T15:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:25.717+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:26:14.54+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-05T15:06:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-weekly-01\",\r\n \"name\": \"mo-weekly-01\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Security, Other\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask-exc-01\",\r\n \"Mask-exc-02\"\r\n ],\r\n \"includedPackageNameMasks\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"Week\",\r\n \"startTime\": \"2021-04-05T15:03:00+05:30\",\r\n \"creationTime\": \"2021-04-04T19:36:54.107+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:23:59.957+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-09T15:03:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-03\",\r\n \"name\": \"mo-onetime-03\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Security, UpdateRollup\",\r\n \"excludedKbNumbers\": [\r\n \"KB01\",\r\n \"KB02\"\r\n ],\r\n \"includedKbNumbers\": [\r\n \"KB100\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\"\r\n ],\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T05:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:09.47+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:25:41.683+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-04\",\r\n \"name\": \"mo-onetime-04\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask01\",\r\n \"Mask02\"\r\n ],\r\n \"includedPackageNameMasks\": [\r\n \"Mask100\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T05:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:22.567+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:21:38.57+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-05\",\r\n \"name\": \"mo-onetime-05\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask01\",\r\n \"Mask02\"\r\n ],\r\n \"includedPackageNameMasks\": [\r\n \"Mask100\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": null,\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T05:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:27:01.23+05:30\",\r\n \"lastModifiedTime\": \"2021-04-05T09:20:58.167+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-02\",\r\n \"name\": \"mo-onetime-02\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": null,\r\n \"includedPackageNameMasks\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-22T01:03:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:13.693+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:24:14.39+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-22T01:03:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-01\",\r\n \"name\": \"mo-onetime-01\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical\",\r\n \"excludedKbNumbers\": null,\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-22T01:04:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:25.717+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:24:39.993+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-22T01:04:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-weekly-01\",\r\n \"name\": \"mo-weekly-01\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Security, Other\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask-exc-01\",\r\n \"Mask-exc-02\"\r\n ],\r\n \"includedPackageNameMasks\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"Week\",\r\n \"startTime\": \"2021-04-22T01:05:00+05:30\",\r\n \"creationTime\": \"2021-04-04T19:36:54.107+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:25:59.993+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-04-24T01:05:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-monthly-02\",\r\n \"name\": \"mo-monthly-02\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Unclassified\",\r\n \"excludedPackageNameMasks\": null,\r\n \"includedPackageNameMasks\": [\r\n \"*kernel*\",\r\n \"pyhton*.x64\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"Month\",\r\n \"startTime\": \"2021-04-22T01:04:00+05:30\",\r\n \"creationTime\": \"2021-04-05T09:39:55.17+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:24:46.18+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-05-03T01:04:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-monthly-01\",\r\n \"name\": \"mo-monthly-01\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Critical, Security\",\r\n \"excludedKbNumbers\": [\r\n \"KB-01\",\r\n \"KB-02\"\r\n ],\r\n \"includedKbNumbers\": null,\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\"\r\n ],\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"frequency\": \"Month\",\r\n \"startTime\": \"2021-04-22T01:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:27:04.013+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:26:52.053+05:30\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"nextRun\": \"2021-05-03T01:06:00+05:30\",\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-05\",\r\n \"name\": \"mo-onetime-05\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask01\",\r\n \"Mask02\"\r\n ],\r\n \"includedPackageNameMasks\": [\r\n \"Mask100\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": null,\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T05:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:27:01.23+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:26:47.23+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/linx-suc-reboot\",\r\n \"name\": \"linx-suc-reboot\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask01\",\r\n \"Mask02\"\r\n ],\r\n \"includedPackageNameMasks\": [\r\n \"Mask100\"\r\n ],\r\n \"rebootSetting\": \"Never\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T15:19:00+05:30\",\r\n \"creationTime\": \"2021-04-05T09:39:21.467+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:25:48.703+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-04\",\r\n \"name\": \"mo-onetime-04\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Linux\",\r\n \"windows\": null,\r\n \"linux\": {\r\n \"includedPackageClassifications\": \"Critical, Security\",\r\n \"excludedPackageNameMasks\": [\r\n \"Mask01\",\r\n \"Mask02\"\r\n ],\r\n \"includedPackageNameMasks\": [\r\n \"Mask100\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-l-02\"\r\n ],\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T05:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:22.567+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:24:26.45+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-resources-eus/providers/Microsoft.Automation/automationAccounts/mo-aaa-eus2/softwareUpdateConfigurations/mo-onetime-03\",\r\n \"name\": \"mo-onetime-03\",\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Security, UpdateRollup\",\r\n \"excludedKbNumbers\": [\r\n \"KB01\",\r\n \"KB02\"\r\n ],\r\n \"includedKbNumbers\": [\r\n \"KB100\"\r\n ],\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"linux\": null,\r\n \"targets\": null,\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": [\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-01\",\r\n \"/subscriptions/422b6c61-95b0-4213-b3be-7282315df71d/resourceGroups/mo-compute/providers/Microsoft.Compute/virtualMachines/mo-vm-w-02\"\r\n ],\r\n \"nonAzureComputerNames\": [\r\n \"server-01\",\r\n \"server-02\"\r\n ]\r\n },\r\n \"frequency\": \"OneTime\",\r\n \"startTime\": \"2021-04-05T05:06:00+05:30\",\r\n \"creationTime\": \"2021-04-04T23:26:09.47+05:30\",\r\n \"lastModifiedTime\": \"2021-04-21T19:23:53.013+05:30\",\r\n \"provisioningState\": \"Failed\",\r\n \"nextRun\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n }\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
}
],
diff --git a/src/Automation/Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs b/src/Automation/Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs
index 1978e8e50f9d..5f4d440c90e5 100644
--- a/src/Automation/Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs
+++ b/src/Automation/Automation.Test/UnitTests/NewAzureAutomationAccountTest.cs
@@ -50,7 +50,7 @@ public void NewAzureAutomationAccountByNameSuccessfull()
string location = "East US";
string plan = "Free";
- this.mockAutomationClient.Setup(f => f.CreateAutomationAccount(resourceGroupName, accountName, location, plan, null, false, false, false, null, null, null));
+ this.mockAutomationClient.Setup(f => f.CreateAutomationAccount(resourceGroupName, accountName, location, plan, null, false, null, false, false, null, null, null, null, false));
// Test
this.cmdlet.ResourceGroupName = resourceGroupName;
@@ -60,7 +60,7 @@ public void NewAzureAutomationAccountByNameSuccessfull()
this.cmdlet.ExecuteCmdlet();
// Assert
- this.mockAutomationClient.Verify(f => f.CreateAutomationAccount(resourceGroupName, accountName, location, plan, null, false, false, false, null, null, null), Times.Once());
+ this.mockAutomationClient.Verify(f => f.CreateAutomationAccount(resourceGroupName, accountName, location, plan, null, false, null, false, false, null, null, null, null, false), Times.Once());
}
}
}
\ No newline at end of file
diff --git a/src/Automation/Automation/ChangeLog.md b/src/Automation/Automation/ChangeLog.md
index 8614138a034c..c88a8832a8ff 100644
--- a/src/Automation/Automation/ChangeLog.md
+++ b/src/Automation/Automation/ChangeLog.md
@@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
+* Added support for User Assigned Identities and PublicNetworkAccess flag
## Version 1.6.0
* Added support for Customer Managed Key Encryption with System Assigned Identity
diff --git a/src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs b/src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs
index eb066f64a3fc..f18ec82e0eb1 100644
--- a/src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs
+++ b/src/Automation/Automation/Cmdlet/NewAzureAutomationAccount.cs
@@ -102,6 +102,12 @@ public IAutomationPSClient AutomationClient
HelpMessage = "Generate and assign a new System Identity for this automation account")]
public SwitchParameter AssignSystemIdentity { get; set; }
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "Assign the User Assigned Identities to this automation account")]
+ [ValidateNotNullOrEmpty]
+ public string[] AssignUserIdentity { get; set; }
+
[Parameter(HelpMessage = "Specify whether set Automation Account KeySource to Microsoft.Automation or not.",
Mandatory = false,
ParameterSetName = AutomationServicesEncryptionParameterSet)]
@@ -130,6 +136,17 @@ public IAutomationPSClient AutomationClient
[ValidateNotNullOrEmpty]
public string KeyVaultUri { get; set; }
+ [Parameter(HelpMessage = "User Assigned Identity used for encryption",
+ Mandatory = false,
+ ParameterSetName = KeyVaultEncryptionParameterSet)]
+ [ValidateNotNullOrEmpty]
+ public string UserIdentityEncryption { get; set; }
+
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "Whether to disable traffic on the non-ARM endpoints (Webhook/Agent) from the public internet")]
+ public SwitchParameter DisablePublicNetworkAccess { get; set; }
+
///
/// Execute this cmdlet.
///
@@ -139,8 +156,9 @@ public override void ExecuteCmdlet()
bool addSystemId = AssignSystemIdentity.IsPresent;
bool enableAMK = AutomationServicesEncryption.IsPresent;
bool enableCMK = (ParameterSetName == KeyVaultEncryptionParameterSet);
+ bool disablePublicNetworkAccess = DisablePublicNetworkAccess.IsPresent;
- var account = this.AutomationClient.CreateAutomationAccount(this.ResourceGroupName, this.Name, this.Location, this.Plan, this.Tags, addSystemId, enableAMK, enableCMK, KeyName, KeyVersion, KeyVaultUri);
+ var account = this.AutomationClient.CreateAutomationAccount(this.ResourceGroupName, this.Name, this.Location, this.Plan, this.Tags, addSystemId, AssignUserIdentity, enableAMK, enableCMK, KeyName, KeyVersion, KeyVaultUri, UserIdentityEncryption, disablePublicNetworkAccess);
this.WriteObject(account);
}
diff --git a/src/Automation/Automation/Cmdlet/SetAzureAutomationAccount.cs b/src/Automation/Automation/Cmdlet/SetAzureAutomationAccount.cs
index 5768ec408b24..689697bf8959 100644
--- a/src/Automation/Automation/Cmdlet/SetAzureAutomationAccount.cs
+++ b/src/Automation/Automation/Cmdlet/SetAzureAutomationAccount.cs
@@ -95,6 +95,12 @@ public IAutomationPSClient AutomationClient
HelpMessage = "Generate and assign a new System Identity for this automation account")]
public SwitchParameter AssignSystemIdentity { get; set; }
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "Assign the User Assigned Identities to this automation account")]
+ [ValidateNotNullOrEmpty]
+ public string[] AssignUserIdentity { get; set; }
+
[Parameter(HelpMessage = "Whether to set Automation Account KeySource to Microsoft.Automation or not.",
Mandatory = false,
ParameterSetName = AutomationServicesEncryptionParameterSet)]
@@ -123,6 +129,17 @@ public IAutomationPSClient AutomationClient
[ValidateNotNullOrEmpty]
public string KeyVaultUri { get; set; }
+ [Parameter(HelpMessage = "User Assigned Identity used for encryption",
+ Mandatory = false,
+ ParameterSetName = KeyVaultEncryptionParameterSet)]
+ [ValidateNotNullOrEmpty]
+ public string UserIdentityEncryption { get; set; }
+
+ [Parameter(
+ Mandatory = false,
+ HelpMessage = "Whether to disable traffic on the non-ARM endpoints (Webhook/Agent) from the public internet")]
+ public SwitchParameter DisablePublicNetworkAccess { get; set; }
+
///
/// Execute this cmdlet.
///
@@ -132,8 +149,9 @@ public override void ExecuteCmdlet()
bool addSystemId = AssignSystemIdentity.IsPresent;
bool enableAMK = AutomationServicesEncryption.IsPresent;
bool enableCMK = (ParameterSetName == KeyVaultEncryptionParameterSet);
+ bool disablePublicNetworkAccess = DisablePublicNetworkAccess.IsPresent;
- var account = this.AutomationClient.UpdateAutomationAccount(this.ResourceGroupName, this.Name, this.Plan, this.Tags, addSystemId, enableAMK, enableCMK, KeyName, KeyVersion, KeyVaultUri);
+ var account = this.AutomationClient.UpdateAutomationAccount(this.ResourceGroupName, this.Name, this.Plan, this.Tags, addSystemId, AssignUserIdentity, enableAMK, enableCMK, KeyName, KeyVersion, KeyVaultUri, UserIdentityEncryption, disablePublicNetworkAccess);
this.WriteObject(account);
}
}
diff --git a/src/Automation/Automation/Common/AutomationPSClient.cs b/src/Automation/Automation/Common/AutomationPSClient.cs
index d9b18c538347..e9208585ce25 100644
--- a/src/Automation/Automation/Common/AutomationPSClient.cs
+++ b/src/Automation/Automation/Common/AutomationPSClient.cs
@@ -143,7 +143,7 @@ public AutomationAccount GetAutomationAccount(string resourceGroupName, string a
}
public AutomationAccount CreateAutomationAccount(string resourceGroupName, string automationAccountName,
- string location, string plan, IDictionary tags, bool addSystemId, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri)
+ string location, string plan, IDictionary tags, bool addSystemId, string[] userIds, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri, string UserIdentityEncryption, bool disablePublicNetworkAccess)
{
Requires.Argument("ResourceGroupName", resourceGroupName).NotNull();
Requires.Argument("Location", location).NotNull();
@@ -169,16 +169,48 @@ public AutomationAccount CreateAutomationAccount(string resourceGroupName, strin
{
accountCreateOrUpdateParameters.Identity = new Identity(null, null, ResourceIdentityType.SystemAssigned);
}
+ if ((userIds != null) && userIds.Any())
+ {
+ var userIdDict = new Dictionary();
+ foreach (var id in userIds)
+ {
+ userIdDict.Add(id, new IdentityUserAssignedIdentitiesValue());
+ }
+
+ var IdType = ResourceIdentityType.UserAssigned;
+ if (addSystemId == true)
+ {
+ IdType = ResourceIdentityType.SystemAssignedUserAssigned;
+ }
+
+ accountCreateOrUpdateParameters.Identity = new Identity(null, null, IdType, userIdDict);
+ }
if (enableAMK == true)
{
accountCreateOrUpdateParameters.Encryption = new EncryptionProperties(null, EncryptionKeySourceType.MicrosoftAutomation);
}
if (enableCMK == true)
{
- accountCreateOrUpdateParameters.Encryption = new EncryptionProperties(
- new KeyVaultProperties(KeyVaultUri, KeyName, KeyVersion),
- EncryptionKeySourceType.MicrosoftKeyvault
- );
+ if (String.IsNullOrEmpty(UserIdentityEncryption))
+ {
+ accountCreateOrUpdateParameters.Encryption = new EncryptionProperties(
+ new KeyVaultProperties(KeyVaultUri, KeyName, KeyVersion),
+ EncryptionKeySourceType.MicrosoftKeyvault
+ );
+ }
+ else
+ {
+ accountCreateOrUpdateParameters.Encryption = new EncryptionProperties(
+ new KeyVaultProperties(KeyVaultUri, KeyName, KeyVersion),
+ EncryptionKeySourceType.MicrosoftKeyvault,
+ new EncryptionPropertiesIdentity(UserIdentityEncryption)
+ );
+ }
+ }
+
+ if (disablePublicNetworkAccess == true)
+ {
+ accountCreateOrUpdateParameters.PublicNetworkAccess = false;
}
var account = this.automationManagementClient.AutomationAccount.CreateOrUpdate(resourceGroupName, automationAccountName, accountCreateOrUpdateParameters);
@@ -187,7 +219,7 @@ public AutomationAccount CreateAutomationAccount(string resourceGroupName, strin
}
public AutomationAccount UpdateAutomationAccount(string resourceGroupName, string automationAccountName,
- string plan, IDictionary tags, bool addSystemId, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri)
+ string plan, IDictionary tags, bool addSystemId, string[] userIds, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri, string UserIdentityEncryption, bool disablePublicNetworkAccess)
{
Requires.Argument("ResourceGroupName", resourceGroupName).NotNull();
Requires.Argument("AutomationAccountName", automationAccountName).NotNull();
@@ -221,16 +253,48 @@ public AutomationAccount UpdateAutomationAccount(string resourceGroupName, strin
{
accountUpdateParameters.Identity = new Identity(null, null, ResourceIdentityType.SystemAssigned);
}
+ if ((userIds != null) && userIds.Any())
+ {
+ var userIdDict = new Dictionary();
+ foreach (var id in userIds)
+ {
+ userIdDict.Add(id, new IdentityUserAssignedIdentitiesValue());
+ }
+
+ var IdType = ResourceIdentityType.UserAssigned;
+ if (addSystemId == true)
+ {
+ IdType = ResourceIdentityType.SystemAssignedUserAssigned;
+ }
+
+ accountUpdateParameters.Identity = new Identity(null, null, IdType, userIdDict);
+ }
if (enableAMK == true)
{
accountUpdateParameters.Encryption = new EncryptionProperties(null, EncryptionKeySourceType.MicrosoftAutomation);
}
if (enableCMK == true)
{
- accountUpdateParameters.Encryption = new EncryptionProperties(
- new KeyVaultProperties(KeyVaultUri, KeyName, KeyVersion),
- EncryptionKeySourceType.MicrosoftKeyvault
- );
+ if (String.IsNullOrEmpty(UserIdentityEncryption))
+ {
+ accountUpdateParameters.Encryption = new EncryptionProperties(
+ new KeyVaultProperties(KeyVaultUri, KeyName, KeyVersion),
+ EncryptionKeySourceType.MicrosoftKeyvault
+ );
+ }
+ else
+ {
+ accountUpdateParameters.Encryption = new EncryptionProperties(
+ new KeyVaultProperties(KeyVaultUri, KeyName, KeyVersion),
+ EncryptionKeySourceType.MicrosoftKeyvault,
+ new EncryptionPropertiesIdentity(UserIdentityEncryption)
+ );
+ }
+ }
+
+ if (disablePublicNetworkAccess == true)
+ {
+ accountUpdateParameters.PublicNetworkAccess = false;
}
var account = this.automationManagementClient.AutomationAccount.Update(resourceGroupName, automationAccountName, accountUpdateParameters);
diff --git a/src/Automation/Automation/Common/IAutomationPSClient.cs b/src/Automation/Automation/Common/IAutomationPSClient.cs
index 0a20ce5cd36c..4daa216203d0 100644
--- a/src/Automation/Automation/Common/IAutomationPSClient.cs
+++ b/src/Automation/Automation/Common/IAutomationPSClient.cs
@@ -33,9 +33,9 @@ public interface IAutomationPSClient
AutomationAccount GetAutomationAccount(string resourceGroupName, string automationAccountName);
- AutomationAccount CreateAutomationAccount(string resourceGroupName, string automationAccountName, string location, string plan, IDictionary tags, bool addSystemId, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri);
+ AutomationAccount CreateAutomationAccount(string resourceGroupName, string automationAccountName, string location, string plan, IDictionary tags, bool addSystemId, string[] userIds, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri, string UserIdentityEncryption, bool disablePublicNetworkAccess);
- AutomationAccount UpdateAutomationAccount(string resourceGroupName, string automationAccountName, string plan, IDictionary tags, bool addSystemId, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri);
+ AutomationAccount UpdateAutomationAccount(string resourceGroupName, string automationAccountName, string plan, IDictionary tags, bool addSystemId, string[] userIds, bool enableAMK, bool enableCMK, string KeyName, string KeyVersion, string KeyVaultUri, string UserIdentityEncryption, bool disablePublicNetworkAccess);
void DeleteAutomationAccount(string resourceGroupName, string automationAccountName);
diff --git a/src/Automation/Automation/Model/AutomationAccount.cs b/src/Automation/Automation/Model/AutomationAccount.cs
index 3c02511bfa14..10622310ac9c 100644
--- a/src/Automation/Automation/Model/AutomationAccount.cs
+++ b/src/Automation/Automation/Model/AutomationAccount.cs
@@ -70,6 +70,7 @@ public AutomationAccount(string resourceGroupName, AutomationManagement.Models.A
this.LastModifiedBy = automationAccount.LastModifiedBy;
this.Identity = automationAccount.Identity;
this.Encryption = automationAccount.Encryption;
+ this.PublicNetworkAccess = automationAccount.PublicNetworkAccess;
}
///
@@ -138,5 +139,11 @@ public AutomationAccount()
/// Gets or sets the encryption properties.
///
public EncryptionProperties Encryption { get; private set; }
+
+ ///
+ /// Get or set indicate whether traffic on the non-ARM endpoint (Webhook/Agent)
+ // is allowed from the public internet
+ ///
+ public bool? PublicNetworkAccess { get; set; }
}
}
diff --git a/src/Automation/Automation/help/New-AzAutomationAccount.md b/src/Automation/Automation/help/New-AzAutomationAccount.md
index 6855dfcfb406..1fd8b5b0757a 100644
--- a/src/Automation/Automation/help/New-AzAutomationAccount.md
+++ b/src/Automation/Automation/help/New-AzAutomationAccount.md
@@ -58,6 +58,20 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -AssignUserIdentity
+Specifies the list of user assigned identities associated with the automation account. The user assigned identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -AutomationServicesEncryption
Whether to set Automation Account Encryption KeySource to Microsoft.AutomationServices or not.
@@ -88,6 +102,20 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -DisablePublicNetworkAccess
+Whether to disable traffic on the non-ARM endpoints (Webhook/Agent) from the public internet and allow access only through private network.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -KeyName
Automation Account encryption KeyVault KeyName
@@ -103,7 +131,7 @@ Accept wildcard characters: False
```
### -KeyVaultEncryption
-Whether to set Automation Account encryption keySource to Microsoft.KeyVault or not. If you specify KeyName, KeyVersion and KeyVaultUri, Automation Account Encryption KeySource will also be set to Microsoft.KeyVault weather this parameter is set or not.
+Whether to set Automation Account encryption keySource to Microsoft.KeyVault or not. If you specify KeyName, KeyVersion and KeyVaultUri, Automation Account Encryption KeySource will also be set to Microsoft.KeyVault whether this parameter is set or not.
```yaml
Type: System.Management.Automation.SwitchParameter
@@ -209,6 +237,20 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -UserIdentityEncryption
+User Assigned Identity associated with the account to be used for encryption. The user assigned identity reference will be ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'
+
+```yaml
+Type: System.String
+Parameter Sets: KeyVaultEncryption
+Aliases:
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Tags
Key-value pairs in the form of a hash table. For example:
@{key0="value0";key1=$null;key2="value2"}
diff --git a/src/Automation/Automation/help/Set-AzAutomationAccount.md b/src/Automation/Automation/help/Set-AzAutomationAccount.md
index dacc8e0d6846..b43272d80fde 100644
--- a/src/Automation/Automation/help/Set-AzAutomationAccount.md
+++ b/src/Automation/Automation/help/Set-AzAutomationAccount.md
@@ -56,6 +56,20 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -AssignUserIdentity
+Specifies the list of user assigned identities associated with the automation account. The user assigned identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -AutomationServicesEncryption
Specify whether set Automation Account Encryption KeySource to Microsoft.AutomationServices or not.
@@ -85,6 +99,20 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -DisablePublicNetworkAccess
+Whether to disable traffic on the non-ARM endpoints (Webhook/Agent) from the public internet and allow access only through private network.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -KeyName
Automation Account encryption KeyVault KeyName
@@ -190,6 +218,20 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
+### -UserIdentityEncryption
+User Assigned Identity associated with the account to be used for encryption. The user assigned identity reference will be ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'
+
+```yaml
+Type: System.String
+Parameter Sets: KeyVaultEncryption
+Aliases:
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
### -Tags
Key-value pairs in the form of a hash table. For example:
@{key0="value0";key1=$null;key2="value2"}