Skip to content

[KubernetesConfiguration] Upgrade api version to 2021-03-01 #14306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
292 changes: 110 additions & 182 deletions src/KubernetesConfiguration/Az.KubernetesConfiguration.format.ps1xml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/KubernetesConfiguration/Az.KubernetesConfiguration.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 1/14/2021
# Generated on: 2021-02-24
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = './Az.KubernetesConfiguration.psm1'

# Version number of this module.
ModuleVersion = '0.2.0'
ModuleVersion = '0.1.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
DotNetFrameworkVersion = '4.7.2'

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

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
Expand Down Expand Up @@ -108,7 +108,7 @@ PrivateData = @{
# IconUri = ''

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

# Prerelease string of this module
# Prerelease = ''
Expand Down
5 changes: 3 additions & 2 deletions src/KubernetesConfiguration/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
- Additional information about change #1
-->
## Upcoming Release
* Upgraded API version to 2021-03-01.

## Version 0.2.0
* Upgrade API version from 2019-11-01-preview to 2020-10-01-preview.
* Upgraded API version from 2019-11-01-preview to 2020-10-01-preview.

## Version 0.1.0
* the first preview release
* The first preview release

Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ Create a new Kubernetes Source Control Configuration.
.Description
Create a new Kubernetes Source Control Configuration.
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
#>
function New-AzKubernetesConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory, HelpMessage="The name of the kubernetes cluster.")]
Expand Down Expand Up @@ -157,13 +157,6 @@ function New-AzKubernetesConfiguration {
)

process {

if ($PSBoundParameters.ContainsKey('EnableHelmOperator')) {
$PSBoundParameters.EnableHelmOperator = [Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Support.EnableHelmOperatorType]::True
} else {
$PSBoundParameters.EnableHelmOperator = [Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Support.EnableHelmOperatorType]::False
}

if ($PSBoundParameters.ContainsKey('ClusterScoped')) {
$PSBoundParameters.OperatorScope = [Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Support.OperatorScopeType]::Cluster
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
#>
function Remove-AzKubernetesConfiguration {
[OutputType([System.Boolean])]
Expand Down
4 changes: 2 additions & 2 deletions src/KubernetesConfiguration/custom/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ These provide functionality to our HTTP pipeline and other useful features. In s
### Attributes
For processing the cmdlets, we've created some additional attributes:
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.DescriptionAttribute`
- 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.
- 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.
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.DoNotExportAttribute`
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.KubernetesConfiguration`.
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.InternalExportAttribute`
- 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.
- `Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.ProfileAttribute`
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
- Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ k8sconfig-t02 12/21/2020 5:29:33 AM
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.IKubernetesConfigurationIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
.Notes
COMPLEX PARAMETER PROPERTIES

Expand All @@ -63,10 +63,10 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
#>
function Get-AzKubernetesConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType
k8sconfig-t02 12/21/2020 5:26:17 AM 12/21/2020 5:26:17 AM Microsoft.KubernetesConfiguration/so…

.Outputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
#>
function New-AzKubernetesConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
Expand Down
14 changes: 7 additions & 7 deletions src/KubernetesConfiguration/exports/ProxyCmdletDefinitions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ k8sconfig-t02 12/21/2020 5:29:33 AM
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.IKubernetesConfigurationIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
.Notes
COMPLEX PARAMETER PROPERTIES

Expand All @@ -63,10 +63,10 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/get-azkubernetesconfiguration
#>
function Get-AzKubernetesConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
[Parameter(ParameterSetName='Get', Mandatory)]
Expand Down Expand Up @@ -243,12 +243,12 @@ Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType
k8sconfig-t02 12/21/2020 5:26:17 AM 12/21/2020 5:26:17 AM Microsoft.KubernetesConfiguration/so…

.Outputs
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration
Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/new-azkubernetesconfiguration
#>
function New-AzKubernetesConfiguration {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20201001Preview.ISourceControlConfiguration])]
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.KubernetesConfiguration.Models.Api20210301.ISourceControlConfiguration])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
[Parameter(Mandatory)]
Expand Down Expand Up @@ -464,7 +464,7 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
#>
function Remove-AzKubernetesConfiguration {
[OutputType([System.Boolean])]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ INPUTOBJECT <IKubernetesConfigurationIdentity>: Identity Parameter
[SourceControlConfigurationName <String>]: Name of the Source Control Configuration.
[SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
.Link
https://docs.microsoft.com/en-us/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
https://docs.microsoft.com/powershell/module/az.kubernetesconfiguration/remove-azkubernetesconfiguration
#>
function Remove-AzKubernetesConfiguration {
[OutputType([System.Boolean])]
Expand Down
14 changes: 3 additions & 11 deletions src/KubernetesConfiguration/generate-info.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
{
"autorest_remodeler": "2.1.27",
"autorest_csharp-v3": "3.0.0-dev.20200811.1",
"microsoft.azure_autorest.csharp": "2.3.82",
"autorest_powershell": "3.0.403",
"node": "v10.16.0",
"microsoft.azure_autorest-core": "2.0.4417",
"microsoft.azure_autorest.modeler": "2.3.55",
"autorest_modelerfour": "4.15.378",
"swagger_commit": "f126b8628b4552422c616a9f22cc20da404c1984",
"autorest": "3.0.6187",
"autorest_core": "3.0.6306"
"node": "v10.16.3",
"autorest": "3.0.6149",
"swagger_commit": "9420548a9db8345c775f47f9e37762b9cb874993"
}
Loading