diff --git a/src/Aks/Aks.Autorest/Az.Aks.psm1 b/src/Aks/Aks.Autorest/Az.Aks.psm1 index b72b5838375e..9e7c5d960408 100644 --- a/src/Aks/Aks.Autorest/Az.Aks.psm1 +++ b/src/Aks/Aks.Autorest/Az.Aks.psm1 @@ -25,17 +25,17 @@ } } if(-not $accountsModule) { - $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.2.3' } | Measure-Object).Count -gt 0 + $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0 if($hasAdequateVersion) { - $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.2.3 -Scope Global -PassThru + $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru } } } if(-not $accountsModule) { - 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 - } elseif (($accountsModule.Version -lt [System.Version]'2.2.3') -and (-not $localAccounts)) { - 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 + Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop + } elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) { + Write-Error "`nThis module requires $accountsName version 2.7.5 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 } Write-Information "Loaded Module '$($accountsModule.Name)'" @@ -50,6 +50,10 @@ # Tweaks the pipeline on module load $instance.OnModuleLoad = $VTable.OnModuleLoad + + # Following two delegates are added for telemetry + $instance.GetTelemetryId = $VTable.GetTelemetryId + $instance.Telemetry = $VTable.Telemetry # Tweaks the pipeline per call diff --git a/src/Aks/Aks.Autorest/README.md b/src/Aks/Aks.Autorest/README.md index 2cebb0de7107..2056bcfac0ce 100644 --- a/src/Aks/Aks.Autorest/README.md +++ b/src/Aks/Aks.Autorest/README.md @@ -17,7 +17,7 @@ This directory contains the PowerShell module for the Aks service. This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension. ## Module Requirements -- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.2.3 or greater +- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater ## Authentication AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent. diff --git a/src/Aks/Aks.Autorest/check-dependencies.ps1 b/src/Aks/Aks.Autorest/check-dependencies.ps1 index b02ae9135957..c29591c7bfe1 100644 --- a/src/Aks/Aks.Autorest/check-dependencies.ps1 +++ b/src/Aks/Aks.Autorest/check-dependencies.ps1 @@ -25,7 +25,7 @@ if(-not $Isolated) { function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) { if($predicate) { $module = Get-Module -ListAvailable -Name $moduleName - if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0)) { + if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0) -or ($requiredVersion -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -eq [System.Version]$requiredVersion } | Measure-Object).Count -eq 0)) { $null = New-Item -ItemType Directory -Force -Path $path Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..." if ($requiredVersion) { @@ -47,7 +47,7 @@ if(Test-Path -Path $localModulesPath) { $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath" } -DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.2.3' +DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.7.5' DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1' $tools = Join-Path $PSScriptRoot 'tools' diff --git a/src/Aks/Aks.Autorest/create-model-cmdlets.ps1 b/src/Aks/Aks.Autorest/create-model-cmdlets.ps1 index 4a4e4fface44..faf7f453844a 100644 --- a/src/Aks/Aks.Autorest/create-model-cmdlets.ps1 +++ b/src/Aks/Aks.Autorest/create-model-cmdlets.ps1 @@ -23,7 +23,7 @@ function CreateModelCmdlet { } $ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated\api') 'Models' - $ModuleName = 'Az.Aks'.Split(".")[1] + $ModuleName = 'Aks' $OutputDir = Join-Path $PSScriptRoot 'custom\autogen-model-cmdlets' $null = New-Item -ItemType Directory -Force -Path $OutputDir @@ -115,7 +115,9 @@ function CreateModelCmdlet { # check whether completer is needed $completer = ''; if($Type.Split('.').Split('.')[-2] -eq 'Support') { - $completer += "`n [ArgumentCompleter([${Type}])]" + # If Type is an array, need to strip [] + $strippedType = $Type.Replace('[]', '') + $completer += "`n [ArgumentCompleter([${strippedType}])]" } $ParameterDefineScript = " [Parameter($ParameterDefineProperty)]${completer} diff --git a/src/Aks/Aks.Autorest/custom/Install-AzAksCliTool.ps1 b/src/Aks/Aks.Autorest/custom/Install-AzAksCliTool.ps1 new file mode 100644 index 000000000000..b22bb52155f5 --- /dev/null +++ b/src/Aks/Aks.Autorest/custom/Install-AzAksCliTool.ps1 @@ -0,0 +1,331 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Download and install kubectl and kubelogin. +.Description +Download and install kubectl and kubelogin. +#> +function Install-AzAksCliTool +{ + [OutputType([System.Boolean])] + [Alias("Install-AzAksKubectl")] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.CmdletBreakingChangeAttribute("9.0.0", "2022/10/12", ReplacementCmdletName = 'Install-AzAksCliTool')] + param( + [Alias("KubectlInstallDestination")] + [Parameter()] + [System.String] + # Path at which to install kubectl. Default to install into ~/.azure-kubectl/ + ${Destination}, + + [Alias("KubectlInstallVersion")] + [Parameter()] + [System.String] + # Version of kubectl to install, e.g. 'v1.17.2'. Default value: Latest. + ${Version}, + + [Alias("KubectlDownloadFromMirror")] + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/ + ${DownloadFromMirror}, + + [Parameter()] + [System.String] + # Path at which to install kubectl. Default to install into ~/.azure-kubelogin/ + ${KubeloginInstallDestination}, + + [Parameter()] + [System.String] + # Version of kubectl to install, e.g. 'v0.0.20'. Default value: Latest + ${KubeloginInstallVersion}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Download from mirror site : https://mirror.azure.cn/kubernetes/kubelogin + ${KubeloginDownloadFromMirror}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${PassThru}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Run cmdlet in the background + ${AsJob}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Overwrite existing kubectl and kubelogin without prompt + ${Force} + ) + + process + { + #Region Install kubectl + $KubectlParams = @{} + If ($PSBoundParameters.ContainsKey("Destination")) + { + $KubectlParams["Destination"] = $PSBoundParameters["Destination"] + } + If ($PSBoundParameters.ContainsKey("Version")) + { + $KubectlParams["Version"] = $PSBoundParameters["Version"] + } + If ($PSBoundParameters.ContainsKey("DownloadFromMirror")) + { + $KubectlParams["DownloadFromMirror"] = $PSBoundParameters["DownloadFromMirror"] + } + If ($PSBoundParameters.ContainsKey("Force")) + { + $KubectlParams["Force"] = $PSBoundParameters["Force"] + } + Install-Kubectl @KubectlParams + #EndRegion + + #Region Install kubelogin + $KubeloginParams = @{} + If ($PSBoundParameters.ContainsKey("KubeloginInstallDestination")) + { + $KubeloginParams["Destination"] = $PSBoundParameters["KubeloginInstallDestination"] + } + If ($PSBoundParameters.ContainsKey("KubeloginInstallVersion")) + { + $KubeloginParams["Version"] = $PSBoundParameters["KubeloginInstallVersion"] + } + If ($PSBoundParameters.ContainsKey("KubeloginDownloadFromMirror")) + { + $KubeloginParams["DownloadFromMirror"] = $PSBoundParameters["KubeloginDownloadFromMirror"] + } + If ($PSBoundParameters.ContainsKey("Force")) + { + $KubeloginParams["Force"] = $PSBoundParameters["Force"] + } + Install-Kubelogin @KubeloginParams + #EndRegion + } +} + +Function Install-Kubectl +{ + [Microsoft.Azure.PowerShell.Cmdlets.Aks.DoNotExportAttribute()] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + [Parameter()] + [System.String] + ${Destination}, + + [Parameter()] + [System.String] + ${Version}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${DownloadFromMirror}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${Force} + ) + + Process + { + $baseUrl = "https://storage.googleapis.com/kubernetes-release/release" + If ($DownloadFromMirror) + { + $baseUrl = "https://mirror.azure.cn/kubernetes/kubectl" + } + If (($Null -Eq $Destination) -or ("" -Eq $Destination)) + { + $Destination = [System.IO.Path]::Combine($env:USERPROFILE, ".azure-kubectl") + } + If (-not (Test-Path -Path $Destination)) + { + New-Item -Path $Destination -ItemType Directory + } + $Destination = Resolve-Path -Path $Destination + If (($Null -Eq $Version) -or ("" -Eq $Version)) + { + $url = "$baseUrl/stable.txt" + $Version = (Invoke-WebRequest -Uri $url).Content.Trim() + } + If ($IsWindows) + { + $destFilePath = [System.IO.Path]::Combine($Destination, "kubectl.exe") + $downloadFileUrl = "$baseUrl/$Version/bin/windows/amd64/kubectl.exe" + } + ElseIf ($IsLinux) + { + $destFilePath = [System.IO.Path]::Combine($Destination, "kubectl") + $downloadFileUrl = "$baseUrl/$Version/bin/linux/amd64/kubectl" + } + ElseIf ($IsMacOS) + { + $destFilePath = [System.IO.Path]::Combine($Destination, "kubectl") + $downloadFileUrl = "$baseUrl/$Version/bin/darwin/amd64/kubectl" + } + Else + { + $message = "Sorry, this cmdlet is not supported in current OS." + $ex = [System.PlatformNotSupportedException]::New($message) + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::ErrorKindKey] = [Microsoft.Azure.Commands.Common.ErrorKind]::UserError + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::DesensitizedErrorMessageKey] = $message + throw $ex + } + #region download and install + If ($PSCmdlet.ShouldProcess("Downloading kubectl from internet.", $destFilePath)) + { + If (Test-Path -Path $destFilePath) + { + If ($Force -Or $PSCmdlet.ShouldContinue("File $destFilePath exist, are you want to replace it?", "Replace file")) + { + $tmpFilePath = "$destFilePath.tmp" + Write-Verbose "Downloading from $downloadFileUrl to local: $tmpFilePath" + Invoke-WebRequest -Uri $downloadFileUrl -OutFile $tmpFilePath + Write-Verbose "Deleting $destFilePath" + Remove-Item -Path $destFilePath + Write-Verbose "Moving $tmpFilePath to $destFilePath" + Move-Item -Path $tmpFilePath -Destination $destFilePath + } + } + Else + { + Write-Verbose "Downloading from $downloadFileUrl to local: $destFilePath" + Invoke-WebRequest -Uri $downloadFileUrl -OutFile $destFilePath + } + } + #endregion + } +} + +Function Install-Kubelogin +{ + [Microsoft.Azure.PowerShell.Cmdlets.Aks.DoNotExportAttribute()] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + [Parameter()] + [System.String] + ${Destination}, + + [Parameter()] + [System.String] + ${Version}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${DownloadFromMirror}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${Force} + ) + + Process + { + $baseDownloadUrl = "https://github.com/Azure/kubelogin/releases/download" + $latestReleaseUrl = "https://api.github.com/repos/Azure/kubelogin/releases/latest" + If ($DownloadFromMirror) + { + $baseDownloadUrl = "https://mirror.azure.cn/kubernetes/kubelogin" + $latestReleaseUrl = "https://mirror.azure.cn/kubernetes/kubelogin/latest" + } + If (($Null -Eq $Destination) -or ("" -Eq $Destination)) + { + $Destination = [System.IO.Path]::Combine($env:USERPROFILE, ".azure-kubelogin") + } + If (-not (Test-Path -Path $Destination)) + { + New-Item -Path $Destination -ItemType Directory + } + $Destination = Resolve-Path -Path $Destination + If (($Null -Eq $Version) -or ("" -Eq $Version)) + { + $latestVersionInfo = (Invoke-WebRequest -Uri $latestReleaseUrl).Content | ConvertFrom-Json + $Version = $latestVersionInfo.tag_name.Trim() + } + $downloadFileUrl = "$baseDownloadUrl/$Version/kubelogin.zip" + If ($IsWindows) + { + $subDir = "windows_amd64" + $binaryName = "kubelogin.exe" + $destFilePath = [System.IO.Path]::Combine($Destination, "kubelogin.exe") + } + ElseIf ($IsLinux) + { + $subDir = "linux_amd64" + $binaryName = "kubelogin" + $destFilePath = [System.IO.Path]::Combine($Destination, "kubelogin") + } + ElseIf ($IsMacOS) + { + If ($Env:PROCESSOR_ARCHITECTURE -Eq "AMD64") + { + $subDir = "darwin_amd64" + } + Else + { + $subDir = "darwin_arm64" + } + $binaryName = "kubelogin" + $destFilePath = [System.IO.Path]::Combine($Destination, "kubelogin") + } + Else + { + $message = "Sorry, this cmdlet is not supported in current OS." + $ex = [System.PlatformNotSupportedException]::New($message) + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::ErrorKindKey] = [Microsoft.Azure.Commands.Common.ErrorKind]::UserError + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::DesensitizedErrorMessageKey] = $message + throw $ex + } + + #region download and install + If ($PSCmdlet.ShouldProcess("Downloading kubelogin from internet.", $destFilePath)) + { + $downloadFilePath = [System.IO.Path]::Combine($Destination, "kubelogin.zip") + $uncompressFolderPath = [System.IO.Path]::Combine($Destination, "kubelogin-folder") + $binFilePath = [System.IO.Path]::Combine($uncompressFolderPath, "bin", $subDir, $binaryName) + $shouldDownload = $true + If (Test-Path -Path $destFilePath) + { + If ($Force -Or $PSCmdlet.ShouldContinue("File $destFilePath exist, are you want to replace it?", "Replace file")) + { + Write-Verbose "Deleting $destFilePath" + Remove-Item -Path $destFilePath + } + Else + { + $shouldDownload = $false + } + } + If ($shouldDownload) + { + Write-Verbose "Downloading from $downloadFileUrl to local: $downloadFilePath" + Invoke-WebRequest -Uri $downloadFileUrl -OutFile $downloadFilePath + Expand-Archive $downloadFilePath -DestinationPath $uncompressFolderPath -Force + Write-Verbose "Deleting $destFilePath" + Move-Item -Path $binFilePath -Destination $destFilePath + Write-Verbose "Deleting $downloadFilePath" + Remove-Item $downloadFilePath + Write-Verbose "Deleting $uncompressFolderPath" + Remove-Item $uncompressFolderPath -Recurse + } + } + #endregion + } +} \ No newline at end of file diff --git a/src/Aks/Aks.Autorest/docs/Az.Aks.md b/src/Aks/Aks.Autorest/docs/Az.Aks.md index c162f1f6c34a..9226405d3b5e 100644 --- a/src/Aks/Aks.Autorest/docs/Az.Aks.md +++ b/src/Aks/Aks.Autorest/docs/Az.Aks.md @@ -21,6 +21,9 @@ Gets the details of the upgrade profile for a managed cluster with a specified r List available version for creating managed Kubernetes cluster. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview. +### [Install-AzAksCliTool](Install-AzAksCliTool.md) +Download and install kubectl and kubelogin. + ### [Start-AzAksCluster](Start-AzAksCluster.md) Starts a Stopped Managed Cluster diff --git a/src/Aks/Aks.Autorest/docs/Get-AzAksNodePoolUpgradeProfile.md b/src/Aks/Aks.Autorest/docs/Get-AzAksNodePoolUpgradeProfile.md index 610dcc192bf9..ace2119670c2 100644 --- a/src/Aks/Aks.Autorest/docs/Get-AzAksNodePoolUpgradeProfile.md +++ b/src/Aks/Aks.Autorest/docs/Get-AzAksNodePoolUpgradeProfile.md @@ -30,8 +30,10 @@ Gets the details of the upgrade profile for an agent pool with a specified resou ### Example 1: Get Aks node pool upgrade profile with resource group name and cluster name ```powershell -PS C:\> Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default +Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default +``` +```output Name Type ---- ---- default Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles @@ -153,7 +155,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks.Autorest/docs/Get-AzAksUpgradeProfile.md b/src/Aks/Aks.Autorest/docs/Get-AzAksUpgradeProfile.md index e37339ba805b..943828c018b2 100644 --- a/src/Aks/Aks.Autorest/docs/Get-AzAksUpgradeProfile.md +++ b/src/Aks/Aks.Autorest/docs/Get-AzAksUpgradeProfile.md @@ -30,8 +30,10 @@ Gets the details of the upgrade profile for a managed cluster with a specified r ### Example 1: Get Aks upgrade profile with resource group name and cluster name ```powershell -PS C:\> Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster +Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster +``` +```output Name Type ---- ---- default Microsoft.ContainerService/managedClusters/upgradeprofiles @@ -140,7 +142,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks.Autorest/docs/Get-AzAksVersion.md b/src/Aks/Aks.Autorest/docs/Get-AzAksVersion.md index 9158202df7da..92876bb60253 100644 --- a/src/Aks/Aks.Autorest/docs/Get-AzAksVersion.md +++ b/src/Aks/Aks.Autorest/docs/Get-AzAksVersion.md @@ -26,8 +26,10 @@ The operation returns properties of each orchestrator including version, availab ### Example 1: List available version for creating managed Kubernetes cluster. ```powershell -PS C:\> Get-AzAksVersion -location eastus +Get-AzAksVersion -location eastus +``` +```output Default IsPreview OrchestratorType OrchestratorVersion ------- --------- ---------------- ------------------- Kubernetes 1.19.11 diff --git a/src/Aks/Aks/help/Install-AzAksKubectl.md b/src/Aks/Aks.Autorest/docs/Install-AzAksCliTool.md similarity index 65% rename from src/Aks/Aks/help/Install-AzAksKubectl.md rename to src/Aks/Aks.Autorest/docs/Install-AzAksCliTool.md index 356113031233..cb2a95613d0a 100644 --- a/src/Aks/Aks/help/Install-AzAksKubectl.md +++ b/src/Aks/Aks.Autorest/docs/Install-AzAksCliTool.md @@ -1,33 +1,42 @@ --- -external help file: Microsoft.Azure.PowerShell.Cmdlets.Aks.dll-Help.xml +external help file: Module Name: Az.Aks -online version: https://docs.microsoft.com/powershell/module/az.aks/install-azakskubectl +online version: https://docs.microsoft.com/powershell/module/az.aks/install-azaksclitool schema: 2.0.0 --- -# Install-AzAksKubectl +# Install-AzAksCliTool ## SYNOPSIS -Download and install kubectl, the Kubernetes command-line tool. +Download and install kubectl and kubelogin. ## SYNTAX ``` -Install-AzAksKubectl [-Destination ] [-Version ] [-DownloadFromMirror] [-PassThru] [-AsJob] - [-Force] [-DefaultProfile ] [-WhatIf] [-Confirm] [-SubscriptionId ] - [] +Install-AzAksCliTool [-AsJob] [-Destination ] [-DownloadFromMirror] [-Force] + [-KubeloginDownloadFromMirror] [-KubeloginInstallDestination ] [-KubeloginInstallVersion ] + [-PassThru] [-Version ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION -Download and install kubectl, the Kubernetes command-line tool. +Download and install kubectl and kubelogin. ## EXAMPLES -### Download and install latest version of kubectl +### Example 1: Install the lateset version of kubectl and kubelogin ```powershell -Install-AzAksKubectl -Version latest +Install-AzAksCliTool ``` + + +### Example 2: Install the special version of kubectl and kubelogin into custom folder +```powershell +Install-AzAksCliTool -KubectlInstallVersion "v1.25.0" -KubectlInstallDestination "~/bin/" -KubeloginInstallVersion "v0.0.20" -KubeloginInstallDestination "~/bin" +``` + + + ## PARAMETERS ### -AsJob @@ -45,13 +54,14 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +### -Destination +Path at which to install kubectl. +Default to install into ~/.azure-kubectl/ ```yaml -Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Type: System.String Parameter Sets: (All) -Aliases: AzContext, AzureRmContext, AzureCredential +Aliases: KubectlInstallDestination Required: False Position: Named @@ -60,14 +70,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Destination -Path at which to install kubectl. -Default to install into ~/.azure-kubectl/ +### -DownloadFromMirror +Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/ ```yaml -Type: System.String +Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) -Aliases: +Aliases: KubectlDownloadFromMirror Required: False Position: Named @@ -76,8 +85,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DownloadFromMirror -Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/ +### -Force +Overwrite existing kubectl and kubelogin without prompt ```yaml Type: System.Management.Automation.SwitchParameter @@ -91,8 +100,8 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -Force -Overwrite existing kubectl without prompt +### -KubeloginDownloadFromMirror +Download from mirror site : https://mirror.azure.cn/kubernetes/kubelogin ```yaml Type: System.Management.Automation.SwitchParameter @@ -106,11 +115,12 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -PassThru -{{ Fill PassThru Description }} +### -KubeloginInstallDestination +Path at which to install kubectl. +Default to install into ~/.azure-kubelogin/ ```yaml -Type: System.Management.Automation.SwitchParameter +Type: System.String Parameter Sets: (All) Aliases: @@ -121,10 +131,10 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -SubscriptionId -The ID of the subscription. -By default, cmdlets are executed in the subscription that is set in the current context. If the user specifies another subscription, the current cmdlet is executed in the subscription specified by the user. -Overriding subscriptions only take effect during the lifecycle of the current cmdlet. It does not change the subscription in the context, and does not affect subsequent cmdlets. +### -KubeloginInstallVersion +Version of kubectl to install, e.g. +'v0.0.20'. +Default value: Latest ```yaml Type: System.String @@ -134,19 +144,34 @@ Aliases: Required: False Position: Named Default value: None -Accept pipeline input: True (ByPropertyName) +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False Accept wildcard characters: False ``` ### -Version Version of kubectl to install, e.g. 'v1.17.2'. -Default value: Latest +Default value: Latest. ```yaml Type: System.String Parameter Sets: (All) -Aliases: +Aliases: KubectlInstallVersion Required: False Position: Named @@ -191,12 +216,15 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### None - ## OUTPUTS ### System.Boolean ## NOTES +ALIASES + +Install-AzAksKubectl + ## RELATED LINKS + diff --git a/src/Aks/Aks.Autorest/docs/Start-AzAksCluster.md b/src/Aks/Aks.Autorest/docs/Start-AzAksCluster.md index 60baa5dee2fd..aec1fd537e64 100644 --- a/src/Aks/Aks.Autorest/docs/Start-AzAksCluster.md +++ b/src/Aks/Aks.Autorest/docs/Start-AzAksCluster.md @@ -31,14 +31,14 @@ Starts a Stopped Managed Cluster ### Example 1: Start Aks cluster with resource group name and cluster name ```powershell -PS C:\> Start-AzAksCluster -ResourceGroupName group -Name myCluster +Start-AzAksCluster -ResourceGroupName group -Name myCluster ``` Start Aks cluster with resource group name and cluster name. ### Example 2: Start Aks cluster with pipeline ```powershell -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster ``` Start Aks cluster with pipeline. @@ -218,7 +218,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks.Autorest/docs/Stop-AzAksCluster.md b/src/Aks/Aks.Autorest/docs/Stop-AzAksCluster.md index 57a2e5b6cc0d..4a7e34ac038b 100644 --- a/src/Aks/Aks.Autorest/docs/Stop-AzAksCluster.md +++ b/src/Aks/Aks.Autorest/docs/Stop-AzAksCluster.md @@ -31,14 +31,14 @@ Stops a Running Managed Cluster ### Example 1: Stop Aks cluster with resource group name and cluster name ```powershell -PS C:\> Stop-AzAksCluster -ResourceGroupName group -Name myCluster +Stop-AzAksCluster -ResourceGroupName group -Name myCluster ``` Stop Aks cluster with resource group name and cluster name. ### Example 2: Stop Aks cluster with pipeline ```powershell -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster ``` Stop Aks cluster with pipeline. @@ -218,7 +218,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks.Autorest/examples/Get-AzAksNodePoolUpgradeProfile.md b/src/Aks/Aks.Autorest/examples/Get-AzAksNodePoolUpgradeProfile.md index 472576ed12dd..bf68e7588241 100644 --- a/src/Aks/Aks.Autorest/examples/Get-AzAksNodePoolUpgradeProfile.md +++ b/src/Aks/Aks.Autorest/examples/Get-AzAksNodePoolUpgradeProfile.md @@ -1,7 +1,9 @@ ### Example 1: Get Aks node pool upgrade profile with resource group name and cluster name ```powershell -PS C:\> Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default +Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default +``` +```output Name Type ---- ---- default Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles diff --git a/src/Aks/Aks.Autorest/examples/Get-AzAksUpgradeProfile.md b/src/Aks/Aks.Autorest/examples/Get-AzAksUpgradeProfile.md index 954722419ecf..25365b2e0c36 100644 --- a/src/Aks/Aks.Autorest/examples/Get-AzAksUpgradeProfile.md +++ b/src/Aks/Aks.Autorest/examples/Get-AzAksUpgradeProfile.md @@ -1,7 +1,9 @@ ### Example 1: Get Aks upgrade profile with resource group name and cluster name ```powershell -PS C:\> Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster +Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster +``` +```output Name Type ---- ---- default Microsoft.ContainerService/managedClusters/upgradeprofiles diff --git a/src/Aks/Aks.Autorest/examples/Get-AzAksVersion.md b/src/Aks/Aks.Autorest/examples/Get-AzAksVersion.md index a77499e51280..715f8f744223 100644 --- a/src/Aks/Aks.Autorest/examples/Get-AzAksVersion.md +++ b/src/Aks/Aks.Autorest/examples/Get-AzAksVersion.md @@ -1,7 +1,9 @@ ### Example 1: List available version for creating managed Kubernetes cluster. ```powershell -PS C:\> Get-AzAksVersion -location eastus +Get-AzAksVersion -location eastus +``` +```output Default IsPreview OrchestratorType OrchestratorVersion ------- --------- ---------------- ------------------- Kubernetes 1.19.11 diff --git a/src/Aks/Aks.Autorest/examples/Install-AzAksCliTool.md b/src/Aks/Aks.Autorest/examples/Install-AzAksCliTool.md new file mode 100644 index 000000000000..793119bd5e8b --- /dev/null +++ b/src/Aks/Aks.Autorest/examples/Install-AzAksCliTool.md @@ -0,0 +1,10 @@ +### Example 1: Install the lateset version of kubectl and kubelogin +```powershell +Install-AzAksCliTool +``` + +### Example 2: Install the special version of kubectl and kubelogin into custom folder +```powershell +Install-AzAksCliTool -KubectlInstallVersion "v1.25.0" -KubectlInstallDestination "~/bin/" -KubeloginInstallVersion "v0.0.20" -KubeloginInstallDestination "~/bin" +``` + diff --git a/src/Aks/Aks.Autorest/examples/Start-AzAksCluster.md b/src/Aks/Aks.Autorest/examples/Start-AzAksCluster.md index 54c05133b0e9..e6778e860225 100644 --- a/src/Aks/Aks.Autorest/examples/Start-AzAksCluster.md +++ b/src/Aks/Aks.Autorest/examples/Start-AzAksCluster.md @@ -1,13 +1,13 @@ ### Example 1: Start Aks cluster with resource group name and cluster name ```powershell -PS C:\> Start-AzAksCluster -ResourceGroupName group -Name myCluster +Start-AzAksCluster -ResourceGroupName group -Name myCluster ``` Start Aks cluster with resource group name and cluster name. ### Example 2: Start Aks cluster with pipeline ```powershell -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster ``` Start Aks cluster with pipeline. diff --git a/src/Aks/Aks.Autorest/examples/Stop-AzAksCluster.md b/src/Aks/Aks.Autorest/examples/Stop-AzAksCluster.md index 04e5d59e4bd4..8f3d8a15a855 100644 --- a/src/Aks/Aks.Autorest/examples/Stop-AzAksCluster.md +++ b/src/Aks/Aks.Autorest/examples/Stop-AzAksCluster.md @@ -1,13 +1,13 @@ ### Example 1: Stop Aks cluster with resource group name and cluster name ```powershell -PS C:\> Stop-AzAksCluster -ResourceGroupName group -Name myCluster +Stop-AzAksCluster -ResourceGroupName group -Name myCluster ``` Stop Aks cluster with resource group name and cluster name. ### Example 2: Stop Aks cluster with pipeline ```powershell -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster ``` Stop Aks cluster with pipeline. diff --git a/src/Aks/Aks.Autorest/exports/Get-AzAksNodePoolUpgradeProfile.ps1 b/src/Aks/Aks.Autorest/exports/Get-AzAksNodePoolUpgradeProfile.ps1 index 9e49b7a18989..f27231ff742b 100644 --- a/src/Aks/Aks.Autorest/exports/Get-AzAksNodePoolUpgradeProfile.ps1 +++ b/src/Aks/Aks.Autorest/exports/Get-AzAksNodePoolUpgradeProfile.ps1 @@ -20,11 +20,7 @@ Gets the details of the upgrade profile for an agent pool with a specified resou .Description Gets the details of the upgrade profile for an agent pool with a specified resource group and managed cluster name. .Example -PS C:\> Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default - -Name Type ----- ---- -default Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles +Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -140,6 +136,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Get = 'Az.Aks.private\Get-AzAksNodePoolUpgradeProfile_Get'; GetViaIdentity = 'Az.Aks.private\Get-AzAksNodePoolUpgradeProfile_GetViaIdentity'; @@ -154,6 +168,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -162,15 +177,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/Aks/Aks.Autorest/exports/Get-AzAksUpgradeProfile.ps1 b/src/Aks/Aks.Autorest/exports/Get-AzAksUpgradeProfile.ps1 index 7594221ebbd3..bfd511c8fef6 100644 --- a/src/Aks/Aks.Autorest/exports/Get-AzAksUpgradeProfile.ps1 +++ b/src/Aks/Aks.Autorest/exports/Get-AzAksUpgradeProfile.ps1 @@ -20,11 +20,7 @@ Gets the details of the upgrade profile for a managed cluster with a specified r .Description Gets the details of the upgrade profile for a managed cluster with a specified resource group and name. .Example -PS C:\> Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster - -Name Type ----- ---- -default Microsoft.ContainerService/managedClusters/upgradeprofiles +Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -135,6 +131,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Get = 'Az.Aks.private\Get-AzAksUpgradeProfile_Get'; GetViaIdentity = 'Az.Aks.private\Get-AzAksUpgradeProfile_GetViaIdentity'; @@ -149,6 +163,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -157,15 +172,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/Aks/Aks.Autorest/exports/Get-AzAksVersion.ps1 b/src/Aks/Aks.Autorest/exports/Get-AzAksVersion.ps1 index 23ed8962366a..47f9ddbe8670 100644 --- a/src/Aks/Aks.Autorest/exports/Get-AzAksVersion.ps1 +++ b/src/Aks/Aks.Autorest/exports/Get-AzAksVersion.ps1 @@ -22,18 +22,7 @@ The operation returns properties of each orchestrator including version, availab List available version for creating managed Kubernetes cluster. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview. .Example -PS C:\> Get-AzAksVersion -location eastus - -Default IsPreview OrchestratorType OrchestratorVersion -------- --------- ---------------- ------------------- - Kubernetes 1.19.11 - Kubernetes 1.19.13 - Kubernetes 1.20.7 -True Kubernetes 1.20.9 - Kubernetes 1.21.1 - Kubernetes 1.21.2 - True Kubernetes 1.22.1 - True Kubernetes 1.22.2 +Get-AzAksVersion -location eastus .Outputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult @@ -113,6 +102,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ List = 'Az.Aks.custom\Get-AzAksVersion'; } @@ -126,6 +133,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -134,15 +142,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/Aks/Aks.Autorest/exports/Install-AzAksCliTool.ps1 b/src/Aks/Aks.Autorest/exports/Install-AzAksCliTool.ps1 new file mode 100644 index 000000000000..b22bb52155f5 --- /dev/null +++ b/src/Aks/Aks.Autorest/exports/Install-AzAksCliTool.ps1 @@ -0,0 +1,331 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Download and install kubectl and kubelogin. +.Description +Download and install kubectl and kubelogin. +#> +function Install-AzAksCliTool +{ + [OutputType([System.Boolean])] + [Alias("Install-AzAksKubectl")] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.CmdletBreakingChangeAttribute("9.0.0", "2022/10/12", ReplacementCmdletName = 'Install-AzAksCliTool')] + param( + [Alias("KubectlInstallDestination")] + [Parameter()] + [System.String] + # Path at which to install kubectl. Default to install into ~/.azure-kubectl/ + ${Destination}, + + [Alias("KubectlInstallVersion")] + [Parameter()] + [System.String] + # Version of kubectl to install, e.g. 'v1.17.2'. Default value: Latest. + ${Version}, + + [Alias("KubectlDownloadFromMirror")] + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/ + ${DownloadFromMirror}, + + [Parameter()] + [System.String] + # Path at which to install kubectl. Default to install into ~/.azure-kubelogin/ + ${KubeloginInstallDestination}, + + [Parameter()] + [System.String] + # Version of kubectl to install, e.g. 'v0.0.20'. Default value: Latest + ${KubeloginInstallVersion}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Download from mirror site : https://mirror.azure.cn/kubernetes/kubelogin + ${KubeloginDownloadFromMirror}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${PassThru}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Run cmdlet in the background + ${AsJob}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + # Overwrite existing kubectl and kubelogin without prompt + ${Force} + ) + + process + { + #Region Install kubectl + $KubectlParams = @{} + If ($PSBoundParameters.ContainsKey("Destination")) + { + $KubectlParams["Destination"] = $PSBoundParameters["Destination"] + } + If ($PSBoundParameters.ContainsKey("Version")) + { + $KubectlParams["Version"] = $PSBoundParameters["Version"] + } + If ($PSBoundParameters.ContainsKey("DownloadFromMirror")) + { + $KubectlParams["DownloadFromMirror"] = $PSBoundParameters["DownloadFromMirror"] + } + If ($PSBoundParameters.ContainsKey("Force")) + { + $KubectlParams["Force"] = $PSBoundParameters["Force"] + } + Install-Kubectl @KubectlParams + #EndRegion + + #Region Install kubelogin + $KubeloginParams = @{} + If ($PSBoundParameters.ContainsKey("KubeloginInstallDestination")) + { + $KubeloginParams["Destination"] = $PSBoundParameters["KubeloginInstallDestination"] + } + If ($PSBoundParameters.ContainsKey("KubeloginInstallVersion")) + { + $KubeloginParams["Version"] = $PSBoundParameters["KubeloginInstallVersion"] + } + If ($PSBoundParameters.ContainsKey("KubeloginDownloadFromMirror")) + { + $KubeloginParams["DownloadFromMirror"] = $PSBoundParameters["KubeloginDownloadFromMirror"] + } + If ($PSBoundParameters.ContainsKey("Force")) + { + $KubeloginParams["Force"] = $PSBoundParameters["Force"] + } + Install-Kubelogin @KubeloginParams + #EndRegion + } +} + +Function Install-Kubectl +{ + [Microsoft.Azure.PowerShell.Cmdlets.Aks.DoNotExportAttribute()] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + [Parameter()] + [System.String] + ${Destination}, + + [Parameter()] + [System.String] + ${Version}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${DownloadFromMirror}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${Force} + ) + + Process + { + $baseUrl = "https://storage.googleapis.com/kubernetes-release/release" + If ($DownloadFromMirror) + { + $baseUrl = "https://mirror.azure.cn/kubernetes/kubectl" + } + If (($Null -Eq $Destination) -or ("" -Eq $Destination)) + { + $Destination = [System.IO.Path]::Combine($env:USERPROFILE, ".azure-kubectl") + } + If (-not (Test-Path -Path $Destination)) + { + New-Item -Path $Destination -ItemType Directory + } + $Destination = Resolve-Path -Path $Destination + If (($Null -Eq $Version) -or ("" -Eq $Version)) + { + $url = "$baseUrl/stable.txt" + $Version = (Invoke-WebRequest -Uri $url).Content.Trim() + } + If ($IsWindows) + { + $destFilePath = [System.IO.Path]::Combine($Destination, "kubectl.exe") + $downloadFileUrl = "$baseUrl/$Version/bin/windows/amd64/kubectl.exe" + } + ElseIf ($IsLinux) + { + $destFilePath = [System.IO.Path]::Combine($Destination, "kubectl") + $downloadFileUrl = "$baseUrl/$Version/bin/linux/amd64/kubectl" + } + ElseIf ($IsMacOS) + { + $destFilePath = [System.IO.Path]::Combine($Destination, "kubectl") + $downloadFileUrl = "$baseUrl/$Version/bin/darwin/amd64/kubectl" + } + Else + { + $message = "Sorry, this cmdlet is not supported in current OS." + $ex = [System.PlatformNotSupportedException]::New($message) + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::ErrorKindKey] = [Microsoft.Azure.Commands.Common.ErrorKind]::UserError + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::DesensitizedErrorMessageKey] = $message + throw $ex + } + #region download and install + If ($PSCmdlet.ShouldProcess("Downloading kubectl from internet.", $destFilePath)) + { + If (Test-Path -Path $destFilePath) + { + If ($Force -Or $PSCmdlet.ShouldContinue("File $destFilePath exist, are you want to replace it?", "Replace file")) + { + $tmpFilePath = "$destFilePath.tmp" + Write-Verbose "Downloading from $downloadFileUrl to local: $tmpFilePath" + Invoke-WebRequest -Uri $downloadFileUrl -OutFile $tmpFilePath + Write-Verbose "Deleting $destFilePath" + Remove-Item -Path $destFilePath + Write-Verbose "Moving $tmpFilePath to $destFilePath" + Move-Item -Path $tmpFilePath -Destination $destFilePath + } + } + Else + { + Write-Verbose "Downloading from $downloadFileUrl to local: $destFilePath" + Invoke-WebRequest -Uri $downloadFileUrl -OutFile $destFilePath + } + } + #endregion + } +} + +Function Install-Kubelogin +{ + [Microsoft.Azure.PowerShell.Cmdlets.Aks.DoNotExportAttribute()] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + param( + [Parameter()] + [System.String] + ${Destination}, + + [Parameter()] + [System.String] + ${Version}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${DownloadFromMirror}, + + [Parameter()] + [System.Management.Automation.SwitchParameter] + ${Force} + ) + + Process + { + $baseDownloadUrl = "https://github.com/Azure/kubelogin/releases/download" + $latestReleaseUrl = "https://api.github.com/repos/Azure/kubelogin/releases/latest" + If ($DownloadFromMirror) + { + $baseDownloadUrl = "https://mirror.azure.cn/kubernetes/kubelogin" + $latestReleaseUrl = "https://mirror.azure.cn/kubernetes/kubelogin/latest" + } + If (($Null -Eq $Destination) -or ("" -Eq $Destination)) + { + $Destination = [System.IO.Path]::Combine($env:USERPROFILE, ".azure-kubelogin") + } + If (-not (Test-Path -Path $Destination)) + { + New-Item -Path $Destination -ItemType Directory + } + $Destination = Resolve-Path -Path $Destination + If (($Null -Eq $Version) -or ("" -Eq $Version)) + { + $latestVersionInfo = (Invoke-WebRequest -Uri $latestReleaseUrl).Content | ConvertFrom-Json + $Version = $latestVersionInfo.tag_name.Trim() + } + $downloadFileUrl = "$baseDownloadUrl/$Version/kubelogin.zip" + If ($IsWindows) + { + $subDir = "windows_amd64" + $binaryName = "kubelogin.exe" + $destFilePath = [System.IO.Path]::Combine($Destination, "kubelogin.exe") + } + ElseIf ($IsLinux) + { + $subDir = "linux_amd64" + $binaryName = "kubelogin" + $destFilePath = [System.IO.Path]::Combine($Destination, "kubelogin") + } + ElseIf ($IsMacOS) + { + If ($Env:PROCESSOR_ARCHITECTURE -Eq "AMD64") + { + $subDir = "darwin_amd64" + } + Else + { + $subDir = "darwin_arm64" + } + $binaryName = "kubelogin" + $destFilePath = [System.IO.Path]::Combine($Destination, "kubelogin") + } + Else + { + $message = "Sorry, this cmdlet is not supported in current OS." + $ex = [System.PlatformNotSupportedException]::New($message) + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::ErrorKindKey] = [Microsoft.Azure.Commands.Common.ErrorKind]::UserError + $ex.Data[[Microsoft.Azure.Commands.Common.AzurePSErrorDataKeys]::DesensitizedErrorMessageKey] = $message + throw $ex + } + + #region download and install + If ($PSCmdlet.ShouldProcess("Downloading kubelogin from internet.", $destFilePath)) + { + $downloadFilePath = [System.IO.Path]::Combine($Destination, "kubelogin.zip") + $uncompressFolderPath = [System.IO.Path]::Combine($Destination, "kubelogin-folder") + $binFilePath = [System.IO.Path]::Combine($uncompressFolderPath, "bin", $subDir, $binaryName) + $shouldDownload = $true + If (Test-Path -Path $destFilePath) + { + If ($Force -Or $PSCmdlet.ShouldContinue("File $destFilePath exist, are you want to replace it?", "Replace file")) + { + Write-Verbose "Deleting $destFilePath" + Remove-Item -Path $destFilePath + } + Else + { + $shouldDownload = $false + } + } + If ($shouldDownload) + { + Write-Verbose "Downloading from $downloadFileUrl to local: $downloadFilePath" + Invoke-WebRequest -Uri $downloadFileUrl -OutFile $downloadFilePath + Expand-Archive $downloadFilePath -DestinationPath $uncompressFolderPath -Force + Write-Verbose "Deleting $destFilePath" + Move-Item -Path $binFilePath -Destination $destFilePath + Write-Verbose "Deleting $downloadFilePath" + Remove-Item $downloadFilePath + Write-Verbose "Deleting $uncompressFolderPath" + Remove-Item $uncompressFolderPath -Recurse + } + } + #endregion + } +} \ No newline at end of file diff --git a/src/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1 index d43c332b1ab9..3b47d6c754be 100644 --- a/src/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/Aks/Aks.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -20,11 +20,7 @@ Gets the details of the upgrade profile for an agent pool with a specified resou .Description Gets the details of the upgrade profile for an agent pool with a specified resource group and managed cluster name. .Example -PS C:\> Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default - -Name Type ----- ---- -default Microsoft.ContainerService/managedClusters/agentPools/upgradeProfiles +Get-AzAksNodePoolUpgradeProfile -ResourceGroupName group -ClusterName myCluster -AgentPoolName default .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -140,6 +136,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Get = 'Az.Aks.private\Get-AzAksNodePoolUpgradeProfile_Get'; GetViaIdentity = 'Az.Aks.private\Get-AzAksNodePoolUpgradeProfile_GetViaIdentity'; @@ -154,6 +168,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -162,17 +177,34 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } <# @@ -181,11 +213,7 @@ Gets the details of the upgrade profile for a managed cluster with a specified r .Description Gets the details of the upgrade profile for a managed cluster with a specified resource group and name. .Example -PS C:\> Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster - -Name Type ----- ---- -default Microsoft.ContainerService/managedClusters/upgradeprofiles +Get-AzAksUpgradeProfile -ResourceGroupName group -Name myCluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -296,6 +324,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Get = 'Az.Aks.private\Get-AzAksUpgradeProfile_Get'; GetViaIdentity = 'Az.Aks.private\Get-AzAksUpgradeProfile_GetViaIdentity'; @@ -310,6 +356,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -318,17 +365,34 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } <# @@ -337,9 +401,9 @@ Starts a Stopped Managed Cluster .Description Starts a Stopped Managed Cluster .Example -PS C:\> Start-AzAksCluster -ResourceGroupName group -Name myCluster +Start-AzAksCluster -ResourceGroupName group -Name myCluster .Example -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -467,6 +531,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Start = 'Az.Aks.private\Start-AzAksCluster_Start'; StartViaIdentity = 'Az.Aks.private\Start-AzAksCluster_StartViaIdentity'; @@ -481,6 +563,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -489,17 +572,34 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } <# @@ -508,9 +608,9 @@ Stops a Running Managed Cluster .Description Stops a Running Managed Cluster .Example -PS C:\> Stop-AzAksCluster -ResourceGroupName group -Name myCluster +Stop-AzAksCluster -ResourceGroupName group -Name myCluster .Example -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -638,6 +738,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Stop = 'Az.Aks.private\Stop-AzAksCluster_Stop'; StopViaIdentity = 'Az.Aks.private\Stop-AzAksCluster_StopViaIdentity'; @@ -652,6 +770,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -660,17 +779,34 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } <# @@ -681,18 +817,7 @@ The operation returns properties of each orchestrator including version, availab List available version for creating managed Kubernetes cluster. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview. .Example -PS C:\> Get-AzAksVersion -location eastus - -Default IsPreview OrchestratorType OrchestratorVersion -------- --------- ---------------- ------------------- - Kubernetes 1.19.11 - Kubernetes 1.19.13 - Kubernetes 1.20.7 -True Kubernetes 1.20.9 - Kubernetes 1.21.1 - Kubernetes 1.21.2 - True Kubernetes 1.22.1 - True Kubernetes 1.22.2 +Get-AzAksVersion -location eastus .Outputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult @@ -772,6 +897,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ List = 'Az.Aks.custom\Get-AzAksVersion'; } @@ -785,6 +928,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -793,15 +937,190 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} + +<# +.Synopsis +Download and install kubectl and kubelogin. +.Description +Download and install kubectl and kubelogin. +.Example +Install-AzAksCliTool +.Example +Install-AzAksCliTool -KubectlInstallVersion "v1.25.0" -KubectlInstallDestination "~/bin/" -KubeloginInstallVersion "v0.0.20" -KubeloginInstallDestination "~/bin" + +.Outputs +System.Boolean +.Link +https://docs.microsoft.com/powershell/module/az.aks/install-azaksclitool +#> +function Install-AzAksCliTool { +[Alias('Install-AzAksKubectl')] +[OutputType([System.Boolean])] +[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter()] + [Alias('KubectlInstallDestination')] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.String] + # Path at which to install kubectl. + # Default to install into ~/.azure-kubectl/ + ${Destination}, + + [Parameter()] + [Alias('KubectlInstallVersion')] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.String] + # Version of kubectl to install, e.g. + # 'v1.17.2'. + # Default value: Latest. + ${Version}, + + [Parameter()] + [Alias('KubectlDownloadFromMirror')] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/ + ${DownloadFromMirror}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.String] + # Path at which to install kubectl. + # Default to install into ~/.azure-kubelogin/ + ${KubeloginInstallDestination}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.String] + # Version of kubectl to install, e.g. + # 'v0.0.20'. + # Default value: Latest + ${KubeloginInstallVersion}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Download from mirror site : https://mirror.azure.cn/kubernetes/kubelogin + ${KubeloginDownloadFromMirror}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${PassThru}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Run cmdlet in the background + ${AsJob}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Overwrite existing kubectl and kubelogin without prompt + ${Force} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + __AllParameterSets = 'Az.Aks.custom\Install-AzAksCliTool'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} } diff --git a/src/Aks/Aks.Autorest/exports/Start-AzAksCluster.ps1 b/src/Aks/Aks.Autorest/exports/Start-AzAksCluster.ps1 index 58e668e20bb0..ad5bfae62f65 100644 --- a/src/Aks/Aks.Autorest/exports/Start-AzAksCluster.ps1 +++ b/src/Aks/Aks.Autorest/exports/Start-AzAksCluster.ps1 @@ -20,9 +20,9 @@ Starts a Stopped Managed Cluster .Description Starts a Stopped Managed Cluster .Example -PS C:\> Start-AzAksCluster -ResourceGroupName group -Name myCluster +Start-AzAksCluster -ResourceGroupName group -Name myCluster .Example -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Start-AzAksCluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -150,6 +150,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Start = 'Az.Aks.private\Start-AzAksCluster_Start'; StartViaIdentity = 'Az.Aks.private\Start-AzAksCluster_StartViaIdentity'; @@ -164,6 +182,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -172,15 +191,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/Aks/Aks.Autorest/exports/Stop-AzAksCluster.ps1 b/src/Aks/Aks.Autorest/exports/Stop-AzAksCluster.ps1 index be45706f3cf9..40b9675664ad 100644 --- a/src/Aks/Aks.Autorest/exports/Stop-AzAksCluster.ps1 +++ b/src/Aks/Aks.Autorest/exports/Stop-AzAksCluster.ps1 @@ -20,9 +20,9 @@ Stops a Running Managed Cluster .Description Stops a Running Managed Cluster .Example -PS C:\> Stop-AzAksCluster -ResourceGroupName group -Name myCluster +Stop-AzAksCluster -ResourceGroupName group -Name myCluster .Example -PS C:\> Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster +Get-AzAksCluster -ResourceGroupName group -Name myCluster | Stop-AzAksCluster .Inputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity @@ -150,6 +150,24 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + $mapping = @{ Stop = 'Az.Aks.private\Stop-AzAksCluster_Stop'; StopViaIdentity = 'Az.Aks.private\Stop-AzAksCluster_StopViaIdentity'; @@ -164,6 +182,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -172,15 +191,32 @@ process { try { $steppablePipeline.Process($_) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} end { try { $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } -} +} } diff --git a/src/Aks/Aks.Autorest/generate-info.json b/src/Aks/Aks.Autorest/generate-info.json new file mode 100644 index 000000000000..031c6228e6de --- /dev/null +++ b/src/Aks/Aks.Autorest/generate-info.json @@ -0,0 +1,8 @@ +{ + "autorest_core": "3.9.1", + "autorest_modelerfour": "4.15.414", + "autorest": "`-- (empty)", + "node": "v16.16.0", + "swagger_commit": "3de536d7c66c85f88d84c258ecf9d839865e17c1", + "autorest_powershell": "3.0.493" +} diff --git a/src/Aks/Aks.Autorest/generated/Module.cs b/src/Aks/Aks.Autorest/generated/Module.cs index 30eef21cb4dd..c2b157d18aa2 100644 --- a/src/Aks/Aks.Autorest/generated/Module.cs +++ b/src/Aks/Aks.Autorest/generated/Module.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Aks using GetParameterDelegate = global::System.Func; using ModuleLoadPipelineDelegate = global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>, global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>>; using ArgumentCompleterDelegate = global::System.Func; + using GetTelemetryIdDelegate = global::System.Func; + using TelemetryDelegate = global::System.Action; using NewRequestPipelineDelegate = global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>, global::System.Action, global::System.Threading.Tasks.Task>, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>, global::System.Threading.Tasks.Task>>>; using SignalDelegate = global::System.Func, global::System.Threading.Tasks.Task>; using EventListenerDelegate = global::System.Func, global::System.Func, global::System.Threading.Tasks.Task>, global::System.Management.Automation.InvocationInfo, string, string, string, global::System.Exception, global::System.Threading.Tasks.Task>; @@ -30,6 +32,8 @@ public partial class Module /// the ISendAsync pipeline instance (when proxy is enabled) private Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.HttpPipeline _pipelineWithProxy; + public bool _useProxy = false; + public global::System.Net.WebProxy _webProxy = new global::System.Net.WebProxy(); /// Gets completion data for azure specific fields @@ -44,6 +48,9 @@ public partial class Module /// The delegate to call to get parameter data from a common module. public GetParameterDelegate GetParameterValue { get; set; } + /// The delegate to get the telemetry Id. + public GetTelemetryIdDelegate GetTelemetryId { get; set; } + /// Backing field for property. private static Microsoft.Azure.PowerShell.Cmdlets.Aks.Module _instance; @@ -65,6 +72,9 @@ public partial class Module /// The ResourceID for this module (azure arm). public string ResourceId => @"Az.Aks"; + /// The delegate for creating a telemetry. + public TelemetryDelegate Telemetry { get; set; } + /// The from the cmdlet /// The HttpPipeline for the request @@ -88,7 +98,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.HttpPipeline CreatePipelin { Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.HttpPipeline pipeline = null; BeforeCreatePipeline(invocationInfo, ref pipeline); - pipeline = (pipeline ?? (_handler.UseProxy ? _pipelineWithProxy : _pipeline)).Clone(); + pipeline = (pipeline ?? (_useProxy ? _pipelineWithProxy : _pipeline)).Clone(); AfterCreatePipeline(invocationInfo, ref pipeline); pipeline.Append(new Runtime.CmdInfoHandler(processRecordId, invocationInfo, parameterSetName).SendAsync); OnNewRequest?.Invoke( invocationInfo, correlationId,processRecordId, (step)=> { pipeline.Prepend(step); } , (step)=> { pipeline.Append(step); } ); @@ -115,7 +125,7 @@ public void Init() /// Creates the module instance. private Module() { - /// constructor + // constructor ClientAPI = new Microsoft.Azure.PowerShell.Cmdlets.Aks.Aks(); _handler.Proxy = _webProxy; _pipeline = new Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.HttpPipeline(new Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.HttpClientFactory(new global::System.Net.Http.HttpClient())); @@ -127,12 +137,24 @@ private Module() /// True if the proxy should use default credentials public void SetProxyConfiguration(global::System.Uri proxy, global::System.Management.Automation.PSCredential proxyCredential, bool proxyUseDefaultCredentials) { + _useProxy = proxy != null; + if (proxy == null) + { + return; + } // set the proxy configuration _webProxy.Address = proxy; _webProxy.BypassProxyOnLocal = false; - _webProxy.Credentials = proxyCredential ?.GetNetworkCredential(); - _webProxy.UseDefaultCredentials = proxyUseDefaultCredentials; - _handler.UseProxy = proxy != null; + if (proxyUseDefaultCredentials) + { + _webProxy.Credentials = null; + _webProxy.UseDefaultCredentials = true; + } + else + { + _webProxy.UseDefaultCredentials = false; + _webProxy.Credentials = proxyCredential ?.GetNetworkCredential(); + } } /// Called to dispatch events to the common module listener diff --git a/src/Aks/Aks.Autorest/generated/api/Aks.cs b/src/Aks/Aks.Autorest/generated/api/Aks.cs index cd21fbbd2c17..738bf8cea69c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Aks.cs +++ b/src/Aks/Aks.Autorest/generated/api/Aks.cs @@ -243,6 +243,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -525,6 +526,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -1518,6 +1520,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -1972,6 +1975,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -2246,6 +2250,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -3942,6 +3947,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -4230,6 +4236,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -4508,6 +4515,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -4781,6 +4789,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -5054,6 +5063,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -5334,6 +5344,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } @@ -5762,6 +5773,7 @@ public partial class Aks // make the final call _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } break; } } diff --git a/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.PowerShell.cs index 41ecb5455604..9572a97f6b06 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.PowerShell.cs @@ -30,7 +30,8 @@ public partial class AksIdentity /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class AksIdentity /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -179,7 +181,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity Deseria /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IAksIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.TypeConverter.cs index c7c9c04132ea..671482a36dd8 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AksIdentityTypeConverter : global::System.Management.Automa { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -80,19 +80,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -104,8 +105,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.json.cs index 0202cd465d3b..80c510d7a03a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/AksIdentity.json.cs @@ -19,7 +19,7 @@ public partial class AksIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class AksIdentity /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class AksIdentity /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.PowerShell.cs index 0bfae1de7717..8c7bfa4334fd 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OrchestratorProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OrchestratorProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchest /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.TypeConverter.cs index d1dba6a8f902..817322ac8c1f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class OrchestratorProfileTypeConverter : global::System.Managemen { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.json.cs index c415c40299a7..522e73069737 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorProfile.json.cs @@ -20,7 +20,7 @@ public partial class OrchestratorProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OrchestratorProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OrchestratorProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.PowerShell.cs index 206e1d0c1ddc..3670b1dac7be 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OrchestratorVersionProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OrchestratorVersionProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchest /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.TypeConverter.cs index cf530bb773f8..2fe2215248c8 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class OrchestratorVersionProfileTypeConverter : global::System.Ma { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.json.cs index b7ffb1c607d9..ddb2fe3f4c25 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfile.json.cs @@ -20,7 +20,7 @@ public partial class OrchestratorVersionProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OrchestratorVersionProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OrchestratorVersionProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.PowerShell.cs index b91c1d4b7f20..993209d851b0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OrchestratorVersionProfileListResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OrchestratorVersionProfileListResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchest /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.TypeConverter.cs index 5b19e2d3c850..32b65165cd2e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class OrchestratorVersionProfileListResultTypeConverter : global: { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.json.cs index c2bc775c2052..a69777ad407a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileListResult.json.cs @@ -20,7 +20,7 @@ public partial class OrchestratorVersionProfileListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OrchestratorVersionProfileListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OrchestratorVersionProfileListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.PowerShell.cs index 4e76984759db..106b9221fff2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OrchestratorVersionProfileProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OrchestratorVersionProfileProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchest /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.TypeConverter.cs index c212e427ee1b..9b0f2d9bf684 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class OrchestratorVersionProfilePropertiesTypeConverter : global: { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.json.cs index bd7e914f61cd..aad3985a490e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20190801/OrchestratorVersionProfileProperties.json.cs @@ -20,7 +20,7 @@ public partial class OrchestratorVersionProfileProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OrchestratorVersionProfileProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OrchestratorVersionProfileProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.PowerShell.cs index 83e79858c4a8..9a72be594b55 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AccessProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AccessProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -124,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAccessP /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAccessProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.TypeConverter.cs index 6abe8be96757..b1e35c348a17 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AccessProfileTypeConverter : global::System.Management.Auto { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.json.cs index af8a77ca11a9..2fc8708690c0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AccessProfile.json.cs @@ -20,7 +20,7 @@ public partial class AccessProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AccessProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AccessProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.PowerShell.cs index cf481c084e3f..ad4d5bd234cb 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPool /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPool /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -372,7 +374,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPool FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.TypeConverter.cs index f6f04b860d7a..fa5ba16b7822 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.TypeConverter.cs @@ -14,20 +14,19 @@ public partial class AgentPoolTypeConverter : global::System.Management.Automati { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +74,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +99,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.cs index 16132727cbbc..62f1d75d5dca 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.cs @@ -202,7 +202,7 @@ public AgentPool() /// an instance that will receive validation /// events. /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// A that will be complete when validation is completed. /// public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener) { diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.json.cs index bbbec76cf7d3..c0a930968acc 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPool.json.cs @@ -20,7 +20,7 @@ public partial class AgentPool partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPool /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPool /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.PowerShell.cs index 64d22a6b84c2..18bfb6378813 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPoolAvailableVersions /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPoolAvailableVersions /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -156,7 +158,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolAvailableVersions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.TypeConverter.cs index c1e1a148f88a..f56fda310033 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AgentPoolAvailableVersionsTypeConverter : global::System.Ma { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.json.cs index f839fe0e58ef..9bc4e1eae1db 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersions.json.cs @@ -20,7 +20,7 @@ public partial class AgentPoolAvailableVersions partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPoolAvailableVersions /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPoolAvailableVersions /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.PowerShell.cs index d63ac787fc1c..3527e8494d5d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPoolAvailableVersionsProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPoolAvailableVersionsProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +128,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolAvailableVersionsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.TypeConverter.cs index dcd741a63735..27866fb257ea 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class AgentPoolAvailableVersionsPropertiesTypeConverter : global: { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.json.cs index 831e181985dc..7228921a6218 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsProperties.json.cs @@ -20,7 +20,7 @@ public partial class AgentPoolAvailableVersionsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPoolAvailableVersionsProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPoolAvailableVersionsProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.PowerShell.cs index def63cf0184c..00727e4fa9ad 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.PowerShell.cs @@ -30,7 +30,8 @@ public partial class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,7 +144,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.TypeConverter.cs index efd55240064d..14612b010656 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemTy { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -102,8 +103,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.json.cs index e158956a8feb..4f9cc8fc8ac9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem.json.cs @@ -19,7 +19,7 @@ public partial class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.PowerShell.cs index b0a72281bb53..77f6d5865c46 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPoolListResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPoolListResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.TypeConverter.cs index d0d949548664..60fb39355521 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AgentPoolListResultTypeConverter : global::System.Managemen { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.json.cs index 3218e9f91ba8..8addd0447d11 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolListResult.json.cs @@ -20,7 +20,7 @@ public partial class AgentPoolListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPoolListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPoolListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.PowerShell.cs index f28b7604d879..d8644b01852b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPoolUpgradeProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPoolUpgradeProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -180,7 +182,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.TypeConverter.cs index 2387679e8e53..f0040d66db40 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AgentPoolUpgradeProfileTypeConverter : global::System.Manag { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.json.cs index 354b05a4a44d..930db0245913 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfile.json.cs @@ -20,7 +20,7 @@ public partial class AgentPoolUpgradeProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPoolUpgradeProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPoolUpgradeProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.PowerShell.cs index 1313c0214f80..f3576d2aefb4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPoolUpgradeProfileProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPoolUpgradeProfileProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -150,7 +152,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfileProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.TypeConverter.cs index 34caa835bf4a..0fd3ca89345d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AgentPoolUpgradeProfilePropertiesTypeConverter : global::Sy { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.json.cs index 59e0f02cc86c..ccadbd051202 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfileProperties.json.cs @@ -20,7 +20,7 @@ public partial class AgentPoolUpgradeProfileProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPoolUpgradeProfileProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPoolUpgradeProfileProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.PowerShell.cs index 52674ad1fe7a..fb4c2e13999f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.PowerShell.cs @@ -30,7 +30,8 @@ public partial class AgentPoolUpgradeProfilePropertiesUpgradesItem /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class AgentPoolUpgradeProfilePropertiesUpgradesItem /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -134,7 +136,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfilePropertiesUpgradesItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.TypeConverter.cs index 924745753b6b..b8ab1ed864e1 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class AgentPoolUpgradeProfilePropertiesUpgradesItemTypeConverter { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.json.cs index 7bff9bafb5e6..5b8d18872ec6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeProfilePropertiesUpgradesItem.json.cs @@ -19,7 +19,7 @@ public partial class AgentPoolUpgradeProfilePropertiesUpgradesItem partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class AgentPoolUpgradeProfilePropertiesUpgradesItem /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class AgentPoolUpgradeProfilePropertiesUpgradesItem /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.PowerShell.cs index be81bc3b2521..2467441a8c44 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.PowerShell.cs @@ -31,7 +31,8 @@ public partial class AgentPoolUpgradeSettings /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class AgentPoolUpgradeSettings /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -124,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPo /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.TypeConverter.cs index 6cf9f9e2c179..1584af1a03dc 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class AgentPoolUpgradeSettingsTypeConverter : global::System.Mana { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.json.cs index 3d7b13f1d01a..2bc016ec906b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/AgentPoolUpgradeSettings.json.cs @@ -20,7 +20,7 @@ public partial class AgentPoolUpgradeSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class AgentPoolUpgradeSettings /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class AgentPoolUpgradeSettings /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.PowerShell.cs index f2168ea35ccd..560e2c2b84ed 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.PowerShell.cs @@ -30,7 +30,8 @@ public partial class BaseManagedCluster /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class BaseManagedCluster /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -755,7 +757,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IBaseMan /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IBaseManagedCluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.TypeConverter.cs index b71ff8996aae..bf808662a1b7 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class BaseManagedClusterTypeConverter : global::System.Management { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.json.cs index 74fb430cd43f..3ae355386e87 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/BaseManagedCluster.json.cs @@ -19,7 +19,7 @@ public partial class BaseManagedCluster partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class BaseManagedCluster /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class BaseManagedCluster /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.PowerShell.cs index db89b93da3de..96abd47ea1e9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.PowerShell.cs @@ -31,7 +31,8 @@ public partial class CloudError /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class CloudError /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -156,7 +158,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudEr /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.TypeConverter.cs index 4e13815e9c19..1b9943e77738 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.TypeConverter.cs @@ -14,20 +14,19 @@ public partial class CloudErrorTypeConverter : global::System.Management.Automat { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +74,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +99,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.json.cs index 51e9d2e97c10..57f0f7739e4b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudError.json.cs @@ -20,7 +20,7 @@ public partial class CloudError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class CloudError /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class CloudError /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.PowerShell.cs index fb9a56f84135..f4e64f4b9851 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.PowerShell.cs @@ -31,7 +31,8 @@ public partial class CloudErrorBody /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class CloudErrorBody /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -148,7 +150,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudEr /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudErrorBody FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.TypeConverter.cs index 225689f97456..be346f5c5f4a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class CloudErrorBodyTypeConverter : global::System.Management.Aut { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.json.cs index a7e225b59bbf..b1bd66abc7e2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CloudErrorBody.json.cs @@ -20,7 +20,7 @@ public partial class CloudErrorBody partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class CloudErrorBody /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class CloudErrorBody /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.PowerShell.cs index 67a89039ab37..8fed13757fa2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceDiagnosticsProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceDiagnosticsProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,7 +144,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceDiagnosticsProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.TypeConverter.cs index 9a2d02e38dc3..3ed0419877af 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceDiagnosticsProfileTypeConverter : global::S { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -76,19 +76,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -100,8 +101,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.json.cs index 598d54a72fcf..37d7b2a7129d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceDiagnosticsProfile.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceDiagnosticsProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceDiagnosticsProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceDiagnosticsProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.PowerShell.cs index 25aafddd5afa..c6a355dc30c8 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceLinuxProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceLinuxProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,7 +142,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceLinuxProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.TypeConverter.cs index 0978f489d5a8..3fb1adf1f7d7 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceLinuxProfileTypeConverter : global::System. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.json.cs index 8a4ad02ca799..233cb7e0f706 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceLinuxProfile.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceLinuxProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceLinuxProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceLinuxProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.PowerShell.cs index d74553ba9e65..f615e920d005 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceMasterProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceMasterProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -180,7 +182,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceMasterProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.TypeConverter.cs index 28f9e7777f3a..a43ebd88b4e2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceMasterProfileTypeConverter : global::System { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.json.cs index 5bde2b1d34d2..eca2b496ac00 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceMasterProfile.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceMasterProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceMasterProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceMasterProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.PowerShell.cs index beb7570c6179..98923ba56b92 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceNetworkProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceNetworkProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -268,7 +270,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceNetworkProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.TypeConverter.cs index a28f84625fcb..ad65bdc1ba80 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceNetworkProfileTypeConverter : global::Syste { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.json.cs index 7659908ccf93..1a38e95d3367 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceNetworkProfile.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceNetworkProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceNetworkProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceNetworkProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.PowerShell.cs index 7a886e60c3f3..73b229872fba 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceSshConfiguration /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceSshConfiguration /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +128,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceSshConfiguration FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.TypeConverter.cs index ebb9f76c8aed..0c05a7a94ef9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceSshConfigurationTypeConverter : global::Sys { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.json.cs index 154adf4ebdfe..0aeb9d16a41a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshConfiguration.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceSshConfiguration partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceSshConfiguration /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceSshConfiguration /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.PowerShell.cs index 530bc309f0b0..fec494ea811f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceSshPublicKey /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceSshPublicKey /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -124,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceSshPublicKey FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.TypeConverter.cs index fc9cacf7b5e3..7d4e4b38b487 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceSshPublicKeyTypeConverter : global::System. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.json.cs index 9a3de935ec34..8feac1f8a225 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceSshPublicKey.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceSshPublicKey partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceSshPublicKey /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceSshPublicKey /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.PowerShell.cs index f5d59b5e5c0e..24a842fb3c51 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ContainerServiceVMDiagnostics /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ContainerServiceVMDiagnostics /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContain /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IContainerServiceVMDiagnostics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.TypeConverter.cs index 4202a1a5a86c..d840da855f7f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ContainerServiceVMDiagnosticsTypeConverter : global::System { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.json.cs index 9148ed407a9c..83d2552fafe5 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ContainerServiceVMDiagnostics.json.cs @@ -20,7 +20,7 @@ public partial class ContainerServiceVMDiagnostics partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ContainerServiceVMDiagnostics /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ContainerServiceVMDiagnostics /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.PowerShell.cs index a018aca7657b..592c3efd154d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class CredentialResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class CredentialResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICredent /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICredentialResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.TypeConverter.cs index 5fd8a3f197ce..33dc42d76fa6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class CredentialResultTypeConverter : global::System.Management.A { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.json.cs index e29347d7c9cc..71a91203182b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResult.json.cs @@ -20,7 +20,7 @@ public partial class CredentialResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class CredentialResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class CredentialResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.PowerShell.cs index b560d6c08aab..3550b3924675 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.PowerShell.cs @@ -31,7 +31,8 @@ public partial class CredentialResults /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class CredentialResults /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -124,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICredent /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICredentialResults FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.TypeConverter.cs index 13d4a8f3233e..e1ab9cb64c9b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class CredentialResultsTypeConverter : global::System.Management. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.json.cs index 3cdb32ce3fb0..bc7abcc54562 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/CredentialResults.json.cs @@ -20,7 +20,7 @@ public partial class CredentialResults partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class CredentialResults /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class CredentialResults /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.PowerShell.cs index ea5e5cb2ce85..9732a595cc66 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedCluster /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedCluster /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedCluster FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.TypeConverter.cs index 74cf8b2c3798..baccf6e49c00 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterTypeConverter : global::System.Management.Aut { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.cs index e6cd9c2e9b30..12d70946561a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.cs @@ -457,7 +457,7 @@ public ManagedCluster() /// an instance that will receive validation /// events. /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// A that will be complete when validation is completed. /// public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener) { diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.json.cs index 809bee2b74b7..5b5b411306a6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedCluster.json.cs @@ -20,7 +20,7 @@ public partial class ManagedCluster partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedCluster /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedCluster /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.PowerShell.cs index 90a77bb68a81..fb0c1993dbf5 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAadProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAadProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAadProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.TypeConverter.cs index d9191b8bce62..0d6229105b06 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterAadProfileTypeConverter : global::System.Mana { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.json.cs index 85993f6ed7df..7ab59aaed208 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAadProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAadProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAadProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAadProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.PowerShell.cs index 7f9952215aae..7beb696196eb 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAccessProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAccessProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAccessProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.TypeConverter.cs index 85987770e00b..6b7a8d4e3b5f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterAccessProfileTypeConverter : global::System.M { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.cs index 1b75aefba8f1..3849727ca24a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.cs @@ -71,7 +71,7 @@ public ManagedClusterAccessProfile() /// an instance that will receive validation /// events. /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// A that will be complete when validation is completed. /// public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener) { diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.json.cs index 45162946c463..c0eb2ef4e95d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAccessProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAccessProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAccessProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAccessProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.PowerShell.cs index ca4df4b415e6..10410f8ac48e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAddonProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAddonProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAddonProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.TypeConverter.cs index df60acc448f1..55438954fac4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterAddonProfileTypeConverter : global::System.Ma { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.json.cs index 42c8b8f4e935..de893e9d5c89 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAddonProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAddonProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAddonProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.PowerShell.cs index 498bbcff1fe6..b814c65d860b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAddonProfileConfig /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAddonProfileConfig /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAddonProfileConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.TypeConverter.cs index b695674b5b0b..eaea214e9944 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterAddonProfileConfigTypeConverter : global::Sys { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.json.cs index 87689d5639ce..6dec8cba876e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileConfig.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAddonProfileConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAddonProfileConfig /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAddonProfileConfig /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.PowerShell.cs index b710f9f71e2c..b1a8e86eeda1 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAddonProfileIdentity /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAddonProfileIdentity /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAddonProfileIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.TypeConverter.cs index 80e9947d974a..761a888b0565 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterAddonProfileIdentityTypeConverter : global::S { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -76,19 +76,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -100,8 +101,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.cs index 5b31f8ebae4c..e8ecc84c98eb 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.cs @@ -41,7 +41,7 @@ public ManagedClusterAddonProfileIdentity() /// an instance that will receive validation /// events. /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// A that will be complete when validation is completed. /// public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener) { diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.json.cs index 5db5c515c060..042de59d8d76 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAddonProfileIdentity.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAddonProfileIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAddonProfileIdentity /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAddonProfileIdentity /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.PowerShell.cs index aaf60745f789..a04070772f3c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAgentPoolProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAgentPoolProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAgentPoolProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.TypeConverter.cs index 2ed9d19e476e..ca9c4f162be6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterAgentPoolProfileTypeConverter : global::Syste { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.cs index f90844163a97..9fea804c1e2a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.cs @@ -183,7 +183,7 @@ public ManagedClusterAgentPoolProfile() /// an instance that will receive validation /// events. /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// A that will be complete when validation is completed. /// public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener) { diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.json.cs index 179207673ae1..8bba5f3482b9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAgentPoolProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAgentPoolProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAgentPoolProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.PowerShell.cs index 4318cd86371b..720ea31d7c5b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAgentPoolProfileProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAgentPoolProfileProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAgentPoolProfileProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.TypeConverter.cs index daf0dc0e20ab..f557346e9b20 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTypeConverter : glo { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.json.cs index d00d023ff030..6b34b913d467 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfileProperties.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAgentPoolProfileProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAgentPoolProfileProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAgentPoolProfileProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.PowerShell.cs index 37b03d8a97ed..16ee6667c3ec 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesNodeLabels /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesNodeLabels /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAgentPoolProfilePropertiesNodeLabels FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.TypeConverter.cs index 5553ae97c0d3..a6ff15067fa1 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterAgentPoolProfilePropertiesNodeLabelsTypeConve { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -102,8 +103,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.json.cs index 53bba74a2047..9c5bd50ef577 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesNodeLabels.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAgentPoolProfilePropertiesNodeLabels partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesNodeLabels /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesNodeLabels /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.PowerShell.cs index 2a1ed8836d6a..8b82125660c8 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTags /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTags /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterAgentPoolProfilePropertiesTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.TypeConverter.cs index 002972054b40..20b8c5240c6b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTagsTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.json.cs index 478d54161e0b..107b466160f9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterAgentPoolProfilePropertiesTags.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTags /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterAgentPoolProfilePropertiesTags /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.PowerShell.cs index bdafc84af6f0..ea959c20ce30 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterApiServerAccessProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterApiServerAccessProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterApiServerAccessProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.TypeConverter.cs index 5aab18e39991..6c15b9dd3633 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterApiServerAccessProfileTypeConverter : global: { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.json.cs index efa7750fb67c..03b4e8780843 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterApiServerAccessProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterApiServerAccessProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterApiServerAccessProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterApiServerAccessProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.PowerShell.cs index 6cdf04bdb9e3..3f345bc2d2c7 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterIdentity /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterIdentity /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.TypeConverter.cs index 845dbd36de12..410f8c49ab79 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterIdentityTypeConverter : global::System.Manage { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.json.cs index 5512d75592f9..f03c7e68a93b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentity.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterIdentity /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterIdentity /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.PowerShell.cs index 55719bf552fb..40fa219ab6e4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.PowerShell.cs @@ -34,7 +34,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentities /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -46,7 +47,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentities /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -88,7 +90,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterIdentityUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.TypeConverter.cs index 81b4fe7d6552..64bd3b7a5e48 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.json.cs index 83938822c3c6..9d8ee4886658 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentities.json.cs @@ -23,7 +23,7 @@ public partial class ManagedClusterIdentityUserAssignedIdentities partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -33,7 +33,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentities /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -45,7 +46,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentities /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.PowerShell.cs index 5b6f31f56bb4..822a626fa173 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.PowerShell.cs @@ -30,7 +30,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesValue /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesValue /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterIdentityUserAssignedIdentitiesValue FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.TypeConverter.cs index 9ad59e6edcd6..81136ba7b9a3 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesValueTypeConver { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -102,8 +103,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.json.cs index c3d650ccb24c..45e0f62424e8 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterIdentityUserAssignedIdentitiesValue.json.cs @@ -19,7 +19,7 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesValue partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesValue /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ManagedClusterIdentityUserAssignedIdentitiesValue /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.PowerShell.cs index 8b04068dd95f..c791d2e4a554 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterListResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterListResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.TypeConverter.cs index ee230a13bddc..125d441e34c7 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterListResultTypeConverter : global::System.Mana { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.json.cs index 7bea51185ac1..a424dd598003 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterListResult.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.PowerShell.cs index fb511644264d..d12b259071bc 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterLoadBalancerProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterLoadBalancerProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterLoadBalancerProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.TypeConverter.cs index a95b49f54e3d..19889c6e07a7 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterLoadBalancerProfileTypeConverter : global::Sy { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.json.cs index b8d64834ee08..01e95020cf41 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterLoadBalancerProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterLoadBalancerProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterLoadBalancerProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.PowerShell.cs index 177897227778..f535fc90f802 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterLoadBalancerProfileManagedOutboundIPs /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterLoadBalancerProfileManagedOutboundIPs /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterLoadBalancerProfileManagedOutboundIPs FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.TypeConverter.cs index 99e40e17c0fe..8e15dbe5d2d4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterLoadBalancerProfileManagedOutboundIPsTypeConv { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -102,8 +103,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.json.cs index f3935678c134..94a0eb616529 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileManagedOutboundIPs.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterLoadBalancerProfileManagedOutboundIPs partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterLoadBalancerProfileManagedOutboundIPs /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterLoadBalancerProfileManagedOutboundIPs /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.PowerShell.cs index 770be67fe2e6..426c59dc73b4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPPrefixes /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPPrefixes /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterLoadBalancerProfileOutboundIPPrefixes FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.TypeConverter.cs index 1ff64f45a0ba..96d070336fe0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPPrefixesTypeConv { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -102,8 +103,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.json.cs index 5f9bf67b6f3b..27d9b8b66e28 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPPrefixes.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPPrefixes partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPPrefixes /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPPrefixes /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.PowerShell.cs index 091f6903fb5d..7163a4d9f2fc 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPs /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPs /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterLoadBalancerProfileOutboundIPs FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.TypeConverter.cs index 0a60346ad945..36f28a62ad1b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPsTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.json.cs index b7bf2b1cc094..fbb46e1acf36 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterLoadBalancerProfileOutboundIPs.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPs partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPs /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterLoadBalancerProfileOutboundIPs /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.PowerShell.cs index 6de10721f1f2..f4c235fc0d6a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterPoolUpgradeProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterPoolUpgradeProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterPoolUpgradeProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.TypeConverter.cs index c66eb73a9265..6b77e39eca3e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterPoolUpgradeProfileTypeConverter : global::Sys { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.json.cs index 22d0065f7595..a48e5368ec1d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterPoolUpgradeProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterPoolUpgradeProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterPoolUpgradeProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.PowerShell.cs index c980a404d532..a71828f18b72 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.PowerShell.cs @@ -30,7 +30,8 @@ public partial class ManagedClusterPoolUpgradeProfileUpgradesItem /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class ManagedClusterPoolUpgradeProfileUpgradesItem /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterPoolUpgradeProfileUpgradesItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.TypeConverter.cs index a367bc2ac6a4..93df951da610 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterPoolUpgradeProfileUpgradesItemTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.json.cs index af2084067551..73b200486b31 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPoolUpgradeProfileUpgradesItem.json.cs @@ -19,7 +19,7 @@ public partial class ManagedClusterPoolUpgradeProfileUpgradesItem partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ManagedClusterPoolUpgradeProfileUpgradesItem /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ManagedClusterPoolUpgradeProfileUpgradesItem /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.PowerShell.cs index aae0f675fbea..e8780b556591 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.TypeConverter.cs index 99b9c19d6878..f1264bd63fd2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterPropertiesTypeConverter : global::System.Mana { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.json.cs index ccdb3f1d0958..7f03f6dcfcb6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterProperties.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.PowerShell.cs index 995f392a6184..f9f98c4a71d6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterPropertiesAddonProfiles /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterPropertiesAddonProfiles /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterPropertiesAddonProfiles FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.TypeConverter.cs index 62ef063442c9..69900f983406 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterPropertiesAddonProfilesTypeConverter : global { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.json.cs index 0a8f50f4f10f..869f6ad87b5d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAddonProfiles.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterPropertiesAddonProfiles partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterPropertiesAddonProfiles /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterPropertiesAddonProfiles /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.PowerShell.cs index 43e01c4864e3..332ed597b1b6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterPropertiesAutoScalerProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterPropertiesAutoScalerProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterPropertiesAutoScalerProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.TypeConverter.cs index 20f8484c15d1..18ec11246945 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterPropertiesAutoScalerProfileTypeConverter : gl { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.json.cs index d42c7c5b2dcb..24ab8b366e7d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesAutoScalerProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterPropertiesAutoScalerProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterPropertiesAutoScalerProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterPropertiesAutoScalerProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.PowerShell.cs index c87baba8087e..e7028202c449 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterPropertiesIdentityProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterPropertiesIdentityProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterPropertiesIdentityProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.TypeConverter.cs index 0661c2246caf..4f4c219a6c3d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterPropertiesIdentityProfileTypeConverter : glob { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.json.cs index 89a015e89e9a..49b70f6c4ee6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterPropertiesIdentityProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterPropertiesIdentityProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterPropertiesIdentityProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.PowerShell.cs index 896287acb08b..4c0f5c083a3d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.PowerShell.cs @@ -30,7 +30,8 @@ public partial class ManagedClusterPropertiesIdentityProfileValue /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class ManagedClusterPropertiesIdentityProfileValue /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterPropertiesIdentityProfileValue FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.TypeConverter.cs index 3f210a833d13..efcf95b21794 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterPropertiesIdentityProfileValueTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.cs index 5c5fd1cf2ca3..16f90f79e5bd 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.cs @@ -42,7 +42,7 @@ public ManagedClusterPropertiesIdentityProfileValue() /// an instance that will receive validation /// events. /// - /// A < see cref = "global::System.Threading.Tasks.Task" /> that will be complete when validation is completed. + /// A that will be complete when validation is completed. /// public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener eventListener) { diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.json.cs index 163d7d61851a..826545d19fbc 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterPropertiesIdentityProfileValue.json.cs @@ -19,7 +19,7 @@ public partial class ManagedClusterPropertiesIdentityProfileValue partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ManagedClusterPropertiesIdentityProfileValue /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ManagedClusterPropertiesIdentityProfileValue /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.PowerShell.cs index b8300f0cb166..5f88ab9037c0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.PowerShell.cs @@ -33,7 +33,8 @@ public partial class ManagedClusterServicePrincipalProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -45,7 +46,8 @@ public partial class ManagedClusterServicePrincipalProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -87,7 +89,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterServicePrincipalProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.TypeConverter.cs index 6f9156f281fa..0ed724884800 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterServicePrincipalProfileTypeConverter : global { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.json.cs index 723def6faa95..6eac62ed505d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterServicePrincipalProfile.json.cs @@ -22,7 +22,7 @@ public partial class ManagedClusterServicePrincipalProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -32,7 +32,8 @@ public partial class ManagedClusterServicePrincipalProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -44,7 +45,8 @@ public partial class ManagedClusterServicePrincipalProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.PowerShell.cs index c64acb1f4cff..08edd3df70d6 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.PowerShell.cs @@ -30,7 +30,8 @@ public partial class ManagedClusterSku /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class ManagedClusterSku /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -81,7 +83,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterSku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.TypeConverter.cs index ec11a0ed0f7c..069c9fff935a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterSkuTypeConverter : global::System.Management. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.json.cs index 33f8b2a80cf5..95eb7d7fe5dd 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterSku.json.cs @@ -19,7 +19,7 @@ public partial class ManagedClusterSku partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class ManagedClusterSku /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class ManagedClusterSku /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.PowerShell.cs index f4a012465ad0..fe899497a216 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterUpgradeProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterUpgradeProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterUpgradeProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.TypeConverter.cs index de84e87578af..7a5232b8383c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterUpgradeProfileTypeConverter : global::System. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.json.cs index 7246af0550a9..f9dcb8dafeaa 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterUpgradeProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterUpgradeProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterUpgradeProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.PowerShell.cs index cac23374529f..b8f81660f1b9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterUpgradeProfileProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterUpgradeProfileProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -85,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterUpgradeProfileProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.TypeConverter.cs index 98cec8cb0f04..72a83bdeacd4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.TypeConverter.cs @@ -15,20 +15,20 @@ public partial class ManagedClusterUpgradeProfilePropertiesTypeConverter : globa { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -77,19 +77,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -101,8 +102,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.json.cs index d03405eb21ab..70a3e0192c16 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterUpgradeProfileProperties.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterUpgradeProfileProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterUpgradeProfileProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterUpgradeProfileProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.PowerShell.cs index 004f6bedae45..11534b2d4aed 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ManagedClusterWindowsProfile /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ManagedClusterWindowsProfile /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManaged /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterWindowsProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.TypeConverter.cs index c45342279dc9..857786fa7a88 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ManagedClusterWindowsProfileTypeConverter : global::System. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.json.cs index 0c1ba4b15125..d59d11b872d5 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ManagedClusterWindowsProfile.json.cs @@ -20,7 +20,7 @@ public partial class ManagedClusterWindowsProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ManagedClusterWindowsProfile /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ManagedClusterWindowsProfile /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.PowerShell.cs index bd823da9839e..012be278738d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OperationListResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OperationListResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperati /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.TypeConverter.cs index ae0a5a8c379e..05874de95ffb 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class OperationListResultTypeConverter : global::System.Managemen { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.json.cs index 707d7f3b1c2a..5cffc28ce664 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationListResult.json.cs @@ -20,7 +20,7 @@ public partial class OperationListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.PowerShell.cs index 902c321b979a..31581a3a913f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OperationValue /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OperationValue /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperati /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationValue FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.TypeConverter.cs index 6e37b41d9d2e..2feaa1b5fe2c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class OperationValueTypeConverter : global::System.Management.Aut { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.json.cs index 6a36bee5658c..89e6f8241ce8 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValue.json.cs @@ -20,7 +20,7 @@ public partial class OperationValue partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationValue /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationValue /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.PowerShell.cs index 35b06e3ff6c2..890abe6b4737 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.PowerShell.cs @@ -31,7 +31,8 @@ public partial class OperationValueDisplay /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class OperationValueDisplay /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperati /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationValueDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.TypeConverter.cs index 87ce89abd6f5..a558535cb927 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class OperationValueDisplayTypeConverter : global::System.Managem { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.json.cs index ea52b605ba18..95f96c050546 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/OperationValueDisplay.json.cs @@ -20,7 +20,7 @@ public partial class OperationValueDisplay partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class OperationValueDisplay /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class OperationValueDisplay /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.PowerShell.cs index 721385dcc4b0..901950df17cf 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PowerState /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PowerState /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPowerSt /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPowerState FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.TypeConverter.cs index 9f11e5e34b07..dd5265467ac1 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.TypeConverter.cs @@ -14,20 +14,19 @@ public partial class PowerStateTypeConverter : global::System.Management.Automat { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +74,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +99,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.json.cs index 38cce3a6ab0d..54ff342edcf3 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PowerState.json.cs @@ -20,7 +20,7 @@ public partial class PowerState partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PowerState /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PowerState /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.PowerShell.cs index 83946d16a10f..428aa7e3cbc4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateEndpoint /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateEndpoint /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.TypeConverter.cs index e11a73713473..d2a5c7ee36cf 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateEndpointTypeConverter : global::System.Management.Au { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.json.cs index 530ce795c0aa..e890079352eb 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpoint.json.cs @@ -20,7 +20,7 @@ public partial class PrivateEndpoint partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateEndpoint /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateEndpoint /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.PowerShell.cs index 2084b7bacd36..5c9c548fd24a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateEndpointConnection /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateEndpointConnection /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateEndpointConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.TypeConverter.cs index 4767af72c3c4..17d830774e60 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateEndpointConnectionTypeConverter : global::System.Man { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.json.cs index dbfd5de67a44..a901d6880285 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnection.json.cs @@ -20,7 +20,7 @@ public partial class PrivateEndpointConnection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateEndpointConnection /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateEndpointConnection /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.PowerShell.cs index a9fcc0aaead8..9463cd951b5c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateEndpointConnectionListResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateEndpointConnectionListResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateEndpointConnectionListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.TypeConverter.cs index 42c4222d72cd..c52256c1c379 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateEndpointConnectionListResultTypeConverter : global:: { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -76,19 +76,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -100,8 +101,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.json.cs index bf0b30e42297..5b17e7cf821d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionListResult.json.cs @@ -20,7 +20,7 @@ public partial class PrivateEndpointConnectionListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateEndpointConnectionListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateEndpointConnectionListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.PowerShell.cs index 456d99b6dfe7..c5f2de4da873 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateEndpointConnectionProperties /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateEndpointConnectionProperties /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateEndpointConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.TypeConverter.cs index 112dffab4bf2..32b11407a3e3 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateEndpointConnectionPropertiesTypeConverter : global:: { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -76,19 +76,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -100,8 +101,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.json.cs index d4af7ef7a15a..d4ba3e8e35ec 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateEndpointConnectionProperties.json.cs @@ -20,7 +20,7 @@ public partial class PrivateEndpointConnectionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateEndpointConnectionProperties /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateEndpointConnectionProperties /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.PowerShell.cs index 95073cd8630e..04bf05e651c0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateLinkResource /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateLinkResource /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateLinkResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.TypeConverter.cs index 3f433d845801..63b0c1d0108b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateLinkResourceTypeConverter : global::System.Managemen { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.json.cs index 7e116ae21cff..9d57ba4934be 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResource.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateLinkResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateLinkResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.PowerShell.cs index 6302f02e9fc2..02d9249a411b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateLinkResourcesListResult /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateLinkResourcesListResult /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateLinkResourcesListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.TypeConverter.cs index 2bf812d991fe..9665f23f70eb 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateLinkResourcesListResultTypeConverter : global::Syste { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.json.cs index a5c7ab27bd37..dae0bc51ed58 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkResourcesListResult.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkResourcesListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateLinkResourcesListResult /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateLinkResourcesListResult /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.PowerShell.cs index 7458aa3e48c5..0ae3b465de12 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.PowerShell.cs @@ -31,7 +31,8 @@ public partial class PrivateLinkServiceConnectionState /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class PrivateLinkServiceConnectionState /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -84,7 +86,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivate /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// + /// an instance of the model class. + /// public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IPrivateLinkServiceConnectionState FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.TypeConverter.cs index 3d81e8a643ce..96cff4202999 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class PrivateLinkServiceConnectionStateTypeConverter : global::Sy { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,8 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.json.cs index 1c69e09f2605..9478b435ac1a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/PrivateLinkServiceConnectionState.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkServiceConnectionState partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class PrivateLinkServiceConnectionState /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class PrivateLinkServiceConnectionState /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.PowerShell.cs index faca84ae3bb5..2f484a374e79 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.PowerShell.cs @@ -31,7 +31,8 @@ public partial class Resource /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class Resource /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IResourc /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.TypeConverter.cs index a8810e446582..d3d9ecc9f8be 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.TypeConverter.cs @@ -14,20 +14,19 @@ public partial class ResourceTypeConverter : global::System.Management.Automatio { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +74,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +99,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.json.cs index 42e7c720f39a..71dde941f2be 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/Resource.json.cs @@ -20,7 +20,7 @@ public partial class Resource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class Resource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class Resource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.PowerShell.cs index a8baa48ac158..e3786994d206 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ResourceReference /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ResourceReference /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IResourc /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IResourceReference FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.TypeConverter.cs index 13d0ca705a47..bd9f19a9241e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ResourceReferenceTypeConverter : global::System.Management. { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.json.cs index ed033dbe1225..b723e62be11a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceReference.json.cs @@ -20,7 +20,7 @@ public partial class ResourceReference partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ResourceReference /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ResourceReference /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.PowerShell.cs index 2a802c9c9f29..da9d2d5fb710 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.PowerShell.cs @@ -31,7 +31,8 @@ public partial class ResourceTags /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class ResourceTags /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IResourc /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.TypeConverter.cs index 6723d9ad2009..3fa38535f4df 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class ResourceTagsTypeConverter : global::System.Management.Autom { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.json.cs index ed096053ec9f..3fcf257da4de 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/ResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class ResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class ResourceTags /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class ResourceTags /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.PowerShell.cs index c8174a4fdb7a..077bdf78c6fc 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.PowerShell.cs @@ -31,7 +31,8 @@ public partial class SubResource /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class SubResource /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ISubReso /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ISubResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.TypeConverter.cs index fed61c013f30..5a61806667f1 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class SubResourceTypeConverter : global::System.Management.Automa { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.json.cs index 5b93040b5ed5..f8cc35ab9d26 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/SubResource.json.cs @@ -20,7 +20,7 @@ public partial class SubResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class SubResource /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class SubResource /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.PowerShell.cs index ba5aed637adf..7aa6fe9787d5 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.PowerShell.cs @@ -31,7 +31,8 @@ public partial class TagsObject /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class TagsObject /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ITagsObj /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ITagsObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.TypeConverter.cs index bb16e047c27e..8f2dc4d00452 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.TypeConverter.cs @@ -14,20 +14,19 @@ public partial class TagsObjectTypeConverter : global::System.Management.Automat { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +74,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +99,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.json.cs index 648c193efefe..40b981399416 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObject.json.cs @@ -20,7 +20,7 @@ public partial class TagsObject partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class TagsObject /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class TagsObject /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.PowerShell.cs index e1222c13c8fb..ea4e8991898b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.PowerShell.cs @@ -31,7 +31,8 @@ public partial class TagsObjectTags /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -43,7 +44,8 @@ public partial class TagsObjectTags /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ITagsObj /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ITagsObjectTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.TypeConverter.cs index 3107fd8b9f48..e2e438ce0530 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class TagsObjectTagsTypeConverter : global::System.Management.Aut { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.json.cs index 1a191f7909b6..b2e2d43b7a3c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/TagsObjectTags.json.cs @@ -20,7 +20,7 @@ public partial class TagsObjectTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -30,7 +30,8 @@ public partial class TagsObjectTags /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -42,7 +43,8 @@ public partial class TagsObjectTags /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.PowerShell.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.PowerShell.cs index bfaecbdf4351..1a4acd2f4ad0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.PowerShell.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.PowerShell.cs @@ -30,7 +30,8 @@ public partial class UserAssignedIdentity /// /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Collections.IDictionary content that should be used. @@ -42,7 +43,8 @@ public partial class UserAssignedIdentity /// /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization /// of the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -81,7 +83,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IUserAss /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IUserAssignedIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.TypeConverter.cs index 1df0d37fa587..91e4506754aa 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.TypeConverter.cs @@ -14,20 +14,20 @@ public partial class UserAssignedIdentityTypeConverter : global::System.Manageme { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the + /// type. /// /// the instance to check if it can be converted to the type. @@ -75,19 +75,20 @@ public static bool CanConvertFrom(dynamic sourceValue) } /// - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the + /// parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false + /// true if the converter can convert the parameter to the parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -99,8 +100,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.json.cs b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.json.cs index 2ee67257fb43..1b03fe651a93 100644 --- a/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.json.cs +++ b/src/Aks/Aks.Autorest/generated/api/Models/Api20200901/UserAssignedIdentity.json.cs @@ -19,7 +19,7 @@ public partial class UserAssignedIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonObject json); /// - /// AfterToJson will be called after the json erialization has finished, allowing customization of the AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior /// /// The JSON container that the serialization result will be placed in. @@ -29,7 +29,8 @@ public partial class UserAssignedIdentity /// /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of /// the object before it is deserialized. - /// If you wish to disable the default deserialization entirely, return true in the output parameter. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JsonNode that should be deserialized into this object. @@ -41,7 +42,8 @@ public partial class UserAssignedIdentity /// /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the /// object before it is serialized. - /// If you wish to disable the default serialization entirely, return true in the output parameter. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. /// Implement this method in a partial class to enable this behavior. /// /// The JSON container that the serialization result will be placed in. diff --git a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.TypeConverter.cs index 25fea4c6630b..a0b250c92d71 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class AgentPoolModeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.cs b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.cs index e4a16b996ba9..1b39835db417 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolMode.cs @@ -17,7 +17,7 @@ public partial struct AgentPoolMode : /// the value for an instance of the Enum. private string _value { get; set; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private AgentPoolMode(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum AgentPoolMode - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolMode e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolMode e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum AgentPoolMode - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolMode e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolMode e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.TypeConverter.cs index 3bfd669c277f..90f223d9f3ae 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class AgentPoolTypeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.cs b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.cs index 6bac678ffedd..74a04c7b76b9 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/AgentPoolType.cs @@ -17,7 +17,7 @@ public partial struct AgentPoolType : /// the value for an instance of the Enum. private string _value { get; set; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private AgentPoolType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum AgentPoolType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum AgentPoolType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.AgentPoolType e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/Code.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/Code.TypeConverter.cs index 748ef3e58628..582033e946b2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/Code.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/Code.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class CodeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/Code.cs b/src/Aks/Aks.Autorest/generated/api/Support/Code.cs index 4d94f90e094e..174a10d10420 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/Code.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/Code.cs @@ -17,7 +17,7 @@ public partial struct Code : /// the value for an instance of the Enum. private string _value { get; set; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private Code(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum Code - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Code e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Code e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum Code - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Code e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Code e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.TypeConverter.cs index 1798410d5929..f0c5d7858884 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class ConnectionStatusTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.cs b/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.cs index 54db17fb9587..e8cdeaa9306f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ConnectionStatus.cs @@ -21,7 +21,7 @@ public partial struct ConnectionStatus : /// the value for an instance of the Enum. private string _value { get; set; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ConnectionStatus(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ConnectionStatus - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ConnectionStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ConnectionStatus e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ConnectionStatus - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ConnectionStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ConnectionStatus e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.TypeConverter.cs index 013c13a73f61..210b31ce2e38 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.TypeConverter.cs @@ -15,32 +15,32 @@ public partial class ContainerServiceStorageProfileTypesTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.cs b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.cs index 8edb399cef6e..16456b95976b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceStorageProfileTypes.cs @@ -23,7 +23,7 @@ public partial struct ContainerServiceStorageProfileTypes : private string _value { get; set; } /// - /// Creates an instance of the + /// Creates an instance of the Enum class. /// /// the value to create an instance for. private ContainerServiceStorageProfileTypes(string underlyingValue) @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ContainerServiceStorageProfileTypes - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceStorageProfileTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceStorageProfileTypes e2) { @@ -96,8 +96,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ContainerServiceStorageProfileTypes - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceStorageProfileTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceStorageProfileTypes e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.TypeConverter.cs index 085a353898d7..babc24efc2fa 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class ContainerServiceVMSizeTypesTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.cs b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.cs index ccff684a3886..3605dfadda09 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ContainerServiceVMSizeTypes.cs @@ -364,7 +364,7 @@ public partial struct ContainerServiceVMSizeTypes : private string _value { get; set; } /// - /// Creates an instance of the + /// Creates an instance of the Enum class. /// /// the value to create an instance for. private ContainerServiceVMSizeTypes(string underlyingValue) @@ -426,8 +426,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ContainerServiceVMSizeTypes - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceVMSizeTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceVMSizeTypes e2) { @@ -435,8 +435,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ContainerServiceVMSizeTypes - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceVMSizeTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ContainerServiceVMSizeTypes e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/Expander.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/Expander.TypeConverter.cs index 1330b21b6dd5..dfe958c46469 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/Expander.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/Expander.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class ExpanderTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/Expander.cs b/src/Aks/Aks.Autorest/generated/api/Support/Expander.cs index bcb02e84aecb..a3ead1b74a0c 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/Expander.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/Expander.cs @@ -41,7 +41,7 @@ public override bool Equals(object obj) return obj is Expander && Equals((Expander)obj); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private Expander(string underlyingValue) { @@ -79,8 +79,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum Expander - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Expander e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Expander e2) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum Expander - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Expander e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.Expander e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.TypeConverter.cs index 68b2502b8d78..3f064b0515dd 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.TypeConverter.cs @@ -14,32 +14,32 @@ public partial class LicenseTypeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.cs b/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.cs index 05189d0b6393..9b460d09068f 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/LicenseType.cs @@ -49,7 +49,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private LicenseType(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum LicenseType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LicenseType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LicenseType e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum LicenseType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LicenseType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LicenseType e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.TypeConverter.cs index 9324c92e0528..67c407b9ccff 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class LoadBalancerSkuTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.cs b/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.cs index 62e630413da8..0c9aadd57b83 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/LoadBalancerSku.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private LoadBalancerSku(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum LoadBalancerSku - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LoadBalancerSku e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LoadBalancerSku e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum LoadBalancerSku - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LoadBalancerSku e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.LoadBalancerSku e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.TypeConverter.cs index 58be83e3805a..17a769fdd8d0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class ManagedClusterSkuNameTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.cs b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.cs index 1cf9ce171387..b774ba2e2371 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuName.cs @@ -45,7 +45,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ManagedClusterSkuName(string underlyingValue) { @@ -76,8 +76,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ManagedClusterSkuName - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuName e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuName e2) { @@ -85,8 +85,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ManagedClusterSkuName - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuName e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuName e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.TypeConverter.cs index fb7554071077..d04c9f2aeb34 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class ManagedClusterSkuTierTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.cs b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.cs index 51a0a7410746..e6a68b1b2e17 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ManagedClusterSkuTier.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ManagedClusterSkuTier(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ManagedClusterSkuTier - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuTier e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuTier e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ManagedClusterSkuTier - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuTier e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ManagedClusterSkuTier e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.TypeConverter.cs index 12b811224fd0..35fd6fbdcec0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class NetworkModeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.cs b/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.cs index 3228f4c68463..ac91819a2aa2 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/NetworkMode.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private NetworkMode(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum NetworkMode - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkMode e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkMode e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum NetworkMode - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkMode e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkMode e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.TypeConverter.cs index 871150d93b0c..717172462c52 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class NetworkPluginTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.cs b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.cs index e331db5f242d..d13950a309e1 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPlugin.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private NetworkPlugin(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum NetworkPlugin - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPlugin e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPlugin e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum NetworkPlugin - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPlugin e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPlugin e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.TypeConverter.cs index f9fb2b13e3ca..64cb3e707c5a 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class NetworkPolicyTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.cs b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.cs index 46216776f99c..71a3d3de1b55 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/NetworkPolicy.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private NetworkPolicy(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum NetworkPolicy - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicy e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicy e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum NetworkPolicy - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicy e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.NetworkPolicy e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.TypeConverter.cs index 9e41f3ff9a01..1a1a5081b083 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class OSDiskTypeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.cs b/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.cs index f9459e0e2c2e..bf2df128555d 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/OSDiskType.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private OSDiskType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum OSDiskType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum OSDiskType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskType e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/OSType.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/OSType.TypeConverter.cs index d742befe7b43..5113d994c759 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/OSType.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/OSType.TypeConverter.cs @@ -14,32 +14,32 @@ public partial class OSTypeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/OSType.cs b/src/Aks/Aks.Autorest/generated/api/Support/OSType.cs index 6fa46950494c..d7948ba73e93 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/OSType.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/OSType.cs @@ -49,7 +49,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private OSType(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum OSType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSType e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum OSType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSType e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.TypeConverter.cs index a8afdd516788..1eabb91652d7 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class OutboundTypeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.cs b/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.cs index d0ca069b81cf..9b25a9f88eed 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/OutboundType.cs @@ -47,7 +47,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private OutboundType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum OutboundType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OutboundType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OutboundType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum OutboundType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OutboundType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OutboundType e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.TypeConverter.cs index a75e806db2bd..7a708c9b2239 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.TypeConverter.cs @@ -12,32 +12,32 @@ public partial class PrivateEndpointConnectionProvisioningStateTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.cs b/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.cs index 64d47b945969..2e67c1a3898e 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/PrivateEndpointConnectionProvisioningState.cs @@ -56,7 +56,7 @@ public override int GetHashCode() } /// - /// Creates an instance of the + /// Creates an instance of the Enum class. /// /// the value to create an instance for. private PrivateEndpointConnectionProvisioningState(string underlyingValue) @@ -92,8 +92,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum PrivateEndpointConnectionProvisioningState - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.PrivateEndpointConnectionProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.PrivateEndpointConnectionProvisioningState e2) { @@ -101,8 +101,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum PrivateEndpointConnectionProvisioningState - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.PrivateEndpointConnectionProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.PrivateEndpointConnectionProvisioningState e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.TypeConverter.cs index 19b438ce7896..9b4a443b4d91 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.TypeConverter.cs @@ -16,32 +16,32 @@ public partial class ResourceIdentityTypeTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.cs b/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.cs index 2295404a54b9..a3f2795b31b4 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ResourceIdentityType.cs @@ -53,7 +53,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ResourceIdentityType(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ResourceIdentityType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ResourceIdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ResourceIdentityType e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ResourceIdentityType - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ResourceIdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ResourceIdentityType e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.TypeConverter.cs index 0a8714c349e4..9e493c352288 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.TypeConverter.cs @@ -14,32 +14,32 @@ public partial class ScaleSetEvictionPolicyTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.cs b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.cs index 571918b6d366..66401843ca53 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetEvictionPolicy.cs @@ -49,7 +49,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ScaleSetEvictionPolicy(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ScaleSetEvictionPolicy - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicy e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicy e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ScaleSetEvictionPolicy - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicy e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetEvictionPolicy e2) { diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.TypeConverter.cs b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.TypeConverter.cs index f38743746277..72d1939e78e0 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.TypeConverter.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.TypeConverter.cs @@ -14,32 +14,32 @@ public partial class ScaleSetPriorityTypeConverter : { /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; /// - /// Determines if the converter can convert the parameter to the - /// parameter. + /// Determines if the converter can convert the parameter to the parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the - /// parameter, otherwise false. + /// true if the converter can convert the parameter to the parameter, otherwise false. /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to diff --git a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.cs b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.cs index 1645e386080d..08ac085a930b 100644 --- a/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.cs +++ b/src/Aks/Aks.Autorest/generated/api/Support/ScaleSetPriority.cs @@ -49,7 +49,7 @@ public override int GetHashCode() return this._value.GetHashCode(); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ScaleSetPriority(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding != operator for enum ScaleSetPriority - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are not equal to the same value public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetPriority e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetPriority e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Aks.Su } /// Overriding == operator for enum ScaleSetPriority - /// the value to compare against - /// the value to compare against + /// the value to compare against + /// the value to compare against /// true if the two instances are equal to the same value public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetPriority e1, Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.ScaleSetPriority e2) { diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksContainerServiceOrchestrator_List.cs b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksContainerServiceOrchestrator_List.cs index b333bbf09bba..e86716316df1 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksContainerServiceOrchestrator_List.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksContainerServiceOrchestrator_List.cs @@ -84,11 +84,11 @@ public partial class GetAzAksContainerServiceOrchestrator_List : global::System. public string Location { get => this._location; set => this._location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -152,8 +152,8 @@ public partial class GetAzAksContainerServiceOrchestrator_List : global::System. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult + /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) @@ -164,6 +164,11 @@ public partial class GetAzAksContainerServiceOrchestrator_List : global::System. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -175,7 +180,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -283,7 +288,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -327,8 +331,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_Get.cs b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_Get.cs index ecd799e852bb..f30b62675bd0 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_Get.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_Get.cs @@ -82,11 +82,11 @@ public partial class GetAzAksNodePoolUpgradeProfile_Get : global::System.Managem public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -165,8 +165,8 @@ public partial class GetAzAksNodePoolUpgradeProfile_Get : global::System.Managem /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -177,8 +177,8 @@ public partial class GetAzAksNodePoolUpgradeProfile_Get : global::System.Managem /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfile + /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) @@ -189,6 +189,11 @@ public partial class GetAzAksNodePoolUpgradeProfile_Get : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -200,7 +205,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -308,7 +313,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -354,8 +358,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// @@ -394,8 +398,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfile + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_GetViaIdentity.cs b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_GetViaIdentity.cs index 4798c202e64f..62d80402e585 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_GetViaIdentity.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksNodePoolUpgradeProfile_GetViaIdentity.cs @@ -76,11 +76,11 @@ public partial class GetAzAksNodePoolUpgradeProfile_GetViaIdentity : global::Sys public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -109,8 +109,8 @@ public partial class GetAzAksNodePoolUpgradeProfile_GetViaIdentity : global::Sys /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -121,8 +121,8 @@ public partial class GetAzAksNodePoolUpgradeProfile_GetViaIdentity : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfile + /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) @@ -133,6 +133,11 @@ public partial class GetAzAksNodePoolUpgradeProfile_GetViaIdentity : global::Sys /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -144,7 +149,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -252,7 +257,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -319,8 +323,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// @@ -359,8 +363,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IAgentPoolUpgradeProfile + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksOperation_List.cs b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksOperation_List.cs index 9d01aaa45e7e..93a78d62f256 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksOperation_List.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksOperation_List.cs @@ -67,11 +67,11 @@ public partial class GetAzAksOperation_List : global::System.Management.Automati public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -100,8 +100,8 @@ public partial class GetAzAksOperation_List : global::System.Management.Automati /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -112,8 +112,8 @@ public partial class GetAzAksOperation_List : global::System.Management.Automati /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationListResult + /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) @@ -124,6 +124,11 @@ public partial class GetAzAksOperation_List : global::System.Management.Automati /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -135,7 +140,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -243,7 +248,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -286,8 +290,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// @@ -326,8 +330,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationListResult + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_Get.cs b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_Get.cs index 48f0eee06615..6df609002cd0 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_Get.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_Get.cs @@ -84,11 +84,11 @@ public partial class GetAzAksUpgradeProfile_Get : global::System.Management.Auto public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -152,8 +152,8 @@ public partial class GetAzAksUpgradeProfile_Get : global::System.Management.Auto /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -164,8 +164,8 @@ public partial class GetAzAksUpgradeProfile_Get : global::System.Management.Auto /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterUpgradeProfile + /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) @@ -176,6 +176,11 @@ public partial class GetAzAksUpgradeProfile_Get : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -187,7 +192,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -295,7 +300,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -341,8 +345,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// @@ -381,8 +385,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterUpgradeProfile + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_GetViaIdentity.cs b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_GetViaIdentity.cs index d55ff6e1271b..86cdb7c21cf7 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_GetViaIdentity.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/GetAzAksUpgradeProfile_GetViaIdentity.cs @@ -77,11 +77,11 @@ public partial class GetAzAksUpgradeProfile_GetViaIdentity : global::System.Mana public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -110,8 +110,8 @@ public partial class GetAzAksUpgradeProfile_GetViaIdentity : global::System.Mana /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -122,8 +122,8 @@ public partial class GetAzAksUpgradeProfile_GetViaIdentity : global::System.Mana /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterUpgradeProfile + /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) @@ -134,6 +134,11 @@ public partial class GetAzAksUpgradeProfile_GetViaIdentity : global::System.Mana /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -145,7 +150,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -253,7 +258,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -316,8 +320,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// @@ -356,8 +360,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IManagedClusterUpgradeProfile + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs b/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs index 43f9d1393c38..6f81948fcbb5 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_Start.cs @@ -71,11 +71,11 @@ public partial class StartAzAksCluster_Start : global::System.Management.Automat public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -169,8 +169,8 @@ public partial class StartAzAksCluster_Start : global::System.Management.Automat /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -191,6 +191,11 @@ public partial class StartAzAksCluster_Start : global::System.Management.Automat /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -225,7 +230,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Aks.Cmdlets.StartAzAksCluster_Start Cl /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -358,7 +363,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -409,8 +413,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs b/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs index 623845ea156f..481cabe2f5e5 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/StartAzAksCluster_StartViaIdentity.cs @@ -79,11 +79,11 @@ public partial class StartAzAksCluster_StartViaIdentity : global::System.Managem public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -127,8 +127,8 @@ public partial class StartAzAksCluster_StartViaIdentity : global::System.Managem /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -149,6 +149,11 @@ public partial class StartAzAksCluster_StartViaIdentity : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -180,7 +185,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Aks.Cmdlets.StartAzAksCluster_StartVia /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -313,7 +318,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -384,8 +388,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs b/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs index b8b421986701..5b180b0ad7de 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_Stop.cs @@ -71,11 +71,11 @@ public partial class StopAzAksCluster_Stop : global::System.Management.Automatio public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -169,8 +169,8 @@ public partial class StopAzAksCluster_Stop : global::System.Management.Automatio /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -191,6 +191,11 @@ public partial class StopAzAksCluster_Stop : global::System.Management.Automatio /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -225,7 +230,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Aks.Cmdlets.StopAzAksCluster_Stop Clon /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -358,7 +363,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -409,8 +413,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs b/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs index e66036f70c10..5c72d9efe670 100644 --- a/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs +++ b/src/Aks/Aks.Autorest/generated/cmdlets/StopAzAksCluster_StopViaIdentity.cs @@ -79,11 +79,11 @@ public partial class StopAzAksCluster_StopViaIdentity : global::System.Managemen public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -127,8 +127,8 @@ public partial class StopAzAksCluster_StopViaIdentity : global::System.Managemen /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) @@ -149,6 +149,11 @@ public partial class StopAzAksCluster_StopViaIdentity : global::System.Managemen /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -180,7 +185,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Aks.Cmdlets.StopAzAksCluster_StopViaId /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -313,7 +318,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Aks.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -384,8 +388,8 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a from the remote call + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.ICloudError + /// from the remote call /// /// A that will be complete when handling of the method is completed. /// diff --git a/src/Aks/Aks.Autorest/generated/runtime/AsyncOperationResponse.cs b/src/Aks/Aks.Autorest/generated/runtime/AsyncOperationResponse.cs index 9dc80b9f0270..8dcb2c799865 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/AsyncOperationResponse.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/AsyncOperationResponse.cs @@ -31,10 +31,10 @@ public static AsyncOperationResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets /// - /// Creates a new instance of , deserializing the content from a json string. + /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. + /// an instance of the model class. public static AsyncOperationResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.Json.JsonNode.Parse(jsonText)); } @@ -43,19 +43,19 @@ public partial class AsyncOperationResponseTypeConverter : System.Management.Aut { /// - /// Determines if the converter can convert the parameter to the + /// Determines if the converter can convert the parameter to the /// parameter. /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the + /// true if the converter can convert the parameter to the /// parameter, otherwise false. /// public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); /// - /// Determines if the converter can convert the parameter to the + /// Determines if the converter can convert the parameter to a type /// parameter. /// /// the instance to check if it can be converted to the - /// Determines if the parameter can be converted to the parameter + /// Determines if the parameter can be converted to the parameter /// /// the to convert from /// the to convert to /// - /// true if the converter can convert the parameter to the + /// true if the converter can convert the parameter to the /// parameter, otherwise false /// public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; /// - /// Converts the parameter to the parameter using and + /// Converts the parameter to the parameter using and /// /// the to convert from /// the to convert to @@ -128,8 +128,7 @@ public static bool CanConvertFrom(dynamic sourceValue) public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); /// - /// Converts the parameter to the parameter using and + /// Converts the parameter into an instance of /// /// the value to convert into an instance of . /// diff --git a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs index 33df3db64196..cd9bf2e2ac4f 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpMarkdownOutputs.cs @@ -52,6 +52,17 @@ public override string ToString() internal class HelpExampleOutput { + private string ExampleTemplate = + "{0}{1}" + Environment.NewLine + + "{2}" + Environment.NewLine + "{3}" + Environment.NewLine + "{4}" + Environment.NewLine + Environment.NewLine + + "{5}" + Environment.NewLine + Environment.NewLine; + + private string ExampleTemplateWithOutput = + "{0}{1}" + Environment.NewLine + + "{2}" + Environment.NewLine + "{3}" + Environment.NewLine + "{4}" + Environment.NewLine + Environment.NewLine + + "{5}" + Environment.NewLine + "{6}" + Environment.NewLine + "{7}" + Environment.NewLine + Environment.NewLine + + "{8}" + Environment.NewLine + Environment.NewLine; + public MarkdownExampleHelpInfo ExampleInfo { get; } public HelpExampleOutput(MarkdownExampleHelpInfo exampleInfo) @@ -59,17 +70,26 @@ public HelpExampleOutput(MarkdownExampleHelpInfo exampleInfo) ExampleInfo = exampleInfo; } - public override string ToString() => $@"{ExampleNameHeader}{ExampleInfo.Name} -{ExampleCodeHeader} -{ExampleInfo.Code} -{ExampleCodeFooter} - -{ExampleInfo.Description.ToDescriptionFormat()} - -"; + public override string ToString() + { + if (string.IsNullOrEmpty(ExampleInfo.Output)) + { + return string.Format(ExampleTemplate, + ExampleNameHeader, ExampleInfo.Name, + ExampleCodeHeader, ExampleInfo.Code, ExampleCodeFooter, + ExampleInfo.Description.ToDescriptionFormat()); + } + else + { + return string.Format(ExampleTemplateWithOutput, + ExampleNameHeader, ExampleInfo.Name, + ExampleCodeHeader, ExampleInfo.Code, ExampleCodeFooter, + ExampleOutputHeader, ExampleInfo.Output, ExampleOutputFooter, + ExampleInfo.Description.ToDescriptionFormat()); ; + } + } } - - + internal class HelpParameterOutput { public MarkdownParameterHelpInfo ParameterInfo { get; } @@ -161,6 +181,8 @@ public static string ToDescriptionFormat(this string text, bool escapeAngleBrack public const string ExampleNameHeader = "### "; public const string ExampleCodeHeader = "```powershell"; public const string ExampleCodeFooter = "```"; + public const string ExampleOutputHeader = "```output"; + public const string ExampleOutputFooter = "```"; public static HelpMetadataOutput ToHelpMetadataOutput(this MarkdownHelpInfo helpInfo) => new HelpMetadataOutput(helpInfo); diff --git a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs index 1b6e5043810a..3a3933e0985b 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsHelpTypes.cs @@ -109,18 +109,21 @@ internal class PsHelpExampleInfo { public string Title { get; } public string Code { get; } + public string Output { get; } public string Remarks { get; } public PsHelpExampleInfo(PSObject exampleObject) { Title = exampleObject.GetProperty("title"); Code = exampleObject.GetProperty("code"); + Output = exampleObject.GetProperty("output"); Remarks = exampleObject.GetProperty("remarks").EmptyIfNull().ToDescriptionText(); } public PsHelpExampleInfo(MarkdownExampleHelpInfo markdownExample) { Title = markdownExample.Name; Code = markdownExample.Code; + Output = markdownExample.Output; Remarks = markdownExample.Description; } diff --git a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs index 34482742da7d..fe83e97b1bed 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsMarkdownTypes.cs @@ -39,7 +39,7 @@ internal class MarkdownHelpInfo public MarkdownHelpInfo(VariantGroup variantGroup, string examplesFolder, string externalHelpFilename = "") { ExternalHelpFilename = externalHelpFilename; - ModuleName = variantGroup.ModuleName; + ModuleName = variantGroup.RootModuleName != "" ? variantGroup.RootModuleName : variantGroup.ModuleName; var helpInfo = variantGroup.HelpInfo; var commentInfo = variantGroup.CommentInfo; Schema = Version.Parse("2.0.0"); @@ -91,12 +91,17 @@ private MarkdownExampleHelpInfo[] GetExamplesFromMarkdown(string examplesFolder) var code = codeStartIndex.HasValue && codeEndIndex.HasValue ? String.Join(Environment.NewLine, eg.Skip(codeStartIndex.Value + 1).Take(codeEndIndex.Value - (codeStartIndex.Value + 1))) : String.Empty; - var descriptionStartIndex = (codeEndIndex ?? 0) + 1; + var outputStartIndex = eg.Select((l, i) => l.StartsWith(ExampleOutputHeader) ? (int?)i : null).FirstOrDefault(i => i.HasValue); + var outputEndIndex = eg.Select((l, i) => l.StartsWith(ExampleOutputFooter) ? (int?)i : null).FirstOrDefault(i => i.HasValue && i > outputStartIndex); + var output = outputStartIndex.HasValue && outputEndIndex.HasValue + ? String.Join(Environment.NewLine, eg.Skip(outputStartIndex.Value + 1).Take(outputEndIndex.Value - (outputStartIndex.Value + 1))) + : String.Empty; + var descriptionStartIndex = (outputEndIndex ?? (codeEndIndex ?? 0)) + 1; descriptionStartIndex = String.IsNullOrWhiteSpace(eg[descriptionStartIndex]) ? descriptionStartIndex + 1 : descriptionStartIndex; var descriptionEndIndex = eg.Length - 1; descriptionEndIndex = String.IsNullOrWhiteSpace(eg[descriptionEndIndex]) ? descriptionEndIndex - 1 : descriptionEndIndex; var description = String.Join(Environment.NewLine, eg.Skip(descriptionStartIndex).Take((descriptionEndIndex + 1) - descriptionStartIndex)); - return new MarkdownExampleHelpInfo(name, code, description); + return new MarkdownExampleHelpInfo(name, code, output, description); }).ToArray(); } } @@ -154,12 +159,14 @@ internal class MarkdownExampleHelpInfo { public string Name { get; } public string Code { get; } + public string Output { get; } public string Description { get; } - public MarkdownExampleHelpInfo(string name, string code, string description) + public MarkdownExampleHelpInfo(string name, string code, string output, string description) { Name = name; Code = code; + Output = output; Description = description; } } @@ -213,12 +220,12 @@ public MarkdownParameterHelpInfo(PsParameterHelpInfo[] parameterHelpInfos, Param internal static class MarkdownTypesExtensions { - public static MarkdownExampleHelpInfo ToExampleHelpInfo(this PsHelpExampleInfo exampleInfo) => new MarkdownExampleHelpInfo(exampleInfo.Title, exampleInfo.Code, exampleInfo.Remarks); + public static MarkdownExampleHelpInfo ToExampleHelpInfo(this PsHelpExampleInfo exampleInfo) => new MarkdownExampleHelpInfo(exampleInfo.Title, exampleInfo.Code, exampleInfo.Output, exampleInfo.Remarks); public static MarkdownExampleHelpInfo[] DefaultExampleHelpInfos = { - new MarkdownExampleHelpInfo("Example 1: {{ Add title here }}", $@"PS C:\> {{{{ Add code here }}}}{Environment.NewLine}{Environment.NewLine}{{{{ Add output here }}}}", @"{{ Add description here }}"), - new MarkdownExampleHelpInfo("Example 2: {{ Add title here }}", $@"PS C:\> {{{{ Add code here }}}}{Environment.NewLine}{Environment.NewLine}{{{{ Add output here }}}}", @"{{ Add description here }}") + new MarkdownExampleHelpInfo("Example 1: {{ Add title here }}", $@"{{{{ Add code here }}}}", $@"{{{{ Add output here }}}}", @"{{ Add description here }}"), + new MarkdownExampleHelpInfo("Example 2: {{ Add title here }}", $@"{{{{ Add code here }}}}", $@"{{{{ Add output here }}}}", @"{{ Add description here }}"), }; public static MarkdownParameterHelpInfo[] SupportsShouldProcessParameters = diff --git a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 3a654b3d9406..802c95b74bb7 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -168,19 +168,56 @@ public ParameterNameOutput(string parameterName, bool isLast) public override string ToString() => $"{Indent}${{{ParameterName}}}{(IsLast ? String.Empty : $",{Environment.NewLine}")}{Environment.NewLine}"; } - internal class BeginOutput + internal class BaseOutput { public VariantGroup VariantGroup { get; } - public BeginOutput(VariantGroup variantGroup) + protected static readonly bool IsAzure = Convert.ToBoolean(@"true"); + public BaseOutput(VariantGroup variantGroup) { VariantGroup = variantGroup; } + public string ClearTelemetryContext() + { + return (!VariantGroup.IsInternal && IsAzure) ? $@"{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext()" : ""; + } + } + + internal class BeginOutput : BaseOutput + { + public BeginOutput(VariantGroup variantGroup) : base(variantGroup) + { + } public string GetProcessCustomAttributesAtRuntime() { return VariantGroup.IsInternal ? "" : $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet]{Environment.NewLine}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)"; } + private string GetTelemetry() + { + if (!VariantGroup.IsInternal && IsAzure) + { + return $@" +{Indent}{Indent}if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {{ +{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $Host.Version.ToString() +{Indent}{Indent}}} +{Indent}{Indent}$preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId +{Indent}{Indent}if ($preTelemetryId -eq '') {{ +{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() +{Indent}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) +{Indent}{Indent}}} else {{ +{Indent}{Indent}{Indent}$internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets +{Indent}{Indent}{Indent}if ($internalCalledCmdlets -eq '') {{ +{Indent}{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name +{Indent}{Indent}{Indent}}} else {{ +{Indent}{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name +{Indent}{Indent}{Indent}}} +{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' +{Indent}{Indent}}} +"; + } + return ""; + } public override string ToString() => $@"begin {{ {Indent}try {{ {Indent}{Indent}$outBuffer = $null @@ -188,6 +225,7 @@ public override string ToString() => $@"begin {{ {Indent}{Indent}{Indent}$PSBoundParameters['OutBuffer'] = 1 {Indent}{Indent}}} {Indent}{Indent}$parameterSet = $PSCmdlet.ParameterSetName +{GetTelemetry()} {GetParameterSetToCmdletMapping()}{GetDefaultValuesStatements()} {GetProcessCustomAttributesAtRuntime()} {Indent}{Indent}$wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) @@ -195,6 +233,7 @@ public override string ToString() => $@"begin {{ {Indent}{Indent}$steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) {Indent}{Indent}$steppablePipeline.Begin($PSCmdlet) {Indent}}} catch {{ +{ClearTelemetryContext()} {Indent}{Indent}throw {Indent}}} }} @@ -231,28 +270,69 @@ private string GetDefaultValuesStatements() } } - internal class ProcessOutput + internal class ProcessOutput : BaseOutput { + public ProcessOutput(VariantGroup variantGroup) : base(variantGroup) + { + } + + private string GetFinally() + { + if (IsAzure && !VariantGroup.IsInternal) + { + return $@" +{Indent}finally {{ +{Indent}{Indent}$backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId +{Indent}{Indent}$backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets +{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() +{Indent}}} +"; + } + return ""; + } public override string ToString() => $@"process {{ {Indent}try {{ {Indent}{Indent}$steppablePipeline.Process($_) {Indent}}} catch {{ +{ClearTelemetryContext()} {Indent}{Indent}throw {Indent}}} +{GetFinally()} }} - "; } - internal class EndOutput + internal class EndOutput : BaseOutput { + public EndOutput(VariantGroup variantGroup) : base(variantGroup) + { + } + + private string GetTelemetry() + { + if (!VariantGroup.IsInternal && IsAzure) + { + return $@" +{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId +{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets +{Indent}{Indent}if ($preTelemetryId -eq '') {{ +{Indent}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.Aks.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) +{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() +{Indent}{Indent}}} +{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId +"; + } + return ""; + } public override string ToString() => $@"end {{ {Indent}try {{ {Indent}{Indent}$steppablePipeline.End() +{GetTelemetry()} {Indent}}} catch {{ +{ClearTelemetryContext()} {Indent}{Indent}throw {Indent}}} -}} +}} "; } @@ -493,9 +573,9 @@ public static string ToSyntaxTypeName(this Type type) public static BeginOutput ToBeginOutput(this VariantGroup variantGroup) => new BeginOutput(variantGroup); - public static ProcessOutput ToProcessOutput(this VariantGroup variantGroup) => new ProcessOutput(); + public static ProcessOutput ToProcessOutput(this VariantGroup variantGroup) => new ProcessOutput(variantGroup); - public static EndOutput ToEndOutput(this VariantGroup variantGroup) => new EndOutput(); + public static EndOutput ToEndOutput(this VariantGroup variantGroup) => new EndOutput(variantGroup); public static HelpCommentOutput ToHelpCommentOutput(this VariantGroup variantGroup) => new HelpCommentOutput(variantGroup); @@ -524,7 +604,7 @@ string RenderProperty(ComplexInterfaceInfo info, string indent, bool dash, bool return ni.IsComplexInterface ? ni.ToNoteOutput(nestedIndent, includeDashes, includeBackticks, false) : RenderProperty(ni, nestedIndent, includeDashes, includeBackticks); - }).Prepend(RenderProperty(complexInterfaceInfo, currentIndent, !isFirst && includeDashes, !isFirst && includeBackticks)); + }).Prepend(RenderProperty(complexInterfaceInfo, currentIndent, !isFirst && includeDashes, includeBackticks)); return String.Join(Environment.NewLine, nested); } } diff --git a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs index 08a65055d416..e0680ef51a8b 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/Models/PsProxyTypes.cs @@ -30,6 +30,8 @@ public ProfileGroup(Variant[] variants, string profileName = NoProfiles) internal class VariantGroup { public string ModuleName { get; } + + public string RootModuleName {get => @"";} public string CmdletName { get; } public string CmdletVerb { get; } public string CmdletNoun { get; } @@ -385,7 +387,9 @@ public CommentInfo(VariantGroup variantGroup) helpInfo.OutputTypes.Where(it => it.Name.NullIfWhiteSpace() != null).Select(ot => ot.Name).ToArray()) .Where(o => o != "None").Distinct().OrderBy(o => o).ToArray(); - OnlineVersion = helpInfo.OnlineVersion?.Uri.NullIfEmpty() ?? $@"{HelpLinkPrefix}{variantGroup.ModuleName.ToLowerInvariant()}/{variantGroup.CmdletName.ToLowerInvariant()}"; + // Use root module name in the help link + var moduleName = variantGroup.RootModuleName == "" ? variantGroup.ModuleName.ToLowerInvariant() : variantGroup.RootModuleName.ToLowerInvariant(); + OnlineVersion = helpInfo.OnlineVersion?.Uri.NullIfEmpty() ?? $@"{HelpLinkPrefix}{moduleName}/{variantGroup.CmdletName.ToLowerInvariant()}"; RelatedLinks = helpInfo.RelatedLinks.Select(rl => rl.Text).ToArray(); } } diff --git a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/PsHelpers.cs b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/PsHelpers.cs index 0997ca02020d..9473f4b8f639 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/BuildTime/PsHelpers.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/BuildTime/PsHelpers.cs @@ -39,9 +39,10 @@ public static IEnumerable GetModuleCmdlets(params string[] modulePa public static IEnumerable GetScriptCmdlets(PSCmdlet cmdlet, string scriptFolder) { // https://stackoverflow.com/a/40969712/294804 + var wrappedFolder = scriptFolder.Contains("'") ? $@"""{scriptFolder}""" : $@"'{scriptFolder}'"; var getCmdletsCommand = $@" $currentFunctions = Get-ChildItem function: -Get-ChildItem -Path '{scriptFolder}' -Recurse -Include '*.ps1' -File | ForEach-Object {{ . $_.FullName }} +Get-ChildItem -Path {wrappedFolder} -Recurse -Include '*.ps1' -File | ForEach-Object {{ . $_.FullName }} Get-ChildItem function: | Where-Object {{ ($currentFunctions -notcontains $_) -and $_.CmdletBinding }} "; return cmdlet?.RunScript(getCmdletsCommand) ?? RunScript(getCmdletsCommand); diff --git a/src/Aks/Aks.Autorest/generated/runtime/Customizations/IJsonSerializable.cs b/src/Aks/Aks.Autorest/generated/runtime/Customizations/IJsonSerializable.cs index 03b22faba6af..6c0a9793e7be 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/Customizations/IJsonSerializable.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/Customizations/IJsonSerializable.cs @@ -129,7 +129,7 @@ private static JsonNode TryToJsonValue(dynamic oValue) /// /// Serialize an object by using a variety of methods. /// - /// the object to be serialized. + /// the object to be serialized. /// the serialized JsonNode (if successful), otherwise, null internal static JsonNode ToJsonValue(object value) { diff --git a/src/Aks/Aks.Autorest/generated/runtime/EventDataExtensions.cs b/src/Aks/Aks.Autorest/generated/runtime/EventDataExtensions.cs index d34f9ea14bc1..8bd1e050581b 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/EventDataExtensions.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/EventDataExtensions.cs @@ -7,7 +7,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime { using System; - [System.ComponentModel.TypeConverter(typeof(EventDataConverter))] /// /// PowerShell-specific data on top of the llc# EventData /// @@ -16,6 +15,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime /// Obviously, this code would need to be duplcated on both modules. /// This is preferable to sharing a common library, as versioning makes that problematic. /// + [System.ComponentModel.TypeConverter(typeof(EventDataConverter))] public partial class EventData : EventArgs { } diff --git a/src/Aks/Aks.Autorest/generated/runtime/ISendAsync.cs b/src/Aks/Aks.Autorest/generated/runtime/ISendAsync.cs index e5f8efab8425..ae052948d34f 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/ISendAsync.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/ISendAsync.cs @@ -238,6 +238,8 @@ internal static Task CloneWithContentAndDispose(this HttpReq /// Clones an HttpRequestMessage (without the content) /// /// Original HttpRequestMessage (Will be diposed before returning) + /// + /// /// A clone of the HttpRequestMessage internal static HttpRequestMessage Clone(this HttpRequestMessage original, System.Uri requestUri = null, System.Net.Http.HttpMethod method = null) { @@ -252,9 +254,9 @@ internal static HttpRequestMessage Clone(this HttpRequestMessage original, Syste { clone.Properties.Add(prop); } - + foreach (KeyValuePair> header in original.Headers) - { + { /* **temporarily skip cloning telemetry related headers** clone.Headers.TryAddWithoutValidation(header.Key, header.Value); @@ -264,7 +266,7 @@ internal static HttpRequestMessage Clone(this HttpRequestMessage original, Syste clone.Headers.TryAddWithoutValidation(header.Key, header.Value); } } - + return clone; } @@ -272,6 +274,8 @@ internal static HttpRequestMessage Clone(this HttpRequestMessage original, Syste /// Clones an HttpRequestMessage (including the content stream and content headers) /// /// Original HttpRequestMessage (Will be diposed before returning) + /// + /// /// A clone of the HttpRequestMessage internal static async Task CloneWithContent(this HttpRequestMessage original, System.Uri requestUri = null, System.Net.Http.HttpMethod method = null) { diff --git a/src/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs b/src/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs index 19577d0a4334..67ad5906bddc 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/MessageAttribute.cs @@ -276,7 +276,7 @@ protected override string GetAttributeSpecificMessage() /// then the attribbute is applicable /// If the invocationInfo is null we return true /// - /// + /// /// bool public override bool IsApplicableToInvocation(InvocationInfo invocationInfo) { diff --git a/src/Aks/Aks.Autorest/generated/runtime/PipelineMocking.cs b/src/Aks/Aks.Autorest/generated/runtime/PipelineMocking.cs index c4565b4f0194..0924dbd9075d 100644 --- a/src/Aks/Aks.Autorest/generated/runtime/PipelineMocking.cs +++ b/src/Aks/Aks.Autorest/generated/runtime/PipelineMocking.cs @@ -259,4 +259,4 @@ public async Task SendAsync(HttpRequestMessage request, IEv } } } -} \ No newline at end of file +} diff --git a/src/Aks/Aks.Autorest/internal/Get-AzAksContainerServiceOrchestrator.ps1 b/src/Aks/Aks.Autorest/internal/Get-AzAksContainerServiceOrchestrator.ps1 index 0c6f6aeb5996..e144b623f134 100644 --- a/src/Aks/Aks.Autorest/internal/Get-AzAksContainerServiceOrchestrator.ps1 +++ b/src/Aks/Aks.Autorest/internal/Get-AzAksContainerServiceOrchestrator.ps1 @@ -22,13 +22,9 @@ The operation returns properties of each orchestrator including version, availab Gets a list of supported orchestrators in the specified subscription. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview. .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult @@ -114,6 +110,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Aks.private\Get-AzAksContainerServiceOrchestrator_List'; } @@ -126,6 +123,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -134,15 +132,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Aks/Aks.Autorest/internal/Get-AzAksOperation.ps1 b/src/Aks/Aks.Autorest/internal/Get-AzAksOperation.ps1 index 28dfd50dbabc..b1b12d163279 100644 --- a/src/Aks/Aks.Autorest/internal/Get-AzAksOperation.ps1 +++ b/src/Aks/Aks.Autorest/internal/Get-AzAksOperation.ps1 @@ -20,13 +20,9 @@ Gets a list of compute operations. .Description Gets a list of compute operations. .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationValue @@ -92,6 +88,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Aks.private\Get-AzAksOperation_List'; } @@ -101,6 +98,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -109,15 +107,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Aks/Aks.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/Aks/Aks.Autorest/internal/ProxyCmdletDefinitions.ps1 index 8ac492ec2c88..e7a95afcdc10 100644 --- a/src/Aks/Aks.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/Aks/Aks.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -22,13 +22,9 @@ The operation returns properties of each orchestrator including version, availab Gets a list of supported orchestrators in the specified subscription. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview. .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20190801.IOrchestratorVersionProfileListResult @@ -114,6 +110,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Aks.private\Get-AzAksContainerServiceOrchestrator_List'; } @@ -126,6 +123,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -134,17 +132,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -153,13 +154,9 @@ Gets a list of compute operations. .Description Gets a list of compute operations. .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Example -PS C:\> {{ Add code here }} - -{{ Add output here }} +{{ Add code here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901.IOperationValue @@ -225,6 +222,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Aks.private\Get-AzAksOperation_List'; } @@ -234,6 +232,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -242,15 +241,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Aks/Aks.Autorest/internal/README.md b/src/Aks/Aks.Autorest/internal/README.md index 63bf1dd3d0f5..5ca1171faccc 100644 --- a/src/Aks/Aks.Autorest/internal/README.md +++ b/src/Aks/Aks.Autorest/internal/README.md @@ -1,5 +1,5 @@ # Internal -This directory contains a module to handle *internal only* cmdlets. Cmdlets that you **hide** in configuration are created here. For more information on hiding, see [cmdlet hiding](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md#cmdlet-hiding-exportation-suppression). The cmdlets in this directory are generated at **build-time**. Do not put any custom code, files, cmdlets, etc. into this directory. Please use `..\custom` for all custom implementation. +This directory contains a module to handle *internal only* cmdlets. Cmdlets that you **hide** in configuration are created here. For more information on hiding, see [cmdlet hiding](https://github.com/Azure/autorest.powershell/blob/main/docs/directives.md#cmdlet-hiding-exportation-suppression). The cmdlets in this directory are generated at **build-time**. Do not put any custom code, files, cmdlets, etc. into this directory. Please use `..\custom` for all custom implementation. ## Info - Modifiable: no @@ -11,4 +11,4 @@ This directory contains a module to handle *internal only* cmdlets. Cmdlets that The `Az.Aks.internal.psm1` file is generated to this folder. This module file handles the hidden cmdlets. These cmdlets will not be exported by `Az.Aks`. Instead, this sub-module is imported by the `..\custom\Az.Aks.custom.psm1` module, allowing you to use hidden cmdlets in your custom, exposed cmdlets. To call these cmdlets in your custom scripts, simply use [module-qualified calls](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_command_precedence?view=powershell-6#qualified-names). For example, `Az.Aks.internal\Get-Example` would call an internal cmdlet named `Get-Example`. ## Purpose -This allows you to include REST specifications for services that you *do not wish to expose from your module*, but simply want to call within custom cmdlets. For example, if you want to make a custom cmdlet that uses `Storage` services, you could include a simplified `Storage` REST specification that has only the operations you need. When you run the generator and build this module, note the generated `Storage` cmdlets. Then, in your readme configuration, use [cmdlet hiding](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md#cmdlet-hiding-exportation-suppression) on the `Storage` cmdlets and they will *only be exposed to the custom cmdlets* you want to write, and not be exported as part of `Az.Aks`. \ No newline at end of file +This allows you to include REST specifications for services that you *do not wish to expose from your module*, but simply want to call within custom cmdlets. For example, if you want to make a custom cmdlet that uses `Storage` services, you could include a simplified `Storage` REST specification that has only the operations you need. When you run the generator and build this module, note the generated `Storage` cmdlets. Then, in your readme configuration, use [cmdlet hiding](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md#cmdlet-hiding-exportation-suppression) on the `Storage` cmdlets and they will *only be exposed to the custom cmdlets* you want to write, and not be exported as part of `Az.Aks`. diff --git a/src/Aks/Aks.Autorest/test/Install-AzAksCliTool.Tests.ps1 b/src/Aks/Aks.Autorest/test/Install-AzAksCliTool.Tests.ps1 new file mode 100644 index 000000000000..b2bd396bded4 --- /dev/null +++ b/src/Aks/Aks.Autorest/test/Install-AzAksCliTool.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Install-AzAksCliTool')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Install-AzAksCliTool.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Install-AzAksCliTool' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Aks/Aks/Az.Aks.psd1 b/src/Aks/Aks/Az.Aks.psd1 index 1f6194255ac7..b8168a58bcd0 100644 --- a/src/Aks/Aks/Az.Aks.psd1 +++ b/src/Aks/Aks/Az.Aks.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 7/27/2022 +# Generated on: 8/31/2022 # @{ @@ -75,21 +75,22 @@ NestedModules = @('Microsoft.Azure.PowerShell.Cmdlets.Aks.dll', # 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. FunctionsToExport = 'Get-AzAksNodePoolUpgradeProfile', 'Get-AzAksUpgradeProfile', - 'Get-AzAksVersion', 'Start-AzAksCluster', 'Stop-AzAksCluster' + 'Get-AzAksVersion', 'Start-AzAksCluster', 'Stop-AzAksCluster', + 'Install-AzAksCliTool' # 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. CmdletsToExport = 'Get-AzAksCluster', 'New-AzAksCluster', 'Remove-AzAksCluster', 'Import-AzAksCredential', 'Start-AzAksDashboard', 'Stop-AzAksDashboard', 'Set-AzAksCluster', 'New-AzAksNodePool', 'Update-AzAksNodePool', 'Remove-AzAksNodePool', 'Get-AzAksNodePool', - 'Install-AzAksKubectl', 'Enable-AzAksAddOn', 'Disable-AzAksAddOn', + 'Enable-AzAksAddOn', 'Disable-AzAksAddOn', 'Set-AzAksClusterCredential', 'Invoke-AzAksRunCommand' # Variables to export from this module -# VariablesToExport = @() +VariablesToExport = '*' # 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. -AliasesToExport = @() +AliasesToExport = 'Get-AzAksClusterUpgradeProfile', 'Install-AzAksKubectl' # DSC resources to export from this module # DscResourcesToExport = @() @@ -106,7 +107,8 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','AKS','Kubernetes','Container','Orchestrator','Containers','Docker' + Tags = 'Azure', 'ResourceManager', 'ARM', 'AKS', 'Kubernetes', 'Container', + 'Orchestrator', 'Containers', 'Docker' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -131,7 +133,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Aks/Aks/ChangeLog.md b/src/Aks/Aks/ChangeLog.md index 07990100f470..f7330621fa53 100644 --- a/src/Aks/Aks/ChangeLog.md +++ b/src/Aks/Aks/ChangeLog.md @@ -24,6 +24,7 @@ * Added support for `Auto Upgrade` in `New-AzAksCluster` and `Set-AzAksCluster`. * Added support for `Http Proxy` in `New-AzAksCluster` and `Set-AzAksCluster`. * Added parameter `DisableLocalAccount` and `DiskEncryptionSetID` in `New-AzAksCluster` and `Set-AzAksCluster`. +* Added logic for installing `kubelogin` in `Install-AzAksKubectl`. ## Version 4.2.1 * Removed the warning messages for MSGraph migration [#18856] diff --git a/src/Aks/Aks/Commands/InstallAzureRMAksKubectl.cs b/src/Aks/Aks/Commands/InstallAzureRMAksKubectl.cs deleted file mode 100644 index d9819d6e5250..000000000000 --- a/src/Aks/Aks/Commands/InstallAzureRMAksKubectl.cs +++ /dev/null @@ -1,178 +0,0 @@ -// ---------------------------------------------------------------------------------- -// -// Copyright Microsoft Corporation -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// ---------------------------------------------------------------------------------- - -using System; -using System.IO; -using System.Management.Automation; -using System.Net; -using System.Runtime.InteropServices; -using System.Text; - -using Microsoft.Azure.Commands.Aks.Properties; -using Microsoft.Azure.Commands.Common; -using Microsoft.Azure.Commands.Common.Exceptions; -using Microsoft.WindowsAzure.Commands.Utilities.Common; - -namespace Microsoft.Azure.Commands.Aks.Commands -{ - [Cmdlet("Install", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "AksKubectl", SupportsShouldProcess = true)] - [OutputType(typeof(bool))] - public class InstallAzureRMAksKubectl : KubeCmdletBase - { - private const string LatestVersion = "Latest"; - private const string KubecliString = "kubectl"; - private const string KubecliExeString = "kubectl.exe"; - private const string KubecliSiteUrl = "https://storage.googleapis.com/kubernetes-release/release"; - private const string KubecliSiteUrlMirror = "https://mirror.azure.cn/kubernetes/kubectl"; - private const string KubecliPathFormat = "/{0}/bin/{1}/amd64/{2}"; - - [Parameter(Mandatory = false, HelpMessage = "Path at which to install kubectl. Default to install into ~/.azure-kubectl/")] - [ValidateNotNullOrEmpty] - public string Destination { get; set; } - - [Parameter(Mandatory = false, HelpMessage = "Version of kubectl to install, e.g. 'v1.17.2'. Default value: Latest")] - public string Version { get; set; } = LatestVersion; - - [Parameter(Mandatory = false, HelpMessage = "Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/")] - public SwitchParameter DownloadFromMirror { get; set; } - - [Parameter(Mandatory = false)] - public SwitchParameter PassThru { get; set; } - - [Parameter(Mandatory = false, HelpMessage = "Run cmdlet in the background")] - public SwitchParameter AsJob { get; set; } - - [Parameter(Mandatory = false, HelpMessage = "Overwrite existing kubectl without prompt")] - public SwitchParameter Force { get; set; } - - public override void ExecuteCmdlet() - { - base.ExecuteCmdlet(); - - bool fromMirror = DownloadFromMirror.IsPresent; - StringBuilder sourceUrlBuilder = fromMirror ? - new StringBuilder(KubecliSiteUrlMirror) : - new StringBuilder(KubecliSiteUrl); - - if (!this.IsParameterBound(c => c.Destination)) - { - Destination = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".azure-kubectl"); - } - - bool isWindows = false; - string destFilePath = null; - var webClient = new WebClient(); - - if (string.Equals(LatestVersion, Version, StringComparison.InvariantCultureIgnoreCase)) - { - Version = ReadLatestStableVersion(fromMirror, webClient); - } - - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - destFilePath = Path.Combine(Destination, KubecliExeString); - sourceUrlBuilder.AppendFormat(KubecliPathFormat, Version, "windows", KubecliExeString); - isWindows = true; - } - else if(RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) - { - destFilePath = Path.Combine(Destination, KubecliString); - sourceUrlBuilder.AppendFormat(KubecliPathFormat, Version, "linux", KubecliString); - } - else if(RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) - { - if(fromMirror) - { - throw new AzPSArgumentException( - Resources.NoKubectlForOsxOnMirror, - nameof(DownloadFromMirror), - desensitizedMessage: Resources.NoKubectlForOsxOnMirror); - } - destFilePath = Path.Combine(Destination, KubecliString); - sourceUrlBuilder.AppendFormat(KubecliPathFormat, Version, "darwin", KubecliString); - } - else - { - var ex = new PlatformNotSupportedException(Resources.NotSupportOnThisOs); - ex.Data[AzurePSErrorDataKeys.ErrorKindKey] = ErrorKind.UserError; - ex.Data[AzurePSErrorDataKeys.DesensitizedErrorMessageKey] = Resources.NotSupportOnThisOs; - throw ex; - } - - bool fileExists = File.Exists(destFilePath); - - Action action = () => - { - //mkdir if not exist - if (!Directory.Exists(Destination)) - { - WriteVerbose($"Creating directory {Destination}"); - Directory.CreateDirectory(Destination); - } - - //download to local, use tmp file if already exists - var tempFile = fileExists ? destFilePath + ".tmp" : destFilePath; - var sourceUrl = sourceUrlBuilder.ToString(); - WriteVerbose($"Downloading from {sourceUrl} to local : {tempFile}"); - webClient.DownloadFile(sourceUrl, tempFile); - - if (fileExists) - { - WriteVerbose($"Deleting {destFilePath}"); - File.Delete(destFilePath); - WriteVerbose($"Moving {tempFile} to {destFilePath}"); - File.Move(tempFile, destFilePath); - } - - WriteWarning(string.Format(Resources.AddDirectoryToPath, - Destination, isWindows ? KubecliExeString : KubecliString)); - - if (PassThru) - { - WriteObject(true); - } - webClient.Dispose(); - }; - - var msg = $"{destFilePath}"; - if(fileExists) - { - ConfirmAction(Force.IsPresent, - string.Format(Resources.DoYouWantToOverwriteExistingFile, destFilePath), - Resources.DownloadingKubectlFromWeb, - msg, - action); - } - else - { - if(ShouldProcess(Resources.DownloadingKubectlFromWeb, msg)) - { - RunCmdLet(action); - } - } - - } - - private string ReadLatestStableVersion(bool useMirror, WebClient client) - { - var sourceUrl = useMirror ? KubecliSiteUrlMirror : KubecliSiteUrl; - var versionFile = sourceUrl + "/stable.txt"; - - WriteVerbose($"Get latest stable version for {versionFile}"); - var content = client.DownloadData(versionFile); - var version = Encoding.UTF8.GetString(content); - return version.Trim(); - } - } -} diff --git a/src/Aks/Aks/help/Az.Aks.md b/src/Aks/Aks/help/Az.Aks.md index f5688fc89272..0de230982fb5 100644 --- a/src/Aks/Aks/help/Az.Aks.md +++ b/src/Aks/Aks/help/Az.Aks.md @@ -36,8 +36,8 @@ The operation returns properties of each orchestrator including version, availab ### [Import-AzAksCredential](Import-AzAksCredential.md) Import and merge Kubectl config for a managed Kubernetes Cluster. -### [Install-AzAksKubectl](Install-AzAksKubectl.md) -Download and install kubectl, the Kubernetes command-line tool. +### [Install-AzAksCliTool](Install-AzAksCliTool.md) +Download and install kubectl and kubelogin. ### [Invoke-AzAksRunCommand](Invoke-AzAksRunCommand.md) Run a shell command (with kubectl, helm) on your aks cluster, support attaching files as well. diff --git a/src/Aks/Aks/help/Get-AzAksNodePoolUpgradeProfile.md b/src/Aks/Aks/help/Get-AzAksNodePoolUpgradeProfile.md index c8bf0e7a9feb..7054731c2a82 100644 --- a/src/Aks/Aks/help/Get-AzAksNodePoolUpgradeProfile.md +++ b/src/Aks/Aks/help/Get-AzAksNodePoolUpgradeProfile.md @@ -249,7 +249,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks/help/Get-AzAksUpgradeProfile.md b/src/Aks/Aks/help/Get-AzAksUpgradeProfile.md index cd44454fbc14..faa8717d3c51 100644 --- a/src/Aks/Aks/help/Get-AzAksUpgradeProfile.md +++ b/src/Aks/Aks/help/Get-AzAksUpgradeProfile.md @@ -236,7 +236,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks/help/Install-AzAksCliTool.md b/src/Aks/Aks/help/Install-AzAksCliTool.md new file mode 100644 index 000000000000..cf5b7f4853da --- /dev/null +++ b/src/Aks/Aks/help/Install-AzAksCliTool.md @@ -0,0 +1,225 @@ +--- +external help file: Az.Aks-help.xml +Module Name: Az.Aks +online version: https://docs.microsoft.com/powershell/module/az.aks/install-azaksclitool +schema: 2.0.0 +--- + +# Install-AzAksCliTool + +## SYNOPSIS +Download and install kubectl and kubelogin. + +## SYNTAX + +``` +Install-AzAksCliTool [-Destination ] [-Version ] [-DownloadFromMirror] + [-KubeloginInstallDestination ] [-KubeloginInstallVersion ] [-KubeloginDownloadFromMirror] + [-PassThru] [-AsJob] [-Force] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Download and install kubectl and kubelogin. + +## EXAMPLES + +### Example 1: Install the lateset version of kubectl and kubelogin +```powershell +Install-AzAksCliTool +``` + +### Example 2: Install the special version of kubectl and kubelogin into custom folder +```powershell +Install-AzAksCliTool -KubectlInstallVersion "v1.25.0" -KubectlInstallDestination "~/bin/" -KubeloginInstallVersion "v0.0.20" -KubeloginInstallDestination "~/bin" +``` + +## PARAMETERS + +### -AsJob +Run cmdlet in the background + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Destination +Path at which to install kubectl. +Default to install into ~/.azure-kubectl/ + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: KubectlInstallDestination + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DownloadFromMirror +Download from mirror site : https://mirror.azure.cn/kubernetes/kubectl/ + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: KubectlDownloadFromMirror + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Force +Overwrite existing kubectl and kubelogin without prompt + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KubeloginDownloadFromMirror +Download from mirror site : https://mirror.azure.cn/kubernetes/kubelogin + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KubeloginInstallDestination +Path at which to install kubectl. +Default to install into ~/.azure-kubelogin/ + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KubeloginInstallVersion +Version of kubectl to install, e.g. +'v0.0.20'. +Default value: Latest + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Wait for .NET debugger to attach + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Version +Version of kubectl to install, e.g. +'v1.17.2'. +Default value: Latest. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: KubectlInstallVersion + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Boolean + +## NOTES + +ALIASES + +Install-AzAksKubectl + +## RELATED LINKS diff --git a/src/Aks/Aks/help/Start-AzAksCluster.md b/src/Aks/Aks/help/Start-AzAksCluster.md index 144309f844e5..aceb18cca1b2 100644 --- a/src/Aks/Aks/help/Start-AzAksCluster.md +++ b/src/Aks/Aks/help/Start-AzAksCluster.md @@ -312,7 +312,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/src/Aks/Aks/help/Stop-AzAksCluster.md b/src/Aks/Aks/help/Stop-AzAksCluster.md index fea8545e8eb8..ee6457ddbf86 100644 --- a/src/Aks/Aks/help/Stop-AzAksCluster.md +++ b/src/Aks/Aks/help/Stop-AzAksCluster.md @@ -312,7 +312,7 @@ COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT ``: Identity Parameter +`INPUTOBJECT `: Identity Parameter - `[AgentPoolName ]`: The name of the agent pool. - `[Id ]`: Resource identity path - `[Location ]`: The name of a supported Azure region. diff --git a/tools/StaticAnalysis/Exceptions/Az.Aks/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Aks/BreakingChangeIssues.csv new file mode 100644 index 000000000000..ed7ebb8b62a9 --- /dev/null +++ b/tools/StaticAnalysis/Exceptions/Az.Aks/BreakingChangeIssues.csv @@ -0,0 +1,4 @@ +"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation" +"Az.Aks","Microsoft.Azure.Commands.Aks.Commands.InstallAzureRMAksKubectl","Install-AzAksKubectl","0","2000","The cmdlet 'Install-AzAksKubectl' no longer supports the parameter 'DefaultProfile' and no alias was found for the original parameter name.","Add the parameter 'DefaultProfile' back to the cmdlet 'Install-AzAksKubectl', or add an alias to the original parameter name." +"Az.Aks","Microsoft.Azure.Commands.Aks.Commands.InstallAzureRMAksKubectl","Install-AzAksKubectl","0","2000","The cmdlet 'Install-AzAksKubectl' no longer supports the parameter 'SubscriptionId' and no alias was found for the original parameter name.","Add the parameter 'SubscriptionId' back to the cmdlet 'Install-AzAksKubectl', or add an alias to the original parameter name." +"Az.Aks","Microsoft.Azure.Commands.Aks.Commands.InstallAzureRMAksKubectl","Install-AzAksKubectl","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Install-AzAksKubectl' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Install-AzAksKubectl'."