Skip to content

Commit fff624b

Browse files
authored
Merge branch 'master' into dev
2 parents e0ad533 + f6f53c9 commit fff624b

File tree

61 files changed

+5366
-528
lines changed

Some content is hidden

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

61 files changed

+5366
-528
lines changed

src/Automation/Automation.Test/ScenarioTests/AutomationTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ public void TestAutomationStartUnpublishedRunbook()
7777
[Trait(Category.Service, Category.Automation)]
7878
public void TestAutomationRunbookWithParameter()
7979
{
80-
TestRunner.RunTestScript("Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\Test-PowershellRunbook.ps1 -type 'PowerShell' -parameters @{'nums'=@(1,2,3,4,5,6,7)} -expectedResult 28");
80+
TestRunner.RunTestScript("Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\Test-PowershellRunbook.ps1 -type 'PowerShell' -parameters @{'nums'=@(1,2,3,4,5,6,7)} -expectedResult 28");
8181
}
8282

8383
[Fact(Skip = "Need x64 test framework.")]
8484
[Trait(Category.AcceptanceType, Category.CheckIn)]
8585
[Trait(Category.Service, Category.Automation)]
8686
public void TestAutomationPy2RunbookWithParameter()
8787
{
88-
TestRunner.RunTestScript("Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\TestPythonRunbook.py -type 'Python2' -parameters @{'param1'='1';'param2'='2';'param3'='3';'param4'='4';'param5'='5';'param6'='6';'param7'='7'} -expectedResult 28");
88+
TestRunner.RunTestScript("Test-RunbookWithParameter -runbookPath ScenarioTests\\Resources\\TestPythonRunbook.py -type 'Python2' -parameters @{'param1'='1';'param2'='2';'param3'='3';'param4'='4';'param5'='5';'param6'='6';'param7'='7'} -expectedResult 28");
8989
}
9090
}
9191
}

src/Automation/Automation.Test/ScenarioTests/AutomationTests.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ function Test-RunbookWithParameter
115115
$job = $automationAccount | Start-AzAutomationRunbook -Name $runbook.Name -Parameters $parameters
116116
WaitForJobStatus -Id $job.JobId -Status "Completed"
117117
$jobOutput = $automationAccount | Get-AzAutomationJobOutput -Id $job.JobId -Stream Output
118-
119118
[int]$Result = $jobOutput | Select-Object -Last 1 -ExpandProperty Summary
120119
Assert-AreEqual $expectedResult $Result
121120

src/Automation/Automation.Test/ScenarioTests/Resources/Test-PowershellRunbook.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ Param(
33
)
44

55
Write-Output "Starting process"
6-
76
$sum = ($nums | Measure-Object -Sum).Sum
8-
97
Write-Output "Process completed"
108
Write-Output $sum

src/Automation/Automation.Test/ScenarioTests/Resources/TestPythonRunbook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import sys
22

33
print("Starting process")
4-
54
sum = 0
5+
66
for i in range(1,len(sys.argv)):
77
sum = sum + int(sys.argv[i])
88

src/Automation/Automation.Test/ScenarioTests/UpdateDynamicGroupPrePostTests.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,14 @@ public void TestGetSoftwareUpdateConfigurationRunWithPrePost()
117117
TestRunner.RunTestScript("Test-GetSoftwareUpdateConfigurationRunWithPrePost");
118118
}
119119

120+
[Fact]
121+
[Trait(Category.Service, Category.Automation)]
122+
[Trait(Category.RunType, Category.LiveOnly)]
123+
[Trait(Category.AcceptanceType, Category.CheckIn)]
124+
[Trait(Category.AcceptanceType, Category.BVT)]
125+
public void TestGetSoftwareUpdateConfigurationAzureDynamicGroupLocationParameterBackwardCompatiple()
126+
{
127+
TestRunner.RunTestScript("Test-CreateAndGetSoftwareUpdateConfigurationWithAzureDynamicGroupsWithLocationParameterbackwardCompatiple");
128+
}
120129
}
121130
}

src/Automation/Automation.Test/ScenarioTests/UpdateDynamicGroupPrePostTests.ps1

Lines changed: 58 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ $query1Scope = @(
175175
$azq = New-AzAutomationUpdateManagementAzureQuery -ResourceGroupName $rg `
176176
-AutomationAccountName $aa `
177177
-Scope $query1Scope `
178-
-Locaton $query1Location `
178+
-Location $query1Location `
179179
-Tag $tag1
180180

181181

@@ -248,7 +248,7 @@ $query1Scope = @(
248248
$azq = New-AzAutomationUpdateManagementAzureQuery -ResourceGroupName $rg `
249249
-AutomationAccountName $aa `
250250
-Scope $query1Scope `
251-
-Locaton $query1Location `
251+
-Location $query1Location `
252252
-Tag $tag1
253253

254254

@@ -295,6 +295,62 @@ Test-CreateAndGetSoftwareUpdateConfigurationWithAzureDynamicGroupsOnlyWithOutTag
295295
-StartTime $startTime `
296296
-ForUpdate
297297

298+
$query1Scope = @(
299+
"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus"
300+
)
301+
302+
$query1Location =@("Japan East", "UK South")
303+
$query1FilterOperator = "All"
304+
305+
$azq = New-AzAutomationUpdateManagementAzureQuery -ResourceGroupName $rg `
306+
-AutomationAccountName $aa `
307+
-Scope $query1Scope `
308+
-Location $query1Location `
309+
-FilterOperator $query1FilterOperator
310+
311+
$AzureQueries = @($azq)
312+
313+
$suc = New-AzAutomationSoftwareUpdateConfiguration -ResourceGroupName $rg `
314+
-AutomationAccountName $aa `
315+
-Schedule $s `
316+
-Window `
317+
-Duration (New-TimeSpan -Hours 2) `
318+
-AzureQuery $AzureQueries `
319+
-IncludedUpdateClassification Security,Critical
320+
321+
322+
Assert-NotNull $suc "New-AzureRmAutomationSoftwareUpdateConfiguration returned null"
323+
Assert-AreEqual $suc.Name $name "Name of created software update configuration didn't match given name"
324+
325+
$sucGet = Get-AzAutomationSoftwareUpdateConfiguration -ResourceGroupName $rg `
326+
-AutomationAccountName $aa `
327+
-Name $name
328+
329+
Assert-NotNull $sucGet "Get-AzureRmAutomationSoftwareUpdateConfiguration returned null"
330+
Assert-AreEqual $sucGet.Name $name "Name of created software update configuration didn't match given name"
331+
Assert-NotNull $sucGet.UpdateConfiguration "UpdateConfiguration of the software update configuration object is null"
332+
Assert-NotNull $sucGet.UpdateConfiguration.Targets "Update targets object is null"
333+
Assert-NotNull $sucGet.UpdateConfiguration.Targets.AzureQueries "Update targets azureQueries list null"
334+
Assert-AreEqual $sucGet.UpdateConfiguration.Targets.AzureQueries.Count 1 "Update targets doesn't have the correct number of azure queries"
335+
336+
}
337+
338+
<#
339+
.SYNOPSIS
340+
Test-CreateAndGetSoftwareUpdateConfigurationWithAzureDynamicGroupsOnlyWithOutTags
341+
#>
342+
function Test-CreateAndGetSoftwareUpdateConfigurationWithAzureDynamicGroupsWithLocationParameterbackwardCompatiple
343+
{
344+
$name = "DG-suc-04"
345+
$startTime = ([DateTime]::Now).AddMinutes(10)
346+
$s = New-AzAutomationSchedule -ResourceGroupName $rg `
347+
-AutomationAccountName $aa `
348+
-Name $name `
349+
-Description test-OneTime `
350+
-OneTime `
351+
-StartTime $startTime `
352+
-ForUpdate
353+
298354
$query1Scope = @(
299355
"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus"
300356
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"Entries": [
3+
{
4+
"RequestUri": "/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04?api-version=2017-05-15-preview",
5+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2Q0NWYyM2ItYjgzMi00ZmE0LWE0MzQtMWJmN2U2ZjE0YTVhL3Jlc291cmNlR3JvdXBzL21tcy13Y3VzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvSmVtYWxPTVNBdXRvbWF0aW9uL3NvZnR3YXJlVXBkYXRlQ29uZmlndXJhdGlvbnMvREctc3VjLTA0P2FwaS12ZXJzaW9uPTIwMTctMDUtMTUtcHJldmlldw==",
6+
"RequestMethod": "PUT",
7+
"RequestBody": "{\r\n \"properties\": {\r\n \"updateConfiguration\": {\r\n \"operatingSystem\": \"Windows\",\r\n \"windows\": {\r\n \"includedUpdateClassifications\": \"Security,Critical\",\r\n \"rebootSetting\": \"IfRequired\"\r\n },\r\n \"duration\": \"PT2H\",\r\n \"targets\": {\r\n \"azureQueries\": [\r\n {\r\n \"scope\": [\r\n \"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus\"\r\n ],\r\n \"locations\": [\r\n \"Japan East\",\r\n \"UK South\"\r\n ],\r\n \"tagSettings\": {\r\n \"tags\": {},\r\n \"filterOperator\": \"Any\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"scheduleInfo\": {\r\n \"startTime\": \"2019-04-26T16:34:51.9929739-07:00\",\r\n \"expiryTime\": \"9999-12-31T15:59:59.9999999-08:00\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": false,\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"frequency\": \"Onetime\",\r\n \"creationTime\": \"0001-01-01T00:00:00-08:00\",\r\n \"lastModifiedTime\": \"0001-01-01T00:00:00-08:00\"\r\n },\r\n \"tasks\": {}\r\n }\r\n}",
8+
"RequestHeaders": {
9+
"x-ms-client-request-id": [
10+
"137754ee-4f5f-4c55-b9a4-95466b7e9cb7"
11+
],
12+
"Accept-Language": [
13+
"en-US"
14+
],
15+
"User-Agent": [
16+
"FxVersion/4.6.27129.04",
17+
"OSName/Windows",
18+
"OSVersion/Microsoft.Windows.10.0.17763.",
19+
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.1.0"
20+
],
21+
"x-ms-activity-id": [
22+
"42356e59-c15e-4af7-8502-7cd102b9234a"
23+
],
24+
"Content-Type": [
25+
"application/json; charset=utf-8"
26+
],
27+
"Content-Length": [
28+
"1101"
29+
]
30+
},
31+
"ResponseHeaders": {
32+
"Cache-Control": [
33+
"no-cache"
34+
],
35+
"Pragma": [
36+
"no-cache"
37+
],
38+
"Location": [
39+
"https://management.azure.com/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04?api-version=2017-05-15-preview"
40+
],
41+
"x-ms-request-id": [
42+
"42356e59-c15e-4af7-8502-7cd102b9234a"
43+
],
44+
"x-ms-location": [
45+
"https://management.azure.com/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04?api-version=2017-05-15-preview"
46+
],
47+
"ocp-location": [
48+
"https://management.azure.com/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04?api-version=2017-05-15-preview"
49+
],
50+
"Strict-Transport-Security": [
51+
"max-age=31536000; includeSubDomains"
52+
],
53+
"Server": [
54+
"Microsoft-IIS/10.0"
55+
],
56+
"X-AspNet-Version": [
57+
"4.0.30319"
58+
],
59+
"X-Powered-By": [
60+
"ASP.NET"
61+
],
62+
"x-ms-ratelimit-remaining-subscription-writes": [
63+
"1199"
64+
],
65+
"x-ms-correlation-request-id": [
66+
"5f893cfa-43ec-411f-93f3-ec97b7e3c7de"
67+
],
68+
"x-ms-routing-request-id": [
69+
"WESTUS2:20190426T232459Z:5f893cfa-43ec-411f-93f3-ec97b7e3c7de"
70+
],
71+
"X-Content-Type-Options": [
72+
"nosniff"
73+
],
74+
"Date": [
75+
"Fri, 26 Apr 2019 23:24:59 GMT"
76+
],
77+
"Content-Length": [
78+
"1451"
79+
],
80+
"Content-Type": [
81+
"application/json; charset=utf-8"
82+
],
83+
"Expires": [
84+
"-1"
85+
]
86+
},
87+
"ResponseBody": "{\r\n \"id\": \"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04\",\r\n \"name\": \"DG-suc-04\",\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\": \"IfRequired\",\r\n \"IsInvalidKbNumbers\": false\r\n },\r\n \"linux\": null,\r\n \"targets\": {\r\n \"azureQueries\": [\r\n {\r\n \"scope\": [\r\n \"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus\"\r\n ],\r\n \"tagSettings\": {\r\n \"tags\": {},\r\n \"filterOperator\": \"Any\"\r\n },\r\n \"locations\": [\r\n \"Japan East\",\r\n \"UK South\"\r\n ]\r\n }\r\n ],\r\n \"nonAzureQueries\": null\r\n },\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": null,\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"scheduleInfo\": {\r\n \"description\": null,\r\n \"startTime\": \"2019-04-26T16:34:00-07:00\",\r\n \"startTimeOffsetMinutes\": 0.0,\r\n \"expiryTime\": \"2019-04-26T16:34:00-07:00\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRun\": \"2019-04-26T16:34:00-07:00\",\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"interval\": null,\r\n \"frequency\": \"OneTime\",\r\n \"creationTime\": \"2019-04-26T16:24:52.7-07:00\",\r\n \"lastModifiedTime\": \"2019-04-26T16:24:52.7-07:00\",\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\": null,\r\n \"postTask\": null\r\n },\r\n \"creationTime\": \"2019-04-26T16:24:52.7066667-07:00\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2019-04-26T16:24:52.7233333-07:00\"\r\n }\r\n}",
88+
"StatusCode": 201
89+
},
90+
{
91+
"RequestUri": "/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04?api-version=2017-05-15-preview",
92+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvY2Q0NWYyM2ItYjgzMi00ZmE0LWE0MzQtMWJmN2U2ZjE0YTVhL3Jlc291cmNlR3JvdXBzL21tcy13Y3VzL3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMvSmVtYWxPTVNBdXRvbWF0aW9uL3NvZnR3YXJlVXBkYXRlQ29uZmlndXJhdGlvbnMvREctc3VjLTA0P2FwaS12ZXJzaW9uPTIwMTctMDUtMTUtcHJldmlldw==",
93+
"RequestMethod": "GET",
94+
"RequestBody": "",
95+
"RequestHeaders": {
96+
"x-ms-client-request-id": [
97+
"d8c1fb19-2319-48f4-a31d-ffdc350e9ab1"
98+
],
99+
"Accept-Language": [
100+
"en-US"
101+
],
102+
"User-Agent": [
103+
"FxVersion/4.6.27129.04",
104+
"OSName/Windows",
105+
"OSVersion/Microsoft.Windows.10.0.17763.",
106+
"Microsoft.Azure.Management.Automation.AutomationClient/3.8.1.0"
107+
],
108+
"x-ms-activity-id": [
109+
"4b7d2e6b-4afd-402e-8d39-d548f7daf646"
110+
]
111+
},
112+
"ResponseHeaders": {
113+
"Cache-Control": [
114+
"no-cache"
115+
],
116+
"Pragma": [
117+
"no-cache"
118+
],
119+
"x-ms-request-id": [
120+
"4b7d2e6b-4afd-402e-8d39-d548f7daf646"
121+
],
122+
"Strict-Transport-Security": [
123+
"max-age=31536000; includeSubDomains"
124+
],
125+
"Server": [
126+
"Microsoft-IIS/10.0"
127+
],
128+
"X-AspNet-Version": [
129+
"4.0.30319"
130+
],
131+
"X-Powered-By": [
132+
"ASP.NET"
133+
],
134+
"x-ms-ratelimit-remaining-subscription-reads": [
135+
"11998"
136+
],
137+
"x-ms-correlation-request-id": [
138+
"d554678b-a483-479f-91e1-86f4f0705936"
139+
],
140+
"x-ms-routing-request-id": [
141+
"WESTUS2:20190426T232455Z:d554678b-a483-479f-91e1-86f4f0705936"
142+
],
143+
"X-Content-Type-Options": [
144+
"nosniff"
145+
],
146+
"Date": [
147+
"Fri, 26 Apr 2019 23:24:55 GMT"
148+
],
149+
"Content-Length": [
150+
"1448"
151+
],
152+
"Content-Type": [
153+
"application/json; charset=utf-8"
154+
],
155+
"Expires": [
156+
"-1"
157+
]
158+
},
159+
"ResponseBody": "{\r\n \"id\": \"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus/providers/Microsoft.Automation/automationAccounts/JemalOMSAutomation/softwareUpdateConfigurations/DG-suc-04\",\r\n \"name\": \"DG-suc-04\",\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\": \"IfRequired\",\r\n \"IsInvalidKbNumbers\": false\r\n },\r\n \"linux\": null,\r\n \"targets\": {\r\n \"azureQueries\": [\r\n {\r\n \"scope\": [\r\n \"/subscriptions/cd45f23b-b832-4fa4-a434-1bf7e6f14a5a/resourceGroups/mms-wcus\"\r\n ],\r\n \"tagSettings\": {\r\n \"tags\": {},\r\n \"filterOperator\": \"Any\"\r\n },\r\n \"locations\": [\r\n \"Japan East\",\r\n \"UK South\"\r\n ]\r\n }\r\n ],\r\n \"nonAzureQueries\": null\r\n },\r\n \"duration\": \"PT2H\",\r\n \"azureVirtualMachines\": null,\r\n \"nonAzureComputerNames\": null\r\n },\r\n \"scheduleInfo\": {\r\n \"description\": null,\r\n \"startTime\": \"2019-04-26T16:34:00-07:00\",\r\n \"startTimeOffsetMinutes\": 0.0,\r\n \"expiryTime\": \"2019-04-26T16:34:00-07:00\",\r\n \"expiryTimeOffsetMinutes\": 0.0,\r\n \"isEnabled\": true,\r\n \"nextRun\": \"2019-04-26T16:34:00-07:00\",\r\n \"nextRunOffsetMinutes\": 0.0,\r\n \"interval\": null,\r\n \"frequency\": \"OneTime\",\r\n \"creationTime\": \"2019-04-26T16:24:52.7-07:00\",\r\n \"lastModifiedTime\": \"2019-04-26T16:24:52.7-07:00\",\r\n \"timeZone\": \"UTC\",\r\n \"advancedSchedule\": null\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"createdBy\": \"{scrubbed}\",\r\n \"error\": null,\r\n \"tasks\": {\r\n \"preTask\": null,\r\n \"postTask\": null\r\n },\r\n \"creationTime\": \"2019-04-26T16:24:52.7066667-07:00\",\r\n \"lastModifiedBy\": null,\r\n \"lastModifiedTime\": \"2019-04-26T16:24:52.7233333-07:00\"\r\n }\r\n}",
160+
"StatusCode": 200
161+
}
162+
],
163+
"Names": {},
164+
"Variables": {
165+
"SubscriptionId": "cd45f23b-b832-4fa4-a434-1bf7e6f14a5a"
166+
}
167+
}

src/Automation/Automation/ChangeLog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
* Updated Get-AzAutomationJobOutputRecord to handle JSON and Text record values.
2222
- Fix for issue https://github.com/Azure/azure-powershell/issues/7977
2323
- Fix for issue https://github.com/Azure/azure-powershell/issues/8600
24-
24+
* Bug fix for NewAZAutomationUpdateManagementAzureQuery
25+
* Changed behavior for Start-AzAutomationDscCompilationJob to just start the job instead of waiting for its completion.
26+
* Fix for issue https://github.com/Azure/azure-powershell/issues/8347
27+
* Fix for Get-AzAutomationDscNode when using -Name returns all node. Now it returns matching node only.
28+
2529
## Version 1.2.1
2630
* Fixed New-AzAutomationSoftwareUpdateConfiguration cmdlet bug for Inclusions. Now parameter IncludedKbNumber and IncludedPackageNameMask should work.
2731
* Bug fix for azure automation update management dynamic group

src/Automation/Automation/Cmdlet/StartAzureAutomationDscCompilationJob.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
using Microsoft.Azure.Commands.Automation.Model;
1616
using Microsoft.Azure.Commands.Automation.Properties;
17+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1718
using System;
1819
using System.Collections;
1920
using System.Globalization;

0 commit comments

Comments
 (0)