Skip to content

Commit 071db49

Browse files
lijinpei2008azure-powershell-botBethanyZhou
authored
[Kubernetes Configuration] Move KubernetesConfiguration to release-2021-11-02 (#16257)
* Move KubernetesConfiguration to release-2021-11-02 * Update ChangeLog.md Update some message * Update ChangeLog.md * Update src/KubernetesConfiguration/custom/Remove-AzKubernetesExtension.ps1 * Update src/KubernetesConfiguration/exports/Remove-AzKubernetesExtension.ps1 * Update src/KubernetesConfiguration/help/Remove-AzKubernetesExtension.md * Update src/KubernetesConfiguration/help/New-AzKubernetesExtension.md * Update src/KubernetesConfiguration/custom/New-AzKubernetesExtension.ps1 * Update src/KubernetesConfiguration/exports/New-AzKubernetesExtension.ps1 * Update src/KubernetesConfiguration/custom/Get-AzKubernetesExtension.ps1 * Update src/KubernetesConfiguration/exports/Get-AzKubernetesExtension.ps1 * Update src/KubernetesConfiguration/help/Get-AzKubernetesExtension.md * Update src/KubernetesConfiguration/ChangeLog.md Co-authored-by: azure-powershell-bot <[email protected]> Co-authored-by: Beisi Zhou <[email protected]>
1 parent d790a20 commit 071db49

File tree

298 files changed

+40244
-1505
lines changed

Some content is hidden

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

298 files changed

+40244
-1505
lines changed

src/KubernetesConfiguration/Az.KubernetesConfiguration.format.ps1xml

Lines changed: 626 additions & 36 deletions
Large diffs are not rendered by default.

src/KubernetesConfiguration/Az.KubernetesConfiguration.psd1

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 5/20/2021
6+
# Generated on: 10/28/2021
77
#
88

99
@{
@@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
4545
DotNetFrameworkVersion = '4.7.2'
4646

4747
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
48-
# CLRVersion = ''
48+
# ClrVersion = ''
4949

5050
# Processor architecture (None, X86, Amd64) required by this module
5151
# ProcessorArchitecture = ''
@@ -69,8 +69,10 @@ FormatsToProcess = './Az.KubernetesConfiguration.format.ps1xml'
6969
# NestedModules = @()
7070

7171
# 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.
72-
FunctionsToExport = 'Get-AzKubernetesConfiguration', 'New-AzKubernetesConfiguration',
73-
'Remove-AzKubernetesConfiguration'
72+
FunctionsToExport = 'Get-AzKubernetesConfiguration', 'Get-AzKubernetesExtension',
73+
'New-AzKubernetesConfiguration', 'New-AzKubernetesExtension',
74+
'Remove-AzKubernetesConfiguration', 'Remove-AzKubernetesExtension',
75+
'Update-AzKubernetesExtension'
7476

7577
# 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.
7678
CmdletsToExport = @()
@@ -79,7 +81,10 @@ CmdletsToExport = @()
7981
# VariablesToExport = @()
8082

8183
# Aliases 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 aliases to export.
82-
AliasesToExport = '*'
84+
AliasesToExport = 'Get-AzK8sConfiguration', 'Get-AzK8sExtension',
85+
'New-AzK8sConfiguration', 'New-AzK8sExtension',
86+
'Remove-AzK8sConfiguration', 'Remove-AzK8sExtension',
87+
'Update-AzK8sExtension', '*'
8388

8489
# DSC resources to export from this module
8590
# DscResourcesToExport = @()
@@ -108,7 +113,7 @@ PrivateData = @{
108113
# IconUri = ''
109114

110115
# ReleaseNotes of this module
111-
ReleaseNotes = '* Added SshKnownHosts and ConfigurationProtectedSetting to New-AzKubernetesConfiguration.'
116+
# ReleaseNotes = ''
112117

113118
# Prerelease string of this module
114119
# Prerelease = ''

src/KubernetesConfiguration/Az.KubernetesConfiguration.psm1

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# region Generated
22
# ----------------------------------------------------------------------------------
3-
#
4-
# Copyright Microsoft Corporation
5-
# Licensed under the Apache License, Version 2.0 (the "License");
6-
# you may not use this file except in compliance with the License.
7-
# You may obtain a copy of the License at
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
14+
# is regenerated.
1415
# ----------------------------------------------------------------------------------
1516
# Load required Az.Accounts module
1617
$accountsName = 'Az.Accounts'
@@ -32,7 +33,7 @@
3233
}
3334

3435
if(-not $accountsModule) {
35-
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps" -ErrorAction Stop
36+
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
3637
} elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) {
3738
Write-Error "`nThis module requires $accountsName version 2.2.3 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
3839
}
@@ -50,6 +51,7 @@
5051
# Tweaks the pipeline on module load
5152
$instance.OnModuleLoad = $VTable.OnModuleLoad
5253

54+
5355
# Tweaks the pipeline per call
5456
$instance.OnNewRequest = $VTable.OnNewRequest
5557

src/KubernetesConfiguration/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Onboarded cmdlets `New/Update/Get/Remove-AzKubernetesExtension` and `New/Get/Remove-AzKubernetesConfiguration`
22+
* Removed the plural form of parameter HelmOperatorChartValues, OperatorParameters and SshKnownHosts in `New-AzKubernetesConfiguration`
2123

2224
## Version 0.4.0
2325
* Added SshKnownHosts and ConfigurationProtectedSetting to New-AzKubernetesConfiguration.
Lines changed: 86 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,104 @@
1+
12
Microsoft Visual Studio Solution File, Format Version 12.00
23
# Visual Studio Version 16
3-
VisualStudioVersion = 16.0.29709.97
4+
VisualStudioVersion = 16.6.30114.105
45
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{3093A1F1-31CD-4563-BE4B-B17AA4207692}"
67
EndProject
7-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{62843FE6-7575-4D88-B989-7DF7EEC0BC01}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}"
89
EndProject
9-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{442C609B-A431-4A71-B289-08F0B63C83E5}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{9D93BC23-8AF2-4365-9C42-5394C6EA9869}"
1011
EndProject
11-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}"
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{968C92F4-7A13-4E28-8997-538F2F54823B}"
1213
EndProject
13-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Az.KubernetesConfiguration", "Az.KubernetesConfiguration.csproj", "{1C203C0C-E0FD-40D2-B79E-C6DA52E4E350}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}"
15+
EndProject
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.KubernetesConfiguration", "Az.KubernetesConfiguration.csproj", "{59382982-6677-4EEC-8AF4-141B3BDA3DBA}"
1417
EndProject
1518
Global
1619
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1720
Debug|Any CPU = Debug|Any CPU
21+
Debug|x64 = Debug|x64
22+
Debug|x86 = Debug|x86
1823
Release|Any CPU = Release|Any CPU
19-
EndGlobalSection
20-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Debug|Any CPU.Build.0 = Debug|Any CPU
23-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.ActiveCfg = Release|Any CPU
24-
{142D7B0B-388A-4CEB-A228-7F6D423C5C2E}.Release|Any CPU.Build.0 = Release|Any CPU
25-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Debug|Any CPU.Build.0 = Debug|Any CPU
27-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Release|Any CPU.ActiveCfg = Release|Any CPU
28-
{62843FE6-7575-4D88-B989-7DF7EEC0BC01}.Release|Any CPU.Build.0 = Release|Any CPU
29-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
30-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
31-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
32-
{442C609B-A431-4A71-B289-08F0B63C83E5}.Release|Any CPU.Build.0 = Release|Any CPU
33-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
34-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
35-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
36-
{59E8F6B8-8F0E-403F-B88B-9736DBC396D9}.Release|Any CPU.Build.0 = Release|Any CPU
37-
{1C203C0C-E0FD-40D2-B79E-C6DA52E4E350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
38-
{1C203C0C-E0FD-40D2-B79E-C6DA52E4E350}.Debug|Any CPU.Build.0 = Debug|Any CPU
39-
{1C203C0C-E0FD-40D2-B79E-C6DA52E4E350}.Release|Any CPU.ActiveCfg = Release|Any CPU
40-
{1C203C0C-E0FD-40D2-B79E-C6DA52E4E350}.Release|Any CPU.Build.0 = Release|Any CPU
24+
Release|x64 = Release|x64
25+
Release|x86 = Release|x86
4126
EndGlobalSection
4227
GlobalSection(SolutionProperties) = preSolution
4328
HideSolutionNode = FALSE
4429
EndGlobalSection
45-
GlobalSection(ExtensibilityGlobals) = postSolution
46-
SolutionGuid = {F9B3D96E-9680-40BE-A917-02EE655D6030}
30+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
31+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Debug|x64.ActiveCfg = Debug|Any CPU
34+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Debug|x64.Build.0 = Debug|Any CPU
35+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Debug|x86.ActiveCfg = Debug|Any CPU
36+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Debug|x86.Build.0 = Debug|Any CPU
37+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Release|Any CPU.ActiveCfg = Release|Any CPU
38+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Release|Any CPU.Build.0 = Release|Any CPU
39+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Release|x64.ActiveCfg = Release|Any CPU
40+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Release|x64.Build.0 = Release|Any CPU
41+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Release|x86.ActiveCfg = Release|Any CPU
42+
{3093A1F1-31CD-4563-BE4B-B17AA4207692}.Release|x86.Build.0 = Release|Any CPU
43+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Debug|x64.ActiveCfg = Debug|Any CPU
46+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Debug|x64.Build.0 = Debug|Any CPU
47+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Debug|x86.ActiveCfg = Debug|Any CPU
48+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Debug|x86.Build.0 = Debug|Any CPU
49+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Release|x64.ActiveCfg = Release|Any CPU
52+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Release|x64.Build.0 = Release|Any CPU
53+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Release|x86.ActiveCfg = Release|Any CPU
54+
{8EFA7A0C-CF28-4959-A46D-112BB2FA1FB2}.Release|x86.Build.0 = Release|Any CPU
55+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Debug|x64.ActiveCfg = Debug|Any CPU
58+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Debug|x64.Build.0 = Debug|Any CPU
59+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Debug|x86.ActiveCfg = Debug|Any CPU
60+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Debug|x86.Build.0 = Debug|Any CPU
61+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Release|Any CPU.ActiveCfg = Release|Any CPU
62+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Release|Any CPU.Build.0 = Release|Any CPU
63+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Release|x64.ActiveCfg = Release|Any CPU
64+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Release|x64.Build.0 = Release|Any CPU
65+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Release|x86.ActiveCfg = Release|Any CPU
66+
{9D93BC23-8AF2-4365-9C42-5394C6EA9869}.Release|x86.Build.0 = Release|Any CPU
67+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
68+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Debug|Any CPU.Build.0 = Debug|Any CPU
69+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Debug|x64.ActiveCfg = Debug|Any CPU
70+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Debug|x64.Build.0 = Debug|Any CPU
71+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Debug|x86.ActiveCfg = Debug|Any CPU
72+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Debug|x86.Build.0 = Debug|Any CPU
73+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Release|Any CPU.ActiveCfg = Release|Any CPU
74+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Release|Any CPU.Build.0 = Release|Any CPU
75+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Release|x64.ActiveCfg = Release|Any CPU
76+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Release|x64.Build.0 = Release|Any CPU
77+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Release|x86.ActiveCfg = Release|Any CPU
78+
{968C92F4-7A13-4E28-8997-538F2F54823B}.Release|x86.Build.0 = Release|Any CPU
79+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
80+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
81+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Debug|x64.ActiveCfg = Debug|Any CPU
82+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Debug|x64.Build.0 = Debug|Any CPU
83+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Debug|x86.ActiveCfg = Debug|Any CPU
84+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Debug|x86.Build.0 = Debug|Any CPU
85+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
86+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Release|Any CPU.Build.0 = Release|Any CPU
87+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Release|x64.ActiveCfg = Release|Any CPU
88+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Release|x64.Build.0 = Release|Any CPU
89+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Release|x86.ActiveCfg = Release|Any CPU
90+
{2FA4E05B-5AF3-426E-98CE-EDF06B56CFBA}.Release|x86.Build.0 = Release|Any CPU
91+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
92+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
93+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Debug|x64.ActiveCfg = Debug|Any CPU
94+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Debug|x64.Build.0 = Debug|Any CPU
95+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Debug|x86.ActiveCfg = Debug|Any CPU
96+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Debug|x86.Build.0 = Debug|Any CPU
97+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
98+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Release|Any CPU.Build.0 = Release|Any CPU
99+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Release|x64.ActiveCfg = Release|Any CPU
100+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Release|x64.Build.0 = Release|Any CPU
101+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Release|x86.ActiveCfg = Release|Any CPU
102+
{59382982-6677-4EEC-8AF4-141B3BDA3DBA}.Release|x86.Build.0 = Release|Any CPU
47103
EndGlobalSection
48104
EndGlobal

src/KubernetesConfiguration/build-module.ps1

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ----------------------------------------------------------------------------------
2-
#
3-
# Copyright Microsoft Corporation
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
43
# Licensed under the Apache License, Version 2.0 (the "License");
54
# you may not use this file except in compliance with the License.
65
# You may obtain a copy of the License at
@@ -10,6 +9,8 @@
109
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1110
# See the License for the specific language governing permissions and
1211
# limitations under the License.
12+
# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
13+
# is regenerated.
1314
# ----------------------------------------------------------------------------------
1415
param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
1516
$ErrorActionPreference = 'Stop'
@@ -104,13 +105,13 @@ if(Test-Path $customPsm1) {
104105

105106
$exportsFolder = Join-Path $PSScriptRoot 'exports'
106107
if(Test-Path $exportsFolder) {
107-
$null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
108+
$null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
108109
}
109110
$null = New-Item -ItemType Directory -Force -Path $exportsFolder
110111

111112
$internalFolder = Join-Path $PSScriptRoot 'internal'
112113
if(Test-Path $internalFolder) {
113-
$null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
114+
$null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
114115
}
115116
$null = New-Item -ItemType Directory -Force -Path $internalFolder
116117

@@ -122,7 +123,10 @@ $null = New-Item -ItemType Directory -Force -Path $examplesFolder
122123

123124
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
124125
$modelCmdlets = @()
125-
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1') -Models $modelCmdlets
126+
if ($modelCmdlets.Count -gt 0) {
127+
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
128+
CreateModelCmdlet($modelCmdlets)
129+
}
126130

127131
if($NoDocs) {
128132
Write-Host -ForegroundColor Green 'Creating exports...'
@@ -132,7 +136,7 @@ if($NoDocs) {
132136
$moduleDescription = 'Microsoft Azure PowerShell: KubernetesConfiguration cmdlets'
133137
$docsFolder = Join-Path $PSScriptRoot 'docs'
134138
if(Test-Path $docsFolder) {
135-
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'readme.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
139+
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
136140
}
137141
$null = New-Item -ItemType Directory -Force -Path $docsFolder
138142
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid

0 commit comments

Comments
 (0)