Skip to content

Commit 458bbec

Browse files
authored
Merge pull request #5732 from maddieclayton/Kub
Update Kubernetes module
2 parents 6b5fd47 + 65f54ce commit 458bbec

File tree

87 files changed

+8255
-698434
lines changed

Some content is hidden

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

87 files changed

+8255
-698434
lines changed

Azure.PowerShell.Netcore.sln

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Network.Netcore", "s
4545
EndProject
4646
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.KeyVault.Netcore", "src\ResourceManager\KeyVault\Commands.KeyVault\Commands.KeyVault.Netcore.csproj", "{814E7BBB-3D69-410A-81CF-374C29CC5C6B}"
4747
EndProject
48-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Kubernetes.Netcore", "src\ResourceManager\Kubernetes\Commands.Kubernetes\Commands.Kubernetes.Netcore.csproj", "{80657644-11E5-435B-A3DB-DFBB7115089F}"
49-
EndProject
50-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Kubernetes.Test.Netcore", "src\ResourceManager\Kubernetes\Commands.Kubernetes.Test\Commands.Kubernetes.Test.Netcore.csproj", "{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}"
48+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commands.Aks.Netcore", "src\ResourceManager\Aks\Commands.Aks\Commands.Aks.Netcore.csproj", "{80657644-11E5-435B-A3DB-DFBB7115089F}"
5149
EndProject
5250
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Common.Strategies.Netcore", "src\ResourceManager\Common\Commands.Common.Strategies\Common.Strategies.Netcore.csproj", "{77492655-0086-49E8-B941-7C3E9D5448E9}"
5351
EndProject
@@ -315,18 +313,6 @@ Global
315313
{80657644-11E5-435B-A3DB-DFBB7115089F}.Release|x64.Build.0 = Release|Any CPU
316314
{80657644-11E5-435B-A3DB-DFBB7115089F}.Release|x86.ActiveCfg = Release|Any CPU
317315
{80657644-11E5-435B-A3DB-DFBB7115089F}.Release|x86.Build.0 = Release|Any CPU
318-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
319-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Debug|Any CPU.Build.0 = Debug|Any CPU
320-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Debug|x64.ActiveCfg = Debug|Any CPU
321-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Debug|x64.Build.0 = Debug|Any CPU
322-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Debug|x86.ActiveCfg = Debug|Any CPU
323-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Debug|x86.Build.0 = Debug|Any CPU
324-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Release|Any CPU.ActiveCfg = Release|Any CPU
325-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Release|Any CPU.Build.0 = Release|Any CPU
326-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Release|x64.ActiveCfg = Release|Any CPU
327-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Release|x64.Build.0 = Release|Any CPU
328-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Release|x86.ActiveCfg = Release|Any CPU
329-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A}.Release|x86.Build.0 = Release|Any CPU
330316
{77492655-0086-49E8-B941-7C3E9D5448E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
331317
{77492655-0086-49E8-B941-7C3E9D5448E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
332318
{77492655-0086-49E8-B941-7C3E9D5448E9}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -358,7 +344,6 @@ Global
358344
GlobalSection(NestedProjects) = preSolution
359345
{87246108-B555-4F5F-B916-A9C6FABB1971} = {4B187BE1-F8C4-4658-AD17-98AA087482AA}
360346
{624FE5CE-0F46-4A0A-9A1B-54D5724B7F96} = {4B187BE1-F8C4-4658-AD17-98AA087482AA}
361-
{E52DCBCD-CCEF-46E1-880B-CAE04A06804A} = {4B187BE1-F8C4-4658-AD17-98AA087482AA}
362347
{B0EF35E9-2D7A-4AAE-8A1A-728B6CC8524B} = {4B187BE1-F8C4-4658-AD17-98AA087482AA}
363348
EndGlobalSection
364349
GlobalSection(ExtensibilityGlobals) = postSolution

TestMappings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"src/Common/Commands.Common.Authentication.Test/": [
1212
".\\src\\Common\\Commands.Common.Authentication.Test\\bin\\Debug\\Microsoft.Azure.Commands.Common.Authentication.Test.dll"
1313
],
14+
"src/ResourceManager/Aks/": [
15+
".\\src\\ResourceManager\\Aks\\Commands.Aks.Test\\bin\\Debug\\Microsoft.Azure.Commands.Aks.Test.dll"
16+
],
1417
"src/ResourceManager/AnalysisServices/": [
1518
".\\src\\ResourceManager\\AnalysisServices\\Commands.AnalysisServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.AnalysisServices.Test.dll"
1619
],

src/ResourceManager/Kubernetes/Kubernetes.sln renamed to src/ResourceManager/Aks/Aks.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 14
44
VisualStudioVersion = 14.0.25420.1
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Kubernetes", "Commands.Kubernetes\Commands.Kubernetes.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Aks", "Commands.Aks\Commands.Aks.csproj", "{8058D403-06E3-4BED-8924-D166CE303961}"
77
EndProject
88
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common", "..\..\Common\Commands.Common\Commands.Common.csproj", "{5EE72C53-1720-4309-B54B-5FB79703195F}"
99
EndProject
@@ -17,7 +17,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Common.Authorizati
1717
EndProject
1818
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{2FCD151C-4DC7-41A1-AF45-EF66C47EC6B3}"
1919
EndProject
20-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Kubernetes.Test", "Commands.Kubernetes.Test\Commands.Kubernetes.Test.csproj", "{D61726C4-A130-4CA1-A119-40BAC87ED761}"
20+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.Aks.Test", "Commands.Aks.Test\Commands.Aks.Test.csproj", "{D61726C4-A130-4CA1-A119-40BAC87ED761}"
2121
EndProject
2222
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.ScenarioTests.ResourceManager.Common", "..\Common\Commands.ScenarioTests.ResourceManager.Common\Commands.ScenarioTests.ResourceManager.Common.csproj", "{3436A126-EDC9-4060-8952-9A1BE34CDD95}"
2323
EndProject

src/ResourceManager/Kubernetes/AzureRM.Kubernetes.Netcore.psd1 renamed to src/ResourceManager/Aks/AzureRM.Aks.Netcore.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module 'PSGet_AzureRM.Resources'
2+
# Module manifest for module 'PSGet_AzureRM.Aks'
33
#
44
# Generated by: Microsoft Corporation
55
#
@@ -68,13 +68,13 @@ TypesToProcess = @()
6868
FormatsToProcess = @()
6969

7070
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
71-
NestedModules = @('.\Microsoft.Azure.Commands.Kubernetes.dll')
71+
NestedModules = @('.\Microsoft.Azure.Commands.Aks.dll')
7272

7373
# 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.
7474
FunctionsToExport = @()
7575

7676
# Cmdlets 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 cmdlets to export.
77-
CmdletsToExport = @('Get-AzureRmKubernetes', 'New-AzureRmKubernetes', 'Remove-AzureRmKubernetes', 'Import-AzureRmKubernetesCredential', 'Start-AzureRmKubernetesDashboard', 'Stop-AzureRmKubernetesDashboard', 'Set-AzureRmKubernetes')
77+
CmdletsToExport = @('Get-AzureRmAks', 'New-AzureRmAks', 'Remove-AzureRmAks', 'Import-AzureRmAksCredential', 'Start-AzureRmAksDashboard', 'Stop-AzureRmAksDashboard', 'Set-AzureRmAks')
7878

7979
# Variables to export from this module
8080
# VariablesToExport = @()

src/ResourceManager/Kubernetes/AzureRM.Kubernetes.psd1 renamed to src/ResourceManager/Aks/AzureRM.Aks.psd1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module 'PSGet_AzureRM.Kubernetes'
2+
# Module manifest for module 'PSGet_AzureRM.Aks'
33
#
44
# Generated by: Microsoft Corporation
55
#
@@ -66,16 +66,16 @@ RequiredAssemblies = '.\YamlDotNet.dll',
6666
# TypesToProcess = @()
6767

6868
# Format files (.ps1xml) to be loaded when importing this module
69-
# FormatsToProcess = '.\Microsoft.Azure.Commands.Kubernetes.Format.ps1xml'
69+
# FormatsToProcess = '.\Microsoft.Azure.Commands.Aks.Format.ps1xml'
7070

7171
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
72-
NestedModules = @('.\Microsoft.Azure.Commands.Kubernetes.dll')
72+
NestedModules = @('.\Microsoft.Azure.Commands.Aks.dll')
7373

7474
# 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.
7575
FunctionsToExport = @()
7676

7777
# Cmdlets 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 cmdlets to export.
78-
CmdletsToExport = @('Get-AzureRmKubernetes', 'New-AzureRmKubernetes', 'Remove-AzureRmKubernetes', 'Import-AzureRmKubernetesCredential', 'Start-AzureRmKubernetesDashboard', 'Stop-AzureRmKubernetesDashboard', 'Set-AzureRmKubernetes')
78+
CmdletsToExport = @('Get-AzureRmAks', 'New-AzureRmAks', 'Remove-AzureRmAks', 'Import-AzureRmAksCredential', 'Start-AzureRmAksDashboard', 'Stop-AzureRmAksDashboard', 'Set-AzureRmAks')
7979

8080
# Variables to export from this module
8181
# VariablesToExport = @()
File renamed without changes.
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<ProjectGuid>{D61726C4-A130-4CA1-A119-40BAC87ED761}</ProjectGuid>
1010
<OutputType>Library</OutputType>
1111
<AppDesignerFolder>Properties</AppDesignerFolder>
12-
<RootNamespace>Microsoft.Azure.Commands.Kubernetes.Test</RootNamespace>
13-
<AssemblyName>Microsoft.Azure.Commands.Kubernetes.Test</AssemblyName>
12+
<RootNamespace>Microsoft.Azure.Commands.Aks.Test</RootNamespace>
13+
<AssemblyName>Microsoft.Azure.Commands.Aks.Test</AssemblyName>
1414
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
1515
<FileAlignment>512</FileAlignment>
1616
</PropertyGroup>
@@ -136,7 +136,7 @@
136136
<None Include="ScenarioTests\KubernetesTests.ps1">
137137
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
138138
</None>
139-
<None Include="SessionRecords\**\*.json">
139+
<None Include="SessionRecords\Commands.Aks.Test.ScenarioTests.KubernetesTests\TestAzureKubernetes.json">
140140
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
141141
</None>
142142
</ItemGroup>
@@ -162,6 +162,10 @@
162162
<Project>{5ee72c53-1720-4309-b54b-5fb79703195f}</Project>
163163
<Name>Commands.Common</Name>
164164
</ProjectReference>
165+
<ProjectReference Include="..\..\Common\Commands.Common.Authentication.ResourceManager\Commands.Common.Authentication.ResourceManager.csproj">
166+
<Project>{69C2EB6B-CD63-480A-89A0-C489706E9299}</Project>
167+
<Name>Commands.Common.Authentication.ResourceManager</Name>
168+
</ProjectReference>
165169
<ProjectReference Include="..\..\Common\Commands.ResourceManager.Common\Commands.ResourceManager.Common.csproj">
166170
<Project>{3819d8a7-c62c-4c47-8ddd-0332d9ce1252}</Project>
167171
<Name>Commands.ResourceManager.Common</Name>
@@ -170,12 +174,11 @@
170174
<Project>{3436a126-edc9-4060-8952-9a1be34cdd95}</Project>
171175
<Name>Commands.ScenarioTests.ResourceManager.Common</Name>
172176
</ProjectReference>
173-
<ProjectReference Include="..\Commands.Kubernetes\Commands.Kubernetes.csproj">
174-
<Project>{5243702C-E17A-4934-817F-2C91245C8509}</Project>
175-
<Name>Commands.Kubernetes</Name>
177+
<ProjectReference Include="..\Commands.Aks\Commands.Aks.csproj">
178+
<Project>{8058D403-06E3-4BED-8924-D166CE303961}</Project>
179+
<Name>Commands.Aks</Name>
176180
</ProjectReference>
177181
</ItemGroup>
178-
<ItemGroup />
179182
<ItemGroup>
180183
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
181184
</ItemGroup>

0 commit comments

Comments
 (0)