Skip to content

Commit 494cda9

Browse files
committed
Moved the MachineLearningCompute project and files into MachineLearning. Added psd1 info from MachineLearningCompute into MachineLearning psd1. Added MachineLearningCompute module and test projects to MachineLearning solution. Fixed Tags module build path. Fixed mappings file module mapping.
1 parent b063ed8 commit 494cda9

File tree

47 files changed

+31
-350
lines changed

Some content is hidden

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

47 files changed

+31
-350
lines changed

src/ResourceManager/MachineLearning/Commands.MachineLearning/Az.MachineLearning.psd1

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ DotNetFrameworkVersion = '4.7.2'
5454
RequiredModules = @(@{ModuleName = 'Az.Profile'; ModuleVersion = '0.6.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
57-
RequiredAssemblies = '.\Microsoft.Azure.Management.MachineLearning.dll'
57+
RequiredAssemblies = '.\Microsoft.Azure.Management.MachineLearning.dll',
58+
'.\Microsoft.Azure.Management.MachineLearningCompute.dll'
5859

5960
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
6061
# ScriptsToProcess = @()
@@ -66,7 +67,8 @@ RequiredAssemblies = '.\Microsoft.Azure.Management.MachineLearning.dll'
6667
# FormatsToProcess = @()
6768

6869
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
69-
NestedModules = @('.\Microsoft.Azure.Commands.MachineLearning.dll')
70+
NestedModules = @('.\Microsoft.Azure.Commands.MachineLearning.dll',
71+
'.\Microsoft.Azure.Commands.MachineLearningCompute.dll')
7072

7173
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7274
FunctionsToExport = @()
@@ -80,7 +82,11 @@ CmdletsToExport = 'Move-AzMlCommitmentAssociation',
8082
'Get-AzMlWebService', 'Update-AzMlWebService',
8183
'Export-AzMlWebService', 'Get-AzMlWebServiceKeys',
8284
'Import-AzMlWebService', 'New-AzMlCommitmentPlan',
83-
'New-AzMlWebService', 'Add-AzMlWebServiceRegionalProperty'
85+
'New-AzMlWebService', 'Add-AzMlWebServiceRegionalProperty',
86+
'Get-AzMlOpCluster', 'Get-AzMlOpClusterKey',
87+
'Test-AzMlOpClusterSystemServicesUpdateAvailability',
88+
'Update-AzMlOpClusterSystemService', 'New-AzMlOpCluster',
89+
'Remove-AzMlOpCluster', 'Set-AzMlOpCluster'
8490

8591
# Variables to export from this module
8692
# VariablesToExport = @()
@@ -103,7 +109,7 @@ PrivateData = @{
103109
PSData = @{
104110

105111
# Tags applied to this module. These help with module discovery in online galleries.
106-
Tags = 'Azure', 'ResourceManager', 'ARM', 'MachineLearning'
112+
Tags = 'Azure', 'ResourceManager', 'ARM', 'MachineLearning', 'MachineLearningCompute'
107113

108114
# A URL to the license for this module.
109115
LicenseUri = 'https://aka.ms/azps-license'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void RunPsTestWorkflow(
7171
_helper.SetupModules(AzureModule.AzureResourceManager,
7272
"ScenarioTests\\" + callingClassName + ".ps1",
7373
_helper.RMProfileModule,
74-
_helper.GetRMModulePath(@"AzureRM.MachineLearningCompute.psd1"),
74+
_helper.GetRMModulePath(@"AzureRM.MachineLearning.psd1"),
7575
"AzureRM.Resources.ps1");
7676

7777
try
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1111
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
13-
<OutputPath>$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.MachineLearningCompute\</OutputPath>
13+
<OutputPath>$(ProjectDir)..\..\..\Package\$(Configuration)\ResourceManager\AzureResourceManager\Az.MachineLearning\</OutputPath>
1414
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1515
<WarningsAsErrors />
1616
</PropertyGroup>
@@ -31,12 +31,6 @@
3131
<PackageReference Include="Microsoft.Azure.Management.MachineLearningCompute" Version="0.4.0" />
3232
</ItemGroup>
3333

34-
<ItemGroup>
35-
<None Include="Az.MachineLearningCompute.psd1">
36-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
37-
</None>
38-
</ItemGroup>
39-
4034
<ItemGroup>
4135
<Compile Update="Properties\Resources.Designer.cs">
4236
<DesignTime>true</DesignTime>

src/ResourceManager/MachineLearning/MachineLearning.sln

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.MachineLearning.Te
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Profile.Netcore", "..\Profile\Commands.Profile\Commands.Profile.Netcore.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
1313
EndProject
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.MachineLearningCompute.Netcore", "Commands.MachineLearningCompute\Commands.MachineLearningCompute.Netcore.csproj", "{FBC1BE5E-090F-49E1-8D88-DD4728542682}"
15+
EndProject
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.MachineLearningCompute.Test.Netcore", "Commands.MachineLearningCompute.Test\Commands.MachineLearningCompute.Test.Netcore.csproj", "{B612F0B1-574F-4B17-A1E6-29C7C70F7F3B}"
17+
EndProject
1418
Global
1519
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1620
Debug|Any CPU = Debug|Any CPU
@@ -29,12 +33,21 @@ Global
2933
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
3034
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
3135
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
36+
{FBC1BE5E-090F-49E1-8D88-DD4728542682}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
37+
{FBC1BE5E-090F-49E1-8D88-DD4728542682}.Debug|Any CPU.Build.0 = Debug|Any CPU
38+
{FBC1BE5E-090F-49E1-8D88-DD4728542682}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{FBC1BE5E-090F-49E1-8D88-DD4728542682}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{B612F0B1-574F-4B17-A1E6-29C7C70F7F3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
41+
{B612F0B1-574F-4B17-A1E6-29C7C70F7F3B}.Debug|Any CPU.Build.0 = Debug|Any CPU
42+
{B612F0B1-574F-4B17-A1E6-29C7C70F7F3B}.Release|Any CPU.ActiveCfg = Release|Any CPU
43+
{B612F0B1-574F-4B17-A1E6-29C7C70F7F3B}.Release|Any CPU.Build.0 = Release|Any CPU
3244
EndGlobalSection
3345
GlobalSection(SolutionProperties) = preSolution
3446
HideSolutionNode = FALSE
3547
EndGlobalSection
3648
GlobalSection(NestedProjects) = preSolution
3749
{1C4B42F4-439E-4C5B-AA02-4C8DF1033B77} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
50+
{B612F0B1-574F-4B17-A1E6-29C7C70F7F3B} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
3851
EndGlobalSection
3952
GlobalSection(ExtensibilityGlobals) = postSolution
4053
SolutionGuid = {DB774157-B011-4C8C-8A71-A594EAF0DC2A}

src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute.Test/app.config

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/Az.MachineLearningCompute.psd1

Lines changed: 0 additions & 135 deletions
This file was deleted.

src/ResourceManager/MachineLearningCompute/Commands.MachineLearningCompute/ChangeLog.md

Lines changed: 0 additions & 71 deletions
This file was deleted.

src/ResourceManager/MachineLearningCompute/MachineLearningCompute.sln

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)