Skip to content

Commit 71de355

Browse files
Update api version of kubernetes configuration to 2021-03-01 (#14306)
Co-authored-by: wyunchi-ms <[email protected]> Co-authored-by: Dingmeng Xue <[email protected]>
1 parent 6904f19 commit 71de355

File tree

124 files changed

+2220
-2295
lines changed

Some content is hidden

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

124 files changed

+2220
-2295
lines changed

src/KubernetesConfiguration/Az.KubernetesConfiguration.format.ps1xml

Lines changed: 110 additions & 182 deletions
Large diffs are not rendered by default.

src/KubernetesConfiguration/Az.KubernetesConfiguration.psd1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 1/14/2021
6+
# Generated on: 2021-02-24
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
RootModule = './Az.KubernetesConfiguration.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.2.0'
15+
ModuleVersion = '0.1.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -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 = ''
@@ -108,7 +108,7 @@ PrivateData = @{
108108
# IconUri = ''
109109

110110
# ReleaseNotes of this module
111-
ReleaseNotes = '* Upgrade API version from 2019-11-01-preview to 2020-10-01-preview.'
111+
# ReleaseNotes = ''
112112

113113
# Prerelease string of this module
114114
# Prerelease = ''

src/KubernetesConfiguration/ChangeLog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Upgraded API version to 2021-03-01.
2122

2223
## Version 0.2.0
23-
* Upgrade API version from 2019-11-01-preview to 2020-10-01-preview.
24+
* Upgraded API version from 2019-11-01-preview to 2020-10-01-preview.
2425

2526
## Version 0.1.0
26-
* the first preview release
27+
* The first preview release
2728

src/KubernetesConfiguration/custom/New-AzKubernetesConfiguration.ps1

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ Create a new Kubernetes Source Control Configuration.
1919
.Description
2020
Create a new Kubernetes Source Control Configuration.
2121
.Outputs
22-
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
22+
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
2323
.Link
24-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
24+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
2525
#>
2626
function New-AzKubernetesConfiguration {
27-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
27+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
2828
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
2929
param(
3030
[Parameter(Mandatory, HelpMessage="The name of the kubernetes cluster.")]
@@ -157,13 +157,6 @@ function New-AzKubernetesConfiguration {
157157
)
158158

159159
process {
160-
161-
if ($PSBoundParameters.ContainsKey('EnableHelmOperator')) {
162-
$PSBoundParameters.EnableHelmOperator = [Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Support.EnableHelmOperatorType]::True
163-
} else {
164-
$PSBoundParameters.EnableHelmOperator = [Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Support.EnableHelmOperatorType]::False
165-
}
166-
167160
if ($PSBoundParameters.ContainsKey('ClusterScoped')) {
168161
$PSBoundParameters.OperatorScope = [Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Support.OperatorScopeType]::Cluster
169162
} else {

src/KubernetesConfiguration/custom/Remove-AzKubernetesConfiguration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
3636
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
3737
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
3838
.Link
39-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
39+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
4040
#>
4141
function Remove-AzKubernetesConfiguration {
4242
[OutputType([System.Boolean])]

src/KubernetesConfiguration/custom/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ These provide functionality to our HTTP pipeline and other useful features. In s
3232
### Attributes
3333
For processing the cmdlets, we've created some additional attributes:
3434
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.DescriptionAttribute`
35-
- Used in C# cmdlets to provide a high-level description of the cmdlet. This is propegated to reference documentation via [help comments](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
35+
- Used in C# cmdlets to provide a high-level description of the cmdlet. This is propegated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
3636
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.DoNotExportAttribute`
3737
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.KubernetesConfiguration`.
3838
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.InternalExportAttribute`
3939
- Used in C# cmdlets to route exported cmdlets to the `..\internal`, which are *not exposed* by `Az.KubernetesConfiguration`. For more information, see [readme.md](..\internal/readme.md) in the `..\internal` folder.
4040
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.ProfileAttribute`
41-
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
41+
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.

src/KubernetesConfiguration/exports/Get-AzKubernetesConfiguration.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ k8sconfig-t02 12/21/2020 5:29:33 AM
4848
.Inputs
4949
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.IKubernetesConfigurationIdentity
5050
.Outputs
51-
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
51+
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
5252
.Notes
5353
COMPLEX PARAMETER PROPERTIES
5454
@@ -63,10 +63,10 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
6363
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
6464
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
6565
.Link
66-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
66+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
6767
#>
6868
function Get-AzKubernetesConfiguration {
69-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
69+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
7070
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
7171
param(
7272
[Parameter(ParameterSetName='Get', Mandatory)]

src/KubernetesConfiguration/exports/New-AzKubernetesConfiguration.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType
3232
k8sconfig-t02 12/21/2020 5:26:17 AM 12/21/2020 5:26:17 AM Microsoft.KubernetesConfiguration/so…
3333
3434
.Outputs
35-
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
35+
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
3636
.Link
37-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
37+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
3838
#>
3939
function New-AzKubernetesConfiguration {
40-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
40+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
4141
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
4242
param(
4343
[Parameter(Mandatory)]

src/KubernetesConfiguration/exports/ProxyCmdletDefinitions.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ k8sconfig-t02 12/21/2020 5:29:33 AM
4848
.Inputs
4949
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.IKubernetesConfigurationIdentity
5050
.Outputs
51-
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
51+
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
5252
.Notes
5353
COMPLEX PARAMETER PROPERTIES
5454
@@ -63,10 +63,10 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
6363
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
6464
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
6565
.Link
66-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
66+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
6767
#>
6868
function Get-AzKubernetesConfiguration {
69-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
69+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
7070
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
7171
param(
7272
[Parameter(ParameterSetName='Get', Mandatory)]
@@ -243,12 +243,12 @@ Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType
243243
k8sconfig-t02 12/21/2020 5:26:17 AM 12/21/2020 5:26:17 AM Microsoft.KubernetesConfiguration/so…
244244
245245
.Outputs
246-
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
246+
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
247247
.Link
248-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
248+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
249249
#>
250250
function New-AzKubernetesConfiguration {
251-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
251+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
252252
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
253253
param(
254254
[Parameter(Mandatory)]
@@ -464,7 +464,7 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
464464
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
465465
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
466466
.Link
467-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
467+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
468468
#>
469469
function Remove-AzKubernetesConfiguration {
470470
[OutputType([System.Boolean])]

src/KubernetesConfiguration/exports/Remove-AzKubernetesConfiguration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
4444
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
4545
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
4646
.Link
47-
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
47+
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
4848
#>
4949
function Remove-AzKubernetesConfiguration {
5050
[OutputType([System.Boolean])]
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
2-
"autorest_remodeler": "2.1.27",
3-
"autorest_csharp-v3": "3.0.0-dev.20200811.1",
4-
"microsoft.azure_autorest.csharp": "2.3.82",
5-
"autorest_powershell": "3.0.403",
6-
"node": "v10.16.0",
7-
"microsoft.azure_autorest-core": "2.0.4417",
8-
"microsoft.azure_autorest.modeler": "2.3.55",
9-
"autorest_modelerfour": "4.15.378",
10-
"swagger_commit": "f126b8628b4552422c616a9f22cc20da404c1984",
11-
"autorest": "3.0.6187",
12-
"autorest_core": "3.0.6306"
2+
"node": "v10.16.3",
3+
"autorest": "3.0.6149",
4+
"swagger_commit": "9420548a9db8345c775f47f9e37762b9cb874993"
135
}

0 commit comments

Comments
 (0)