Skip to content

Commit a36cfad

Browse files
Took latest
1 parent 44fc1ac commit a36cfad

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ResourceManager/Automation/Commands.Automation/Commands.Automation.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,9 @@
241241
</ProjectReference>
242242
</ItemGroup>
243243
<ItemGroup>
244-
<Reference Include="Microsoft.Azure.Management.Automation, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
244+
<Reference Include="Microsoft.Azure.Management.Automation, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
245245
<SpecificVersion>False</SpecificVersion>
246246
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Automation.3.0.3-preview\lib\net452\Microsoft.Azure.Management.Automation.dll</HintPath>
247-
<Private>True</Private>
248247
</Reference>
249248
</ItemGroup>
250249
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

src/ResourceManager/Automation/Commands.Automation/Common/AutomationPSClientDSC.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ string nodeConfigurationName
720720
// Note: No need to check if an existing configuration is already assigned. The confirmation is obtained when the cmdlet is executed
721721
// ***
722722

723-
var nodeConfiguration = new DscNodeConfigurationAssociationProperty { Name = nodeConfigurationName };
723+
var nodeConfiguration = new DscNodeUpdateParametersProperties { Name = nodeConfigurationName };
724724

725725
var node =
726726
this.automationManagementClient.DscNode.Update(
@@ -730,7 +730,7 @@ string nodeConfigurationName
730730
new DscNodeUpdateParameters
731731
{
732732
NodeId = nodeId.ToString(),
733-
NodeConfiguration = nodeConfiguration
733+
Properties = nodeConfiguration
734734
});
735735

736736
return new Model.DscNode(resourceGroupName, automationAccountName, node);

src/ResourceManager/Automation/Commands.Automation/Model/HybridRunbookWorkerGroup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public HybridRunbookWorkerGroup(string resourceGroupName, string accountName, Az
4141
this.ResourceGroupName = resourceGroupName;
4242
this.AutomationAccountName = accountName;
4343
this.Name = hybridRunbookWorkerGroup.Name;
44+
this.GroupType = hybridRunbookWorkerGroup.GroupType;
4445

4546
RunbookWorker = new List<HybridRunbookWorker>();
4647
foreach (var worker in hybridRunbookWorkerGroup.HybridRunbookWorkers)

0 commit comments

Comments
 (0)