Skip to content

Commit e119862

Browse files
Updated AzureResourceManager.psd1 to include Automation module
1 parent 857e1a2 commit e119862

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@
6565
<Reference Include="Microsoft.Azure.Common.NetFramework">
6666
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.0.2\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
6767
</Reference>
68-
<Reference Include="Microsoft.Azure.Management.Automation">
69-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Automation.2.0.0.0-prerelease\Microsoft.Azure.Management.Automation.dll</HintPath>
68+
<Reference Include="Microsoft.Azure.Management.Automation, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL">
69+
<SpecificVersion>False</SpecificVersion>
70+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Automation.2.0.0.0-prerelease\lib\net40\Microsoft.Azure.Management.Automation.dll</HintPath>
7071
</Reference>
7172
<Reference Include="Microsoft.Azure.ResourceManager, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7273
<SpecificVersion>False</SpecificVersion>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void SetClientIdHeader(string clientRequestId)
8686
var response = this.automationManagementClient.AutomationAccounts.List(
8787
resourceGroupName);
8888
return new ResponseWithSkipToken<AutomationManagement.Models.AutomationAccount>(
89-
response, response.AutomationAccount);
89+
response, response.AutomationAccounts);
9090
}).Select(c => new Model.AutomationAccount(resourceGroupName, c));
9191
}
9292

src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ FormatsToProcess = @(
7070

7171
# Modules to import as nested modules of the module specified in ModuleToProcess
7272
NestedModules = @(
73+
'.\Automation\Microsoft.Azure.Commands.ResourceManager.Automation.dll',
7374
'.\Resources\Microsoft.Azure.Commands.Resources.dll',
7475
'.\Resources\Microsoft.WindowsAzure.Commands.Profile.dll',
7576
'.\Tags\Microsoft.Azure.Commands.Tags.dll',

0 commit comments

Comments
 (0)