diff --git a/src/Functions/Az.Functions.format.ps1xml b/src/Functions/Az.Functions.format.ps1xml index 9fc387a46b95..61bf26386c70 100644 --- a/src/Functions/Az.Functions.format.ps1xml +++ b/src/Functions/Az.Functions.format.ps1xml @@ -2059,6 +2059,12 @@ + + + + + + @@ -2077,6 +2083,9 @@ + + + @@ -2099,6 +2108,12 @@ AccessTier + + AllowBlobPublicAccess + + + AllowSharedKeyAccess + CreationTime @@ -2117,6 +2132,9 @@ LastGeoFailoverTime + + MinimumTlsVersion + PrimaryLocation @@ -2147,6 +2165,12 @@ + + + + + + @@ -2156,6 +2180,9 @@ + + + @@ -2163,6 +2190,12 @@ AccessTier + + AllowBlobPublicAccess + + + AllowSharedKeyAccess + EnableHttpsTrafficOnly @@ -2172,6 +2205,9 @@ LargeFileSharesState + + MinimumTlsVersion + @@ -2187,12 +2223,21 @@ + + + + + + + + + @@ -2200,12 +2245,21 @@ AccessTier + + AllowBlobPublicAccess + + + AllowSharedKeyAccess + EnableHttpsTrafficOnly LargeFileSharesState + + MinimumTlsVersion + @@ -6695,6 +6749,84 @@ + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollection + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollection + + + + + + + + + + + + + + + Kind + + + Name + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity + + + + + + + + + + + + + + + Kind + + + Name + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties + + + + + + + + + + + + Allow + + + + + + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingProfileOptions @@ -13564,6 +13696,12 @@ + + + + + + @@ -13691,6 +13829,12 @@ + + AcrUseManagedIdentityCred + + + AcrUserManagedIdentityId + AlwaysOn diff --git a/src/Functions/Az.Functions.psd1 b/src/Functions/Az.Functions.psd1 index 81e9643dc174..839e0604abd1 100644 --- a/src/Functions/Az.Functions.psd1 +++ b/src/Functions/Az.Functions.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 3/31/2022 +# Generated on: 5/17/2022 # @{ @@ -115,7 +115,7 @@ PrivateData = @{ # IconUri = '' # ReleaseNotes of this module - ReleaseNotes = '* Exposed PowerShell 7.2 stack definition for function app creation in Functions V4 only' + # ReleaseNotes = '' # Prerelease string of this module # Prerelease = '' diff --git a/src/Functions/Az.Functions.psm1 b/src/Functions/Az.Functions.psm1 index 60229ca9f170..3f016a66c29d 100644 --- a/src/Functions/Az.Functions.psm1 +++ b/src/Functions/Az.Functions.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/Functions/ChangeLog.md b/src/Functions/ChangeLog.md index 63f039029be0..dc277500dc50 100644 --- a/src/Functions/ChangeLog.md +++ b/src/Functions/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Fixed an issue that New-AzFunctionApp cmdlet should write a warning message when setting default values for parameters that are not provided. ## Version 4.0.2 * Exposed PowerShell 7.2 stack definition for function app creation in Functions V4 only diff --git a/src/Functions/Functions.sln b/src/Functions/Functions.sln index 1f54f934dd80..d5426368c802 100644 --- a/src/Functions/Functions.sln +++ b/src/Functions/Functions.sln @@ -3,17 +3,17 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.30114.105 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Accounts", "..\Accounts\Accounts\Accounts.csproj", "{B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{7B8EBA26-BA09-4DA8-9401-41D548053C78}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication", "..\Accounts\Authentication\Authentication.csproj", "{C38891CA-C59B-4380-930B-8E2A31A21568}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{5E18030B-9F9C-4841-B978-196F9CFA3932}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authentication.ResourceManager", "..\Accounts\Authentication.ResourceManager\Authentication.ResourceManager.csproj", "{06E5EB89-4532-4AE8-B10C-44587C5FDA87}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{634797F7-1197-49EB-ACE6-F5E10E6BF277}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadContext", "..\Accounts\AuthenticationAssemblyLoadContext\AuthenticationAssemblyLoadContext.csproj", "{A1AF8367-9F9C-4D40-A491-394A19362F11}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{B51271AF-188B-47B0-B644-B3623CC5924E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{19F9BACF-B8CC-421E-A1A5-73D6636AEE75}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Functions", "Az.Functions.csproj", "{3D65839B-6170-4D51-A8D9-D872E18D2A7A}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Functions", "Az.Functions.csproj", "{5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -28,77 +28,77 @@ Global HideSolutionNode = FALSE EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Debug|x64.ActiveCfg = Debug|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Debug|x64.Build.0 = Debug|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Debug|x86.ActiveCfg = Debug|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Debug|x86.Build.0 = Debug|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Release|Any CPU.Build.0 = Release|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Release|x64.ActiveCfg = Release|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Release|x64.Build.0 = Release|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Release|x86.ActiveCfg = Release|Any CPU - {69E0CD7E-0CB8-4E58-B6BC-E81DB043CFD4}.Release|x86.Build.0 = Release|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Debug|x64.ActiveCfg = Debug|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Debug|x64.Build.0 = Debug|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Debug|x86.ActiveCfg = Debug|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Debug|x86.Build.0 = Debug|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Release|Any CPU.Build.0 = Release|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Release|x64.ActiveCfg = Release|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Release|x64.Build.0 = Release|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Release|x86.ActiveCfg = Release|Any CPU - {7B8EBA26-BA09-4DA8-9401-41D548053C78}.Release|x86.Build.0 = Release|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Debug|x64.ActiveCfg = Debug|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Debug|x64.Build.0 = Debug|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Debug|x86.ActiveCfg = Debug|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Debug|x86.Build.0 = Debug|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Release|Any CPU.Build.0 = Release|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Release|x64.ActiveCfg = Release|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Release|x64.Build.0 = Release|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Release|x86.ActiveCfg = Release|Any CPU - {5E18030B-9F9C-4841-B978-196F9CFA3932}.Release|x86.Build.0 = Release|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Debug|Any CPU.Build.0 = Debug|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Debug|x64.ActiveCfg = Debug|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Debug|x64.Build.0 = Debug|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Debug|x86.ActiveCfg = Debug|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Debug|x86.Build.0 = Debug|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Release|Any CPU.ActiveCfg = Release|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Release|Any CPU.Build.0 = Release|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Release|x64.ActiveCfg = Release|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Release|x64.Build.0 = Release|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Release|x86.ActiveCfg = Release|Any CPU - {634797F7-1197-49EB-ACE6-F5E10E6BF277}.Release|x86.Build.0 = Release|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Debug|x64.ActiveCfg = Debug|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Debug|x64.Build.0 = Debug|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Debug|x86.ActiveCfg = Debug|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Debug|x86.Build.0 = Debug|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Release|Any CPU.Build.0 = Release|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Release|x64.ActiveCfg = Release|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Release|x64.Build.0 = Release|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Release|x86.ActiveCfg = Release|Any CPU - {B51271AF-188B-47B0-B644-B3623CC5924E}.Release|x86.Build.0 = Release|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Debug|x64.ActiveCfg = Debug|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Debug|x64.Build.0 = Debug|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Debug|x86.ActiveCfg = Debug|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Debug|x86.Build.0 = Debug|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Release|Any CPU.Build.0 = Release|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Release|x64.ActiveCfg = Release|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Release|x64.Build.0 = Release|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Release|x86.ActiveCfg = Release|Any CPU - {3D65839B-6170-4D51-A8D9-D872E18D2A7A}.Release|x86.Build.0 = Release|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Debug|x64.ActiveCfg = Debug|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Debug|x64.Build.0 = Debug|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Debug|x86.ActiveCfg = Debug|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Debug|x86.Build.0 = Debug|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Release|Any CPU.Build.0 = Release|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Release|x64.ActiveCfg = Release|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Release|x64.Build.0 = Release|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Release|x86.ActiveCfg = Release|Any CPU + {B05057AE-D060-4EB3-88B3-4A0ED7EDEA0D}.Release|x86.Build.0 = Release|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Debug|x64.ActiveCfg = Debug|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Debug|x64.Build.0 = Debug|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Debug|x86.ActiveCfg = Debug|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Debug|x86.Build.0 = Debug|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Release|Any CPU.Build.0 = Release|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Release|x64.ActiveCfg = Release|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Release|x64.Build.0 = Release|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Release|x86.ActiveCfg = Release|Any CPU + {C38891CA-C59B-4380-930B-8E2A31A21568}.Release|x86.Build.0 = Release|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Debug|Any CPU.Build.0 = Debug|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Debug|x64.ActiveCfg = Debug|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Debug|x64.Build.0 = Debug|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Debug|x86.ActiveCfg = Debug|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Debug|x86.Build.0 = Debug|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Release|Any CPU.ActiveCfg = Release|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Release|Any CPU.Build.0 = Release|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Release|x64.ActiveCfg = Release|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Release|x64.Build.0 = Release|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Release|x86.ActiveCfg = Release|Any CPU + {06E5EB89-4532-4AE8-B10C-44587C5FDA87}.Release|x86.Build.0 = Release|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Debug|x64.ActiveCfg = Debug|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Debug|x64.Build.0 = Debug|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Debug|x86.ActiveCfg = Debug|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Debug|x86.Build.0 = Debug|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Release|Any CPU.Build.0 = Release|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Release|x64.ActiveCfg = Release|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Release|x64.Build.0 = Release|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Release|x86.ActiveCfg = Release|Any CPU + {A1AF8367-9F9C-4D40-A491-394A19362F11}.Release|x86.Build.0 = Release|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Debug|Any CPU.Build.0 = Debug|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Debug|x64.ActiveCfg = Debug|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Debug|x64.Build.0 = Debug|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Debug|x86.ActiveCfg = Debug|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Debug|x86.Build.0 = Debug|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Release|Any CPU.ActiveCfg = Release|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Release|Any CPU.Build.0 = Release|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Release|x64.ActiveCfg = Release|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Release|x64.Build.0 = Release|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Release|x86.ActiveCfg = Release|Any CPU + {19F9BACF-B8CC-421E-A1A5-73D6636AEE75}.Release|x86.Build.0 = Release|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Debug|x64.ActiveCfg = Debug|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Debug|x64.Build.0 = Debug|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Debug|x86.ActiveCfg = Debug|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Debug|x86.Build.0 = Debug|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Release|Any CPU.Build.0 = Release|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Release|x64.ActiveCfg = Release|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Release|x64.Build.0 = Release|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Release|x86.ActiveCfg = Release|Any CPU + {5B123267-DA9F-47DC-BBCF-B8EDE98D21AC}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection EndGlobal diff --git a/src/Functions/README.md b/src/Functions/README.md index c299ced7c63f..506110ba6937 100644 --- a/src/Functions/README.md +++ b/src/Functions/README.md @@ -17,7 +17,7 @@ This directory contains the PowerShell module for the Functions 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. @@ -65,7 +65,7 @@ directive: ``` ``` yaml -branch: powershell-function +branch: main require: - $(this-folder)/../readme.azure.noprofile.md input-file: diff --git a/src/Functions/check-dependencies.ps1 b/src/Functions/check-dependencies.ps1 index b02ae9135957..c29591c7bfe1 100644 --- a/src/Functions/check-dependencies.ps1 +++ b/src/Functions/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/Functions/custom/HelperFunctions.ps1 b/src/Functions/custom/HelperFunctions.ps1 index 62d9deb71562..3b1b93179f62 100644 --- a/src/Functions/custom/HelperFunctions.ps1 +++ b/src/Functions/custom/HelperFunctions.ps1 @@ -42,6 +42,8 @@ $constants["FunctionsNoV2Version"] = @( "USSec East" ) +$constants["SetDefaultValueParameterWarningMessage"] = "This default value is subject to change over time. Please set this value explicitly to ensure the behavior is not accidentally impacted by future changes." + foreach ($variableName in $constants.Keys) { if (-not (Get-Variable $variableName -ErrorAction SilentlyContinue)) @@ -1018,7 +1020,7 @@ function GetRuntimeJsonDefinition $RuntimeVersion = $latestVersion.ToString() } - Write-Verbose "RuntimeVersion not specified. Setting default runtime version for '$Runtime' to '$RuntimeVersion'." -Verbose + Write-Warning "RuntimeVersion not specified. Setting default value to '$RuntimeVersion'. $SetDefaultValueParameterWarningMessage" } # Get the RuntimeJsonDefinition diff --git a/src/Functions/custom/New-AzFunctionApp.ps1 b/src/Functions/custom/New-AzFunctionApp.ps1 index 77378f3e8f40..12b41b93e1b8 100644 --- a/src/Functions/custom/New-AzFunctionApp.ps1 +++ b/src/Functions/custom/New-AzFunctionApp.ps1 @@ -266,7 +266,7 @@ function New-AzFunctionApp { } $FunctionsVersion = $DefaultFunctionsVersion - Write-Verbose "FunctionsVersion not specified. Setting default FunctionsVersion to '$FunctionsVersion'." -Verbose + Write-Warning "FunctionsVersion not specified. Setting default value to '$FunctionsVersion'. $SetDefaultValueParameterWarningMessage" } ValidateFunctionsVersion -FunctionsVersion $FunctionsVersion @@ -284,7 +284,7 @@ function New-AzFunctionApp { if (-not $OSType) { $OSType = GetDefaultOSType -Runtime $Runtime - Write-Verbose "OSType for $Runtime is '$OSType'." -Verbose + Write-Warning "OSType not specified. Setting default value to '$OSType'. $SetDefaultValueParameterWarningMessage" } $runtimeJsonDefintion = GetRuntimeJsonDefinition -FunctionsVersion $FunctionsVersion -Runtime $Runtime -RuntimeVersion $RuntimeVersion -OSType $OSType diff --git a/src/Functions/examples/Get-AzWebAppBasicPublishingCredentialsPolicy.md b/src/Functions/examples/Get-AzWebAppBasicPublishingCredentialsPolicy.md new file mode 100644 index 000000000000..6ee1a83db970 --- /dev/null +++ b/src/Functions/examples/Get-AzWebAppBasicPublishingCredentialsPolicy.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/Functions/examples/Get-AzWebAppFtpAllowed.md b/src/Functions/examples/Get-AzWebAppFtpAllowed.md new file mode 100644 index 000000000000..6ee1a83db970 --- /dev/null +++ b/src/Functions/examples/Get-AzWebAppFtpAllowed.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/Functions/examples/Get-AzWebAppScmAllowed.md b/src/Functions/examples/Get-AzWebAppScmAllowed.md new file mode 100644 index 000000000000..6ee1a83db970 --- /dev/null +++ b/src/Functions/examples/Get-AzWebAppScmAllowed.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/Functions/examples/New-AzFunctionApp.md b/src/Functions/examples/New-AzFunctionApp.md index 6711c56c3f92..76f430d36162 100644 --- a/src/Functions/examples/New-AzFunctionApp.md +++ b/src/Functions/examples/New-AzFunctionApp.md @@ -4,7 +4,7 @@ New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell ``` @@ -17,7 +17,7 @@ This command creates a consumption PowerShell function app in Central US. New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell ``` @@ -31,7 +31,7 @@ Note that the service plan and storage account must exist before this operation. New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag ``` diff --git a/src/Functions/examples/Set-AzWebAppFtpAllowed.md b/src/Functions/examples/Set-AzWebAppFtpAllowed.md new file mode 100644 index 000000000000..6ee1a83db970 --- /dev/null +++ b/src/Functions/examples/Set-AzWebAppFtpAllowed.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/Functions/examples/Set-AzWebAppScmAllowed.md b/src/Functions/examples/Set-AzWebAppScmAllowed.md new file mode 100644 index 000000000000..6ee1a83db970 --- /dev/null +++ b/src/Functions/examples/Set-AzWebAppScmAllowed.md @@ -0,0 +1,22 @@ +### Example 1: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + +### Example 2: {{ Add title here }} +```powershell +{{ Add code here }} +``` + +```output +{{ Add output here }} +``` + +{{ Add description here }} + diff --git a/src/Functions/exports/Get-AzFunctionApp.ps1 b/src/Functions/exports/Get-AzFunctionApp.ps1 index b6b5066f4789..a2749b587d74 100644 --- a/src/Functions/exports/Get-AzFunctionApp.ps1 +++ b/src/Functions/exports/Get-AzFunctionApp.ps1 @@ -120,6 +120,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.Runspace.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.Functions.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 = @{ GetAll = 'Az.Functions.custom\Get-AzFunctionApp'; ByLocation = 'Az.Functions.custom\Get-AzFunctionApp'; @@ -136,6 +154,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -144,15 +163,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.Functions.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/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1 b/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1 index a3dee8cac85d..21b0ba7b133b 100644 --- a/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1 +++ b/src/Functions/exports/Get-AzFunctionAppAvailableLocation.ps1 @@ -106,6 +106,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.Runspace.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.Functions.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.Functions.custom\Get-AzFunctionAppAvailableLocation'; } @@ -119,6 +137,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -127,15 +146,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.Functions.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/Functions/exports/Get-AzFunctionAppPlan.ps1 b/src/Functions/exports/Get-AzFunctionAppPlan.ps1 index ed5fa628d627..115e7a176497 100644 --- a/src/Functions/exports/Get-AzFunctionAppPlan.ps1 +++ b/src/Functions/exports/Get-AzFunctionAppPlan.ps1 @@ -112,6 +112,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.Runspace.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.Functions.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 = @{ GetAll = 'Az.Functions.custom\Get-AzFunctionAppPlan'; ByLocation = 'Az.Functions.custom\Get-AzFunctionAppPlan'; @@ -128,6 +146,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -136,15 +155,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.Functions.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/Functions/exports/Get-AzFunctionAppSetting.ps1 b/src/Functions/exports/Get-AzFunctionAppSetting.ps1 index 0c468fb8c0af..628b0dffd393 100644 --- a/src/Functions/exports/Get-AzFunctionAppSetting.ps1 +++ b/src/Functions/exports/Get-AzFunctionAppSetting.ps1 @@ -52,6 +52,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -267,6 +269,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Get-AzFunctionAppSetting'; ByObjectInput = 'Az.Functions.custom\Get-AzFunctionAppSetting'; @@ -281,6 +301,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -289,15 +310,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.Functions.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/Functions/exports/Get-AzSystemAssignedIdentity.ps1 b/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1 index df738c878282..29f1a3b123e3 100644 --- a/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1 +++ b/src/Functions/exports/Get-AzSystemAssignedIdentity.ps1 @@ -166,6 +166,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.Runspace.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.Functions.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.Functions.private\Get-AzSystemAssignedIdentity_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzSystemAssignedIdentity_GetViaIdentity'; @@ -177,6 +195,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -185,15 +204,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.Functions.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/Functions/exports/Get-AzWebAppBasicPublishingCredentialsPolicy.ps1 b/src/Functions/exports/Get-AzWebAppBasicPublishingCredentialsPolicy.ps1 new file mode 100644 index 000000000000..2be0cc7cda26 --- /dev/null +++ b/src/Functions/exports/Get-AzWebAppBasicPublishingCredentialsPolicy.ps1 @@ -0,0 +1,252 @@ + +# ---------------------------------------------------------------------------------- +# 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 +Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. +.Description +Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappbasicpublishingcredentialspolicy +#> +function Get-AzWebAppBasicPublishingCredentialsPolicy { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppBasicPublishingCredentialsPolicy_Get'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity'; + } + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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/Functions/exports/Get-AzWebAppFtpAllowed.ps1 b/src/Functions/exports/Get-AzWebAppFtpAllowed.ps1 new file mode 100644 index 000000000000..39cd6d9f3632 --- /dev/null +++ b/src/Functions/exports/Get-AzWebAppFtpAllowed.ps1 @@ -0,0 +1,252 @@ + +# ---------------------------------------------------------------------------------- +# 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 +Returns whether FTP is allowed on the site or not. +.Description +Returns whether FTP is allowed on the site or not. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappftpallowed +#> +function Get-AzWebAppFtpAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppFtpAllowed_Get'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppFtpAllowed_GetViaIdentity'; + } + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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/Functions/exports/Get-AzWebAppFunctionKey.ps1 b/src/Functions/exports/Get-AzWebAppFunctionKey.ps1 index 432e8998204f..a95e7812ceb3 100644 --- a/src/Functions/exports/Get-AzWebAppFunctionKey.ps1 +++ b/src/Functions/exports/Get-AzWebAppFunctionKey.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Get function keys for a function in a web site, or a deployment slot. +Get function keys for a function in a web site, or a deployment slot. .Description -Description for Get function keys for a function in a web site, or a deployment slot. +Get function keys for a function in a web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -115,6 +115,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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppFunctionKey_List'; } @@ -128,6 +146,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -136,15 +155,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.Functions.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/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1 b/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1 index 12a3a8efbcad..227740e8ac16 100644 --- a/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1 +++ b/src/Functions/exports/Get-AzWebAppFunctionKeySlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Get function keys for a function in a web site, or a deployment slot. +Get function keys for a function in a web site, or a deployment slot. .Description -Description for Get function keys for a function in a web site, or a deployment slot. +Get function keys for a function in a web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -121,6 +121,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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppFunctionKeySlot_List'; } @@ -134,6 +152,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -142,15 +161,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.Functions.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/Functions/exports/Get-AzWebAppScmAllowed.ps1 b/src/Functions/exports/Get-AzWebAppScmAllowed.ps1 new file mode 100644 index 000000000000..72ee1fa504d0 --- /dev/null +++ b/src/Functions/exports/Get-AzWebAppScmAllowed.ps1 @@ -0,0 +1,252 @@ + +# ---------------------------------------------------------------------------------- +# 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 +Returns whether Scm basic auth is allowed on the site or not. +.Description +Returns whether Scm basic auth is allowed on the site or not. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappscmallowed +#> +function Get-AzWebAppScmAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppScmAllowed_Get'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppScmAllowed_GetViaIdentity'; + } + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1 b/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1 index 68db26d2dd1f..670913973a85 100644 --- a/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1 +++ b/src/Functions/exports/Get-AzWebAppSettingKeyVaultReference.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets the config reference app settings and status of an app +Gets the config reference app settings and status of an app .Description -Description for Gets the config reference app settings and status of an app +Gets the config reference app settings and status of an app .Example {{ Add code here }} .Example @@ -192,6 +192,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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSettingKeyVaultReference_Get'; Get1 = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_Get1'; @@ -208,6 +226,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -216,15 +235,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.Functions.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/Functions/exports/Get-AzWebAppSyncStatus.ps1 b/src/Functions/exports/Get-AzWebAppSyncStatus.ps1 index e4c2dfe6c48c..ad5cc36d82d5 100644 --- a/src/Functions/exports/Get-AzWebAppSyncStatus.ps1 +++ b/src/Functions/exports/Get-AzWebAppSyncStatus.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for This is to allow calling via powershell and ARM template. +This is to allow calling via powershell and ARM template. .Description -Description for This is to allow calling via powershell and ARM template. +This is to allow calling via powershell and ARM template. .Example {{ Add code here }} .Example @@ -115,6 +115,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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSyncStatus_List'; } @@ -128,6 +146,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -136,15 +155,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.Functions.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/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1 b/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1 index 7f68abeb6395..24471fb538bf 100644 --- a/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1 +++ b/src/Functions/exports/Get-AzWebAppSyncStatusSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for This is to allow calling via powershell and ARM template. +This is to allow calling via powershell and ARM template. .Description -Description for This is to allow calling via powershell and ARM template. +This is to allow calling via powershell and ARM template. .Example {{ Add code here }} .Example @@ -121,6 +121,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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSyncStatusSlot_List'; } @@ -134,6 +152,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -142,15 +161,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.Functions.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/Functions/exports/Move-Az.ps1 b/src/Functions/exports/Move-Az.ps1 index 62045be1e6a3..51b0defe680b 100644 --- a/src/Functions/exports/Move-Az.ps1 +++ b/src/Functions/exports/Move-Az.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Move resources between resource groups. +Move resources between resource groups. .Description -Description for Move resources between resource groups. +Move resources between resource groups. .Example {{ Add code here }} .Example @@ -212,6 +212,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.Runspace.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.Functions.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 = @{ Move = 'Az.Functions.private\Move-Az_Move'; MoveExpanded = 'Az.Functions.private\Move-Az_MoveExpanded'; @@ -228,6 +246,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -236,15 +255,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.Functions.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/Functions/exports/New-AzFunctionApp.ps1 b/src/Functions/exports/New-AzFunctionApp.ps1 index 5ee86a168aed..4e4eabbd96d2 100644 --- a/src/Functions/exports/New-AzFunctionApp.ps1 +++ b/src/Functions/exports/New-AzFunctionApp.ps1 @@ -23,19 +23,19 @@ Creates a function app. New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag .Outputs @@ -253,6 +253,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.Runspace.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.Functions.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 = @{ Consumption = 'Az.Functions.custom\New-AzFunctionApp'; CustomDockerImage = 'Az.Functions.custom\New-AzFunctionApp'; @@ -268,6 +286,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -276,15 +295,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.Functions.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/Functions/exports/New-AzFunctionAppPlan.ps1 b/src/Functions/exports/New-AzFunctionAppPlan.ps1 index 686d77bbb87f..a083a9740b24 100644 --- a/src/Functions/exports/New-AzFunctionAppPlan.ps1 +++ b/src/Functions/exports/New-AzFunctionAppPlan.ps1 @@ -160,6 +160,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.Runspace.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.Functions.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.Functions.custom\New-AzFunctionAppPlan'; } @@ -173,6 +191,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -181,15 +200,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.Functions.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/Functions/exports/ProxyCmdletDefinitions.ps1 b/src/Functions/exports/ProxyCmdletDefinitions.ps1 index dc3768b372ae..cc586e25706f 100644 --- a/src/Functions/exports/ProxyCmdletDefinitions.ps1 +++ b/src/Functions/exports/ProxyCmdletDefinitions.ps1 @@ -166,6 +166,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.Runspace.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.Functions.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.Functions.private\Get-AzSystemAssignedIdentity_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzSystemAssignedIdentity_GetViaIdentity'; @@ -177,6 +195,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -185,63 +204,132 @@ 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.Functions.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 -Description for Get function keys for a function in a web site, or a deployment slot. +Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. .Description -Description for Get function keys for a function in a web site, or a deployment slot. +Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. .Example {{ Add code here }} .Example {{ Add code here }} +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. .Link -https://docs.microsoft.com/powershell/module/az.functions/get-azwebappfunctionkeyslot +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappbasicpublishingcredentialspolicy #> -function Get-AzWebAppFunctionKeySlot { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Get-AzWebAppBasicPublishingCredentialsPolicy { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] - [System.String] - # Function name. - ${FunctionName}, - - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Site name. + # Name of the app. ${Name}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] - [System.String] - # Name of the deployment slot. - ${Slot}, - - [Parameter()] + [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -250,6 +338,13 @@ param( # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -305,10 +400,29 @@ 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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppFunctionKeySlot_List'; + Get = 'Az.Functions.private\Get-AzWebAppBasicPublishingCredentialsPolicy_Get'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity'; } - if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] @@ -318,6 +432,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -326,57 +441,132 @@ 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.Functions.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 -Description for Get function keys for a function in a web site, or a deployment slot. +Returns whether FTP is allowed on the site or not. .Description -Description for Get function keys for a function in a web site, or a deployment slot. +Returns whether FTP is allowed on the site or not. .Example {{ Add code here }} .Example {{ Add code here }} +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. .Link -https://docs.microsoft.com/powershell/module/az.functions/get-azwebappfunctionkey +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappftpallowed #> -function Get-AzWebAppFunctionKey { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Get-AzWebAppFtpAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] - [System.String] - # Function name. - ${FunctionName}, - - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Site name. + # Name of the app. ${Name}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, - [Parameter()] + [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -385,6 +575,13 @@ param( # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -440,10 +637,29 @@ 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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppFunctionKey_List'; + Get = 'Az.Functions.private\Get-AzWebAppFtpAllowed_Get'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppFtpAllowed_GetViaIdentity'; } - if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] @@ -453,6 +669,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -461,120 +678,80 @@ 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.Functions.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 -Description for Gets the config reference app settings and status of an app +Get function keys for a function in a web site, or a deployment slot. .Description -Description for Gets the config reference app settings and status of an app +Get function keys for a function in a web site, or a deployment slot. .Example {{ Add code here }} .Example {{ Add code here }} -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection .Outputs -Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource -.Notes -COMPLEX PARAMETER PROPERTIES +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappfunctionkeyslot +#> +function Get-AzWebAppFunctionKeySlot { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Function name. + ${FunctionName}, -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. + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Site name. + ${Name}, -INPUTOBJECT : Identity Parameter - [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - [AnalysisName ]: Analysis Name - [AppSettingKey ]: App Setting key name. - [Authprovider ]: The auth provider for the users. - [BackupId ]: ID of the backup. - [BaseAddress ]: Module base address. - [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' - [CertificateOrderName ]: Name of the certificate order.. - [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. - [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 - [DetectorName ]: Detector Resource Name - [DiagnosticCategory ]: Diagnostic Category - [DiagnosticsName ]: Name of the diagnostics item. - [DomainName ]: Name of the domain. - [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. - [EntityName ]: Name of the hybrid connection. - [FunctionName ]: Function name. - [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". - [HostName ]: Hostname in the hostname binding. - [HostingEnvironmentName ]: Name of the hosting environment. - [Id ]: Deployment ID. - [Id1 ]: Resource identity path - [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' - [Instance ]: Name of the instance in the multi-role pool. - [InstanceId ]: - [KeyId ]: The API Key ID. This is unique within a Application Insights component. - [KeyName ]: The name of the key. - [KeyType ]: The type of host key. - [Location ]: - [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' - [Name ]: Name of the certificate. - [NamespaceName ]: The namespace for this hybrid connection. - [OperationId ]: GUID of the operation. - [PrId ]: The stage site identifier. - [PremierAddOnName ]: Add-on name. - [PrivateEndpointConnectionName ]: - [ProcessId ]: PID. - [PublicCertificateName ]: Public certificate name. - [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. - [RelayName ]: The relay name for this hybrid connection. - [ResourceGroupName ]: Name of the resource group to which the resource belongs. - [ResourceName ]: The name of the Application Insights component resource. - [RouteName ]: Name of the Virtual Network route. - [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. - [SiteExtensionId ]: Site extension name. - [SiteName ]: Site Name - [Slot ]: Slot Name - [SnapshotId ]: The ID of the snapshot to read. - [SourceControlType ]: Type of source control - [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - [Userid ]: The user id of the user. - [View ]: The type of view. This can either be "summary" or "detailed". - [VnetName ]: Name of the virtual network. - [WebJobName ]: Name of Web Job. - [WorkerName ]: Name of worker machine, which typically starts with RD. - [WorkerPoolName ]: Name of the worker pool. -.Link -https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsettingkeyvaultreference -#> -function Get-AzWebAppSettingKeyVaultReference { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection], [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource])] -[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] -param( - [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='Get1', Mandatory)] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Name of the app. - ${Name}, + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, - [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='Get1', Mandatory)] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Name of the resource group to which the resource belongs. - ${ResourceGroupName}, + # Name of the deployment slot. + ${Slot}, - [Parameter(ParameterSetName='Get')] - [Parameter(ParameterSetName='Get1')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -583,20 +760,6 @@ param( # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, - [Parameter(ParameterSetName='Get1', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] - [System.String] - # App Setting key name. - ${AppSettingKey}, - - [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -652,13 +815,28 @@ 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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSettingKeyVaultReference_Get'; - Get1 = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_Get1'; - GetViaIdentity = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_GetViaIdentity'; - GetViaIdentity1 = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_GetViaIdentity1'; + List = 'Az.Functions.private\Get-AzWebAppFunctionKeySlot_List'; } - if (('Get', 'Get1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] @@ -668,6 +846,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -676,55 +855,72 @@ 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.Functions.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 -Description for This is to allow calling via powershell and ARM template. +Get function keys for a function in a web site, or a deployment slot. .Description -Description for This is to allow calling via powershell and ARM template. +Get function keys for a function in a web site, or a deployment slot. .Example {{ Add code here }} .Example {{ Add code here }} .Outputs -System.Boolean +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .Link -https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsyncstatusslot +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappfunctionkey #> -function Get-AzWebAppSyncStatusSlot { -[OutputType([System.Boolean])] +function Get-AzWebAppFunctionKey { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Name of the app. - ${Name}, + # Function name. + ${FunctionName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Name of the resource group to which the resource belongs. - ${ResourceGroupName}, + # Site name. + ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] - # Name of the deployment slot. - ${Slot}, + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] @@ -763,12 +959,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] @@ -796,8 +986,26 @@ 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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSyncStatusSlot_List'; + List = 'Az.Functions.private\Get-AzWebAppFunctionKey_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id @@ -809,6 +1017,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -817,51 +1026,132 @@ 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.Functions.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 -Description for This is to allow calling via powershell and ARM template. +Returns whether Scm basic auth is allowed on the site or not. .Description -Description for This is to allow calling via powershell and ARM template. +Returns whether Scm basic auth is allowed on the site or not. .Example {{ Add code here }} .Example {{ Add code here }} +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs -System.Boolean +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. .Link -https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsyncstatus +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappscmallowed #> -function Get-AzWebAppSyncStatus { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Get-AzWebAppScmAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, - [Parameter()] + [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -870,6 +1160,13 @@ param( # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -898,12 +1195,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] @@ -931,10 +1222,29 @@ 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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSyncStatus_List'; + Get = 'Az.Functions.private\Get-AzWebAppScmAllowed_Get'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppScmAllowed_GetViaIdentity'; } - if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] @@ -944,6 +1254,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -952,35 +1263,52 @@ 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.Functions.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 -Description for Move resources between resource groups. +Gets the config reference app settings and status of an app .Description -Description for Move resources between resource groups. +Gets the config reference app settings and status of an app .Example {{ Add code here }} .Example {{ Add code here }} -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs -System.Boolean +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1043,26 +1371,1035 @@ INPUTOBJECT : Identity Parameter [WebJobName ]: Name of Web Job. [WorkerName ]: Name of worker machine, which typically starts with RD. [WorkerPoolName ]: Name of the worker pool. +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsettingkeyvaultreference +#> +function Get-AzWebAppSettingKeyVaultReference { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection], [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource])] +[CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='Get1', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='Get1', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Parameter(ParameterSetName='Get1')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='Get1', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # App Setting key name. + ${AppSettingKey}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSettingKeyVaultReference_Get'; + Get1 = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_Get1'; + GetViaIdentity = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_GetViaIdentity'; + GetViaIdentity1 = 'Az.Functions.private\Get-AzWebAppSettingKeyVaultReference_GetViaIdentity1'; + } + if (('Get', 'Get1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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 +This is to allow calling via powershell and ARM template. +.Description +This is to allow calling via powershell and ARM template. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Outputs +System.Boolean +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsyncstatusslot +#> +function Get-AzWebAppSyncStatusSlot { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the deployment slot. + ${Slot}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSyncStatusSlot_List'; + } + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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 +This is to allow calling via powershell and ARM template. +.Description +This is to allow calling via powershell and ARM template. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Outputs +System.Boolean +.Link +https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsyncstatus +#> +function Get-AzWebAppSyncStatus { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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.Functions.private\Get-AzWebAppSyncStatus_List'; + } + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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 +Move resources between resource groups. +.Description +Move resources between resource groups. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity +.Outputs +System.Boolean +.Notes +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 + [AccountName ]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. + [AnalysisName ]: Analysis Name + [AppSettingKey ]: App Setting key name. + [Authprovider ]: The auth provider for the users. + [BackupId ]: ID of the backup. + [BaseAddress ]: Module base address. + [BlobServicesName ]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' + [CertificateOrderName ]: Name of the certificate order.. + [ContainerName ]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. + [DeletedSiteId ]: The numeric ID of the deleted app, e.g. 12345 + [DetectorName ]: Detector Resource Name + [DiagnosticCategory ]: Diagnostic Category + [DiagnosticsName ]: Name of the diagnostics item. + [DomainName ]: Name of the domain. + [DomainOwnershipIdentifierName ]: Name of domain ownership identifier. + [EntityName ]: Name of the hybrid connection. + [FunctionName ]: Function name. + [GatewayName ]: Name of the gateway. Currently, the only supported string is "primary". + [HostName ]: Hostname in the hostname binding. + [HostingEnvironmentName ]: Name of the hosting environment. + [Id ]: Deployment ID. + [Id1 ]: Resource identity path + [ImmutabilityPolicyName ]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' + [Instance ]: Name of the instance in the multi-role pool. + [InstanceId ]: + [KeyId ]: The API Key ID. This is unique within a Application Insights component. + [KeyName ]: The name of the key. + [KeyType ]: The type of host key. + [Location ]: + [ManagementPolicyName ]: The name of the Storage Account Management Policy. It should always be 'default' + [Name ]: Name of the certificate. + [NamespaceName ]: The namespace for this hybrid connection. + [OperationId ]: GUID of the operation. + [PrId ]: The stage site identifier. + [PremierAddOnName ]: Add-on name. + [PrivateEndpointConnectionName ]: + [ProcessId ]: PID. + [PublicCertificateName ]: Public certificate name. + [PurgeId ]: In a purge status request, this is the Id of the operation the status of which is returned. + [RelayName ]: The relay name for this hybrid connection. + [ResourceGroupName ]: Name of the resource group to which the resource belongs. + [ResourceName ]: The name of the Application Insights component resource. + [RouteName ]: Name of the Virtual Network route. + [Scope ]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. + [SiteExtensionId ]: Site extension name. + [SiteName ]: Site Name + [Slot ]: Slot Name + [SnapshotId ]: The ID of the snapshot to read. + [SourceControlType ]: Type of source control + [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Userid ]: The user id of the user. + [View ]: The type of view. This can either be "summary" or "detailed". + [VnetName ]: Name of the virtual network. + [WebJobName ]: Name of Web Job. + [WorkerName ]: Name of worker machine, which typically starts with RD. + [WorkerPoolName ]: Name of the worker pool. + +MOVERESOURCEENVELOPE : Object with a list of the resources that need to be moved and the resource group they should be moved to. + [Resource ]: + [TargetResourceGroup ]: +.Link +https://docs.microsoft.com/powershell/module/az.functions/move-az +#> +function Move-Az { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='MoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Move', Mandatory)] + [Parameter(ParameterSetName='MoveExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Move')] + [Parameter(ParameterSetName='MoveExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='MoveViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='MoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Move', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='MoveViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope] + # Object with a list of the resources that need to be moved and the resource group they should be moved to. + # To construct, see NOTES section for MOVERESOURCEENVELOPE properties and create a hash table. + ${MoveResourceEnvelope}, + + [Parameter(ParameterSetName='MoveExpanded')] + [Parameter(ParameterSetName='MoveViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String[]] + # . + ${Resource}, + + [Parameter(ParameterSetName='MoveExpanded')] + [Parameter(ParameterSetName='MoveViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # . + ${TargetResourceGroup}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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 = @{ + Move = 'Az.Functions.private\Move-Az_Move'; + MoveExpanded = 'Az.Functions.private\Move-Az_MoveExpanded'; + MoveViaIdentity = 'Az.Functions.private\Move-Az_MoveViaIdentity'; + MoveViaIdentityExpanded = 'Az.Functions.private\Move-Az_MoveViaIdentityExpanded'; + } + if (('Move', 'MoveExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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 +Updates whether FTP is allowed on the site or not. +.Description +Updates whether FTP is allowed on the site or not. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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. + +CSMPUBLISHINGACCESSPOLICIESENTITY : Publishing Credentials Policies parameters. + [Kind ]: Kind of resource. + [Allow ]: true to allow access to a publishing method; otherwise, false. +.Link +https://docs.microsoft.com/powershell/module/az.functions/set-azwebappftpallowed +#> +function Set-AzWebAppFtpAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity] + # Publishing Credentials Policies parameters. + # To construct, see NOTES section for CSMPUBLISHINGACCESSPOLICIESENTITY properties and create a hash table. + ${CsmPublishingAccessPoliciesEntity}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # true to allow access to a publishing method; otherwise, false. + ${Allow}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # Kind of resource. + ${Kind}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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 = @{ + Update = 'Az.Functions.private\Set-AzWebAppFtpAllowed_Update'; + UpdateExpanded = 'Az.Functions.private\Set-AzWebAppFtpAllowed_UpdateExpanded'; + } + if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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 +Updates whether user publishing credentials are allowed on the site or not. +.Description +Updates whether user publishing credentials are allowed on the site or not. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +COMPLEX PARAMETER PROPERTIES -MOVERESOURCEENVELOPE : Object with a list of the resources that need to be moved and the resource group they should be moved to. - [Resource ]: - [TargetResourceGroup ]: +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. + +CSMPUBLISHINGACCESSPOLICIESENTITY : Publishing Credentials Policies parameters. + [Kind ]: Kind of resource. + [Allow ]: true to allow access to a publishing method; otherwise, false. .Link -https://docs.microsoft.com/powershell/module/az.functions/move-az +https://docs.microsoft.com/powershell/module/az.functions/set-azwebappscmallowed #> -function Move-Az { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='MoveExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Set-AzWebAppScmAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Move', Mandatory)] - [Parameter(ParameterSetName='MoveExpanded', Mandatory)] + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, - [Parameter(ParameterSetName='Move')] - [Parameter(ParameterSetName='MoveExpanded')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -1071,36 +2408,24 @@ param( # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, - [Parameter(ParameterSetName='MoveViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='MoveViaIdentityExpanded', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter(ParameterSetName='Move', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='MoveViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope] - # Object with a list of the resources that need to be moved and the resource group they should be moved to. - # To construct, see NOTES section for MOVERESOURCEENVELOPE properties and create a hash table. - ${MoveResourceEnvelope}, + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity] + # Publishing Credentials Policies parameters. + # To construct, see NOTES section for CSMPUBLISHINGACCESSPOLICIESENTITY properties and create a hash table. + ${CsmPublishingAccessPoliciesEntity}, - [Parameter(ParameterSetName='MoveExpanded')] - [Parameter(ParameterSetName='MoveViaIdentityExpanded')] - [AllowEmptyCollection()] + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] - [System.String[]] - # . - ${Resource}, + [System.Management.Automation.SwitchParameter] + # true to allow access to a publishing method; otherwise, false. + ${Allow}, - [Parameter(ParameterSetName='MoveExpanded')] - [Parameter(ParameterSetName='MoveViaIdentityExpanded')] + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] - # . - ${TargetResourceGroup}, + # Kind of resource. + ${Kind}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -1130,12 +2455,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] @@ -1163,13 +2482,29 @@ 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.Runspace.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.Functions.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 = @{ - Move = 'Az.Functions.private\Move-Az_Move'; - MoveExpanded = 'Az.Functions.private\Move-Az_MoveExpanded'; - MoveViaIdentity = 'Az.Functions.private\Move-Az_MoveViaIdentity'; - MoveViaIdentityExpanded = 'Az.Functions.private\Move-Az_MoveViaIdentityExpanded'; + Update = 'Az.Functions.private\Set-AzWebAppScmAllowed_Update'; + UpdateExpanded = 'Az.Functions.private\Set-AzWebAppScmAllowed_UpdateExpanded'; } - if (('Move', 'MoveExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] @@ -1179,6 +2514,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -1187,24 +2523,41 @@ 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.Functions.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 -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Description -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Example {{ Add code here }} .Example @@ -1378,6 +2731,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.Runspace.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.Functions.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 = @{ Sync = 'Az.Functions.private\Sync-AzWebAppFunctionSlot_Sync'; SyncViaIdentity = 'Az.Functions.private\Sync-AzWebAppFunctionSlot_SyncViaIdentity'; @@ -1392,6 +2763,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -1400,24 +2772,41 @@ 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.Functions.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 -Description for Validate if a resource can be created. +Validate if a resource can be created. .Description -Description for Validate if a resource can be created. +Validate if a resource can be created. .Example {{ Add code here }} .Example @@ -1717,6 +3106,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.Runspace.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.Functions.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 = @{ Validate = 'Az.Functions.private\Test-Az_Validate'; ValidateExpanded = 'Az.Functions.private\Test-Az_ValidateExpanded'; @@ -1733,6 +3140,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -1741,17 +3149,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.Functions.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 } -} +} } <# @@ -1860,6 +3285,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.Runspace.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.Functions.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 = @{ GetAll = 'Az.Functions.custom\Get-AzFunctionApp'; ByLocation = 'Az.Functions.custom\Get-AzFunctionApp'; @@ -1876,6 +3319,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -1884,17 +3328,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.Functions.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 } -} +} } <# @@ -1989,6 +3450,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.Runspace.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.Functions.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.Functions.custom\Get-AzFunctionAppAvailableLocation'; } @@ -2002,6 +3481,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -2010,17 +3490,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.Functions.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 } -} +} } <# @@ -2121,6 +3618,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.Runspace.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.Functions.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 = @{ GetAll = 'Az.Functions.custom\Get-AzFunctionAppPlan'; ByLocation = 'Az.Functions.custom\Get-AzFunctionAppPlan'; @@ -2137,6 +3652,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -2145,17 +3661,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.Functions.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 } -} +} } <# @@ -2196,6 +3729,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -2411,6 +3946,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Get-AzFunctionAppSetting'; ByObjectInput = 'Az.Functions.custom\Get-AzFunctionAppSetting'; @@ -2425,6 +3978,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -2433,17 +3987,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.Functions.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 } -} +} } <# @@ -2455,19 +4026,19 @@ Creates a function app. New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag .Outputs @@ -2685,6 +4256,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.Runspace.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.Functions.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 = @{ Consumption = 'Az.Functions.custom\New-AzFunctionApp'; CustomDockerImage = 'Az.Functions.custom\New-AzFunctionApp'; @@ -2700,6 +4289,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -2708,17 +4298,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.Functions.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 } -} +} } <# @@ -2867,6 +4474,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.Runspace.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.Functions.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.Functions.custom\New-AzFunctionAppPlan'; } @@ -2880,6 +4505,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -2888,17 +4514,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.Functions.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 } -} +} } <# @@ -2941,6 +4584,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -3168,6 +4813,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Remove-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Remove-AzFunctionApp'; @@ -3182,6 +4845,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -3190,17 +4854,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.Functions.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 } -} +} } <# @@ -3346,6 +5027,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Remove-AzFunctionAppPlan'; ByObjectInput = 'Az.Functions.custom\Remove-AzFunctionAppPlan'; @@ -3360,6 +5059,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -3368,17 +5068,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.Functions.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 } -} +} } <# @@ -3419,6 +5136,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -3646,6 +5365,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Remove-AzFunctionAppSetting'; ByObjectInput = 'Az.Functions.custom\Remove-AzFunctionAppSetting'; @@ -3660,6 +5397,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -3668,17 +5406,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.Functions.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 } -} +} } <# @@ -3721,6 +5476,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -3948,6 +5705,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.Runspace.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.Functions.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 = @{ RestartByName = 'Az.Functions.custom\Restart-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Restart-AzFunctionApp'; @@ -3962,6 +5737,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -3970,17 +5746,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.Functions.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 } -} +} } <# @@ -4023,6 +5816,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -4244,6 +6039,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.Runspace.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.Functions.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 = @{ StartByName = 'Az.Functions.custom\Start-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Start-AzFunctionApp'; @@ -4258,6 +6071,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -4266,17 +6080,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.Functions.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 } -} +} } <# @@ -4319,6 +6150,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -4545,6 +6378,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.Runspace.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.Functions.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 = @{ StopByName = 'Az.Functions.custom\Stop-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Stop-AzFunctionApp'; @@ -4559,6 +6410,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -4567,17 +6419,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.Functions.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 } -} +} } <# @@ -4624,6 +6493,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -4906,6 +6777,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Update-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Update-AzFunctionApp'; @@ -4920,6 +6809,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -4928,17 +6818,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.Functions.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 } -} +} } <# @@ -5122,6 +7029,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Update-AzFunctionAppPlan'; ByObjectInput = 'Az.Functions.custom\Update-AzFunctionAppPlan'; @@ -5136,6 +7061,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -5144,17 +7070,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.Functions.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 } -} +} } <# @@ -5195,6 +7138,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -5423,6 +7368,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Update-AzFunctionAppSetting'; ByObjectInput = 'Az.Functions.custom\Update-AzFunctionAppSetting'; @@ -5437,6 +7400,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -5445,15 +7409,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.Functions.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/Functions/exports/Remove-AzFunctionApp.ps1 b/src/Functions/exports/Remove-AzFunctionApp.ps1 index 32a3740a8883..a6b09adfd376 100644 --- a/src/Functions/exports/Remove-AzFunctionApp.ps1 +++ b/src/Functions/exports/Remove-AzFunctionApp.ps1 @@ -54,6 +54,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -281,6 +283,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Remove-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Remove-AzFunctionApp'; @@ -295,6 +315,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -303,15 +324,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.Functions.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/Functions/exports/Remove-AzFunctionAppPlan.ps1 b/src/Functions/exports/Remove-AzFunctionAppPlan.ps1 index c9a67ea221d9..71b964682f94 100644 --- a/src/Functions/exports/Remove-AzFunctionAppPlan.ps1 +++ b/src/Functions/exports/Remove-AzFunctionAppPlan.ps1 @@ -157,6 +157,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Remove-AzFunctionAppPlan'; ByObjectInput = 'Az.Functions.custom\Remove-AzFunctionAppPlan'; @@ -171,6 +189,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -179,15 +198,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.Functions.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/Functions/exports/Remove-AzFunctionAppSetting.ps1 b/src/Functions/exports/Remove-AzFunctionAppSetting.ps1 index 70a2a1e4c135..cbcee86ae10a 100644 --- a/src/Functions/exports/Remove-AzFunctionAppSetting.ps1 +++ b/src/Functions/exports/Remove-AzFunctionAppSetting.ps1 @@ -52,6 +52,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -279,6 +281,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Remove-AzFunctionAppSetting'; ByObjectInput = 'Az.Functions.custom\Remove-AzFunctionAppSetting'; @@ -293,6 +313,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -301,15 +322,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.Functions.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/Functions/exports/Restart-AzFunctionApp.ps1 b/src/Functions/exports/Restart-AzFunctionApp.ps1 index e8e913be44ac..5494f54a228b 100644 --- a/src/Functions/exports/Restart-AzFunctionApp.ps1 +++ b/src/Functions/exports/Restart-AzFunctionApp.ps1 @@ -54,6 +54,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -281,6 +283,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.Runspace.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.Functions.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 = @{ RestartByName = 'Az.Functions.custom\Restart-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Restart-AzFunctionApp'; @@ -295,6 +315,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -303,15 +324,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.Functions.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/Functions/exports/Set-AzWebAppFtpAllowed.ps1 b/src/Functions/exports/Set-AzWebAppFtpAllowed.ps1 new file mode 100644 index 000000000000..76c5e8458ba1 --- /dev/null +++ b/src/Functions/exports/Set-AzWebAppFtpAllowed.ps1 @@ -0,0 +1,210 @@ + +# ---------------------------------------------------------------------------------- +# 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 +Updates whether FTP is allowed on the site or not. +.Description +Updates whether FTP is allowed on the site or not. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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. + +CSMPUBLISHINGACCESSPOLICIESENTITY : Publishing Credentials Policies parameters. + [Kind ]: Kind of resource. + [Allow ]: true to allow access to a publishing method; otherwise, false. +.Link +https://docs.microsoft.com/powershell/module/az.functions/set-azwebappftpallowed +#> +function Set-AzWebAppFtpAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity] + # Publishing Credentials Policies parameters. + # To construct, see NOTES section for CSMPUBLISHINGACCESSPOLICIESENTITY properties and create a hash table. + ${CsmPublishingAccessPoliciesEntity}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # true to allow access to a publishing method; otherwise, false. + ${Allow}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # Kind of resource. + ${Kind}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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 = @{ + Update = 'Az.Functions.private\Set-AzWebAppFtpAllowed_Update'; + UpdateExpanded = 'Az.Functions.private\Set-AzWebAppFtpAllowed_UpdateExpanded'; + } + if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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/Functions/exports/Set-AzWebAppScmAllowed.ps1 b/src/Functions/exports/Set-AzWebAppScmAllowed.ps1 new file mode 100644 index 000000000000..d4ac6adc66f3 --- /dev/null +++ b/src/Functions/exports/Set-AzWebAppScmAllowed.ps1 @@ -0,0 +1,210 @@ + +# ---------------------------------------------------------------------------------- +# 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 +Updates whether user publishing credentials are allowed on the site or not. +.Description +Updates whether user publishing credentials are allowed on the site or not. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity +.Notes +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. + +CSMPUBLISHINGACCESSPOLICIESENTITY : Publishing Credentials Policies parameters. + [Kind ]: Kind of resource. + [Allow ]: true to allow access to a publishing method; otherwise, false. +.Link +https://docs.microsoft.com/powershell/module/az.functions/set-azwebappscmallowed +#> +function Set-AzWebAppScmAllowed { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the app. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [System.String] + # Name of the resource group to which the resource belongs. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # Your Azure subscription ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${SubscriptionId}, + + [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity] + # Publishing Credentials Policies parameters. + # To construct, see NOTES section for CSMPUBLISHINGACCESSPOLICIESENTITY properties and create a hash table. + ${CsmPublishingAccessPoliciesEntity}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # true to allow access to a publishing method; otherwise, false. + ${Allow}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # Kind of resource. + ${Kind}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +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.Runspace.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.Functions.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 = @{ + Update = 'Az.Functions.private\Set-AzWebAppScmAllowed_Update'; + UpdateExpanded = 'Az.Functions.private\Set-AzWebAppScmAllowed_UpdateExpanded'; + } + if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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/Functions/exports/Start-AzFunctionApp.ps1 b/src/Functions/exports/Start-AzFunctionApp.ps1 index e2e530302b4e..04e2678ec66c 100644 --- a/src/Functions/exports/Start-AzFunctionApp.ps1 +++ b/src/Functions/exports/Start-AzFunctionApp.ps1 @@ -54,6 +54,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -275,6 +277,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.Runspace.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.Functions.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 = @{ StartByName = 'Az.Functions.custom\Start-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Start-AzFunctionApp'; @@ -289,6 +309,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -297,15 +318,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.Functions.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/Functions/exports/Stop-AzFunctionApp.ps1 b/src/Functions/exports/Stop-AzFunctionApp.ps1 index 73c554492108..153121daa5af 100644 --- a/src/Functions/exports/Stop-AzFunctionApp.ps1 +++ b/src/Functions/exports/Stop-AzFunctionApp.ps1 @@ -54,6 +54,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -280,6 +282,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.Runspace.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.Functions.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 = @{ StopByName = 'Az.Functions.custom\Stop-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Stop-AzFunctionApp'; @@ -294,6 +314,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -302,15 +323,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.Functions.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/Functions/exports/Sync-AzWebAppFunctionSlot.ps1 b/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1 index 442f6378e0c0..6baaf6731539 100644 --- a/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1 +++ b/src/Functions/exports/Sync-AzWebAppFunctionSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Description -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Example {{ Add code here }} .Example @@ -192,6 +192,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.Runspace.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.Functions.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 = @{ Sync = 'Az.Functions.private\Sync-AzWebAppFunctionSlot_Sync'; SyncViaIdentity = 'Az.Functions.private\Sync-AzWebAppFunctionSlot_SyncViaIdentity'; @@ -206,6 +224,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -214,15 +233,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.Functions.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/Functions/exports/Test-Az.ps1 b/src/Functions/exports/Test-Az.ps1 index de71110d7c81..04dc8eb0507d 100644 --- a/src/Functions/exports/Test-Az.ps1 +++ b/src/Functions/exports/Test-Az.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Validate if a resource can be created. +Validate if a resource can be created. .Description -Description for Validate if a resource can be created. +Validate if a resource can be created. .Example {{ Add code here }} .Example @@ -318,6 +318,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.Runspace.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.Functions.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 = @{ Validate = 'Az.Functions.private\Test-Az_Validate'; ValidateExpanded = 'Az.Functions.private\Test-Az_ValidateExpanded'; @@ -334,6 +352,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -342,15 +361,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.Functions.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/Functions/exports/Update-AzFunctionApp.ps1 b/src/Functions/exports/Update-AzFunctionApp.ps1 index 1a575bee5078..ea378fe21e44 100644 --- a/src/Functions/exports/Update-AzFunctionApp.ps1 +++ b/src/Functions/exports/Update-AzFunctionApp.ps1 @@ -58,6 +58,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -340,6 +342,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Update-AzFunctionApp'; ByObjectInput = 'Az.Functions.custom\Update-AzFunctionApp'; @@ -354,6 +374,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -362,15 +383,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.Functions.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/Functions/exports/Update-AzFunctionAppPlan.ps1 b/src/Functions/exports/Update-AzFunctionAppPlan.ps1 index 113b2a641cd2..cf16be370746 100644 --- a/src/Functions/exports/Update-AzFunctionAppPlan.ps1 +++ b/src/Functions/exports/Update-AzFunctionAppPlan.ps1 @@ -195,6 +195,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Update-AzFunctionAppPlan'; ByObjectInput = 'Az.Functions.custom\Update-AzFunctionAppPlan'; @@ -209,6 +227,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -217,15 +236,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.Functions.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/Functions/exports/Update-AzFunctionAppSetting.ps1 b/src/Functions/exports/Update-AzFunctionAppSetting.ps1 index 2a032fcec4c9..9bfea0e059f0 100644 --- a/src/Functions/exports/Update-AzFunctionAppSetting.ps1 +++ b/src/Functions/exports/Update-AzFunctionAppSetting.ps1 @@ -52,6 +52,8 @@ INPUTOBJECT : [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -280,6 +282,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.Runspace.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.Functions.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 = @{ ByName = 'Az.Functions.custom\Update-AzFunctionAppSetting'; ByObjectInput = 'Az.Functions.custom\Update-AzFunctionAppSetting'; @@ -294,6 +314,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() throw } } @@ -302,15 +323,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.Functions.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/Functions/generate-info.json b/src/Functions/generate-info.json index 18434b3120aa..bdc0dd07c6cd 100644 --- a/src/Functions/generate-info.json +++ b/src/Functions/generate-info.json @@ -1,8 +1,8 @@ { "autorest": "`-- (empty)", - "node": "v14.15.5", - "swagger_commit": "dfb02eb8ee4f04974fc46e9708615bff03329907", + "autorest_powershell": "3.0.486", "autorest_modelerfour": "4.15.414", - "autorest_core": "3.8.2", - "autorest_powershell": "3.0.480" + "node": "v14.15.5", + "swagger_commit": "2e2e4273e94a9da208e2cd00864ccf7497ccaa1d", + "autorest_core": "3.8.4" } diff --git a/src/Functions/generated/Module.cs b/src/Functions/generated/Module.cs index 1da6e4d78e28..01ab35300f2a 100644 --- a/src/Functions/generated/Module.cs +++ b/src/Functions/generated/Module.cs @@ -11,6 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions 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>; @@ -46,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.Functions.Module _instance; @@ -67,6 +72,9 @@ public partial class Module /// The ResourceID for this module (azure arm). public string ResourceId => @"Az.Functions"; + /// The delegate for creating a telemetry. + public TelemetryDelegate Telemetry { get; set; } + /// The from the cmdlet /// The HttpPipeline for the request diff --git a/src/Functions/generated/api/Functions.cs b/src/Functions/generated/api/Functions.cs index 33fbd016f5d4..a09c2f140b3a 100644 --- a/src/Functions/generated/api/Functions.cs +++ b/src/Functions/generated/api/Functions.cs @@ -691,7 +691,7 @@ public partial class Functions } } - /// Description for Create or update a certificate purchase order. + /// Create or update a certificate purchase order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -739,9 +739,7 @@ public partial class Functions } } - /// - /// Description for Creates or updates a certificate and associates with key vault secret. - /// + /// Creates or updates a certificate and associates with key vault secret. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Name of the certificate. @@ -792,9 +790,7 @@ public partial class Functions } } - /// - /// Description for Creates or updates a certificate and associates with key vault secret. - /// + /// Creates or updates a certificate and associates with key vault secret. /// /// Key vault certificate resource Id. /// a delegate that is called when the remote service returns 200 (OK). @@ -1033,7 +1029,7 @@ public partial class Functions } } - /// Description for Create or update a certificate purchase order. + /// Create or update a certificate purchase order. /// /// Distinguished name to use for the certificate order. /// a delegate that is called when the remote service returns 200 (OK). @@ -1267,7 +1263,7 @@ public partial class Functions } } - /// Description for Delete an existing certificate order. + /// Delete an existing certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -1311,7 +1307,7 @@ public partial class Functions } } - /// Description for Delete the certificate associated with a certificate order. + /// Delete the certificate associated with a certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Name of the certificate. @@ -1358,7 +1354,7 @@ public partial class Functions } } - /// Description for Delete the certificate associated with a certificate order. + /// Delete the certificate associated with a certificate order. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -1499,7 +1495,7 @@ public partial class Functions } } - /// Description for Delete an existing certificate order. + /// Delete an existing certificate order. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -1633,7 +1629,7 @@ public partial class Functions } } - /// Description for Get a certificate order. + /// Get a certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order.. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -1676,7 +1672,7 @@ public partial class Functions } } - /// Description for Get the certificate associated with a certificate order. + /// Get the certificate associated with a certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Name of the certificate. @@ -1722,7 +1718,7 @@ public partial class Functions } } - /// Description for Get the certificate associated with a certificate order. + /// Get the certificate associated with a certificate order. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -1855,7 +1851,7 @@ public partial class Functions } } - /// Description for Get a certificate order. + /// Get a certificate order. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -1981,7 +1977,7 @@ public partial class Functions } } - /// Description for List all certificate orders in a subscription. + /// List all certificate orders in a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2019,7 +2015,7 @@ public partial class Functions } } - /// Description for Get certificate orders in a resource group. + /// Get certificate orders in a resource group. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -2060,7 +2056,7 @@ public partial class Functions } } - /// Description for Get certificate orders in a resource group. + /// Get certificate orders in a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2184,7 +2180,7 @@ public partial class Functions } } - /// Description for List all certificates associated with a certificate order. + /// List all certificates associated with a certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -2228,7 +2224,7 @@ public partial class Functions } } - /// Description for List all certificates associated with a certificate order. + /// List all certificates associated with a certificate order. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2357,7 +2353,7 @@ public partial class Functions } } - /// Description for List all certificate orders in a subscription. + /// List all certificate orders in a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -2471,7 +2467,7 @@ public partial class Functions } } - /// Description for Reissue an existing certificate order. + /// Reissue an existing certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -2520,7 +2516,7 @@ public partial class Functions } } - /// Description for Reissue an existing certificate order. + /// Reissue an existing certificate order. /// /// Parameters for the reissue. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -2655,7 +2651,7 @@ public partial class Functions } } - /// Description for Renew an existing certificate order. + /// Renew an existing certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -2704,7 +2700,7 @@ public partial class Functions } } - /// Description for Renew an existing certificate order. + /// Renew an existing certificate order. /// /// Renew parameters /// a delegate that is called when the remote service returns 204 (NoContent). @@ -2839,7 +2835,7 @@ public partial class Functions } } - /// Description for Resend certificate email. + /// Resend certificate email. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -2883,7 +2879,7 @@ public partial class Functions } } - /// Description for Resend certificate email. + /// Resend certificate email. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3012,7 +3008,7 @@ public partial class Functions } } - /// Description for Verify domain ownership for this certificate order. + /// Verify domain ownership for this certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -3061,7 +3057,7 @@ public partial class Functions } } - /// Description for Verify domain ownership for this certificate order. + /// Verify domain ownership for this certificate order. /// /// Email address /// a delegate that is called when the remote service returns 204 (NoContent). @@ -3198,7 +3194,7 @@ public partial class Functions } } - /// Description for Retrieve the list of certificate actions. + /// Retrieve the list of certificate actions. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -3242,7 +3238,7 @@ public partial class Functions } } - /// Description for Retrieve the list of certificate actions. + /// Retrieve the list of certificate actions. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3371,7 +3367,7 @@ public partial class Functions } } - /// Description for Retrieve email history. + /// Retrieve email history. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -3415,7 +3411,7 @@ public partial class Functions } } - /// Description for Retrieve email history. + /// Retrieve email history. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3544,7 +3540,7 @@ public partial class Functions } } - /// Description for Verify domain ownership for this certificate order. + /// Verify domain ownership for this certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -3593,7 +3589,7 @@ public partial class Functions } } - /// Description for Verify domain ownership for this certificate order. + /// Verify domain ownership for this certificate order. /// /// Site seal request. /// a delegate that is called when the remote service returns 200 (OK). @@ -3730,7 +3726,7 @@ public partial class Functions } } - /// Description for Create or update a certificate purchase order. + /// Create or update a certificate purchase order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -3779,9 +3775,7 @@ public partial class Functions } } - /// - /// Description for Creates or updates a certificate and associates with key vault secret. - /// + /// Creates or updates a certificate and associates with key vault secret. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Name of the certificate. @@ -3833,9 +3827,7 @@ public partial class Functions } } - /// - /// Description for Creates or updates a certificate and associates with key vault secret. - /// + /// Creates or updates a certificate and associates with key vault secret. /// /// Key vault certificate resource Id. /// a delegate that is called when the remote service returns 200 (OK). @@ -3984,7 +3976,7 @@ public partial class Functions } } - /// Description for Create or update a certificate purchase order. + /// Create or update a certificate purchase order. /// /// Distinguished name to use for the certificate order. /// a delegate that is called when the remote service returns 200 (OK). @@ -4126,7 +4118,7 @@ public partial class Functions } } - /// Description for Validate information for a certificate order. + /// Validate information for a certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Information for a certificate order. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -4169,7 +4161,7 @@ public partial class Functions } } - /// Description for Validate information for a certificate order. + /// Validate information for a certificate order. /// /// Information for a certificate order. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -4293,7 +4285,7 @@ public partial class Functions } } - /// Description for Verify domain ownership for this certificate order. + /// Verify domain ownership for this certificate order. /// Name of the resource group to which the resource belongs. /// Name of the certificate order. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -4337,7 +4329,7 @@ public partial class Functions } } - /// Description for Verify domain ownership for this certificate order. + /// Verify domain ownership for this certificate order. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -4466,7 +4458,7 @@ public partial class Functions } } - /// Description for Move an App Service Environment to a different VNET. + /// Move an App Service Environment to a different VNET. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -4515,7 +4507,7 @@ public partial class Functions } } - /// Description for Move an App Service Environment to a different VNET. + /// Move an App Service Environment to a different VNET. /// /// Details for the new virtual network. /// a delegate that is called when the remote service returns 200 (OK). @@ -4749,7 +4741,7 @@ public partial class Functions } } - /// Description for Create or update an App Service Environment. + /// Create or update an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -4797,7 +4789,7 @@ public partial class Functions } } - /// Description for Create or update a multi-role pool. + /// Create or update a multi-role pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -4846,7 +4838,7 @@ public partial class Functions } } - /// Description for Create or update a multi-role pool. + /// Create or update a multi-role pool. /// /// Properties of the multi-role pool. /// a delegate that is called when the remote service returns 200 (OK). @@ -5081,7 +5073,7 @@ public partial class Functions } } - /// Description for Create or update an App Service Environment. + /// Create or update an App Service Environment. /// /// Configuration details of the App Service Environment. /// a delegate that is called when the remote service returns 200 (OK). @@ -5139,7 +5131,7 @@ public partial class Functions } } - /// Description for Create or update a worker pool. + /// Create or update a worker pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the worker pool. @@ -5190,7 +5182,7 @@ public partial class Functions } } - /// Description for Create or update a worker pool. + /// Create or update a worker pool. /// /// Properties of the worker pool. /// a delegate that is called when the remote service returns 200 (OK). @@ -5605,7 +5597,7 @@ public partial class Functions } } - /// Description for Delete an App Service Environment. + /// Delete an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Specify true to force the deletion even if the App Service Environment contains @@ -5652,7 +5644,7 @@ public partial class Functions } } - /// Description for Delete an App Service Environment. + /// Delete an App Service Environment. /// /// Specify true to force the deletion even if the App Service Environment contains /// resources. The default is false. @@ -5883,7 +5875,7 @@ public partial class Functions } } - /// Description for Get the properties of an App Service Environment. + /// Get the properties of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -5926,7 +5918,7 @@ public partial class Functions } } - /// Description for Get a diagnostics item for an App Service Environment. + /// Get a diagnostics item for an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the diagnostics item. @@ -5972,7 +5964,7 @@ public partial class Functions } } - /// Description for Get a diagnostics item for an App Service Environment. + /// Get a diagnostics item for an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6106,7 +6098,7 @@ public partial class Functions } /// - /// Description for Get the network endpoints of all inbound dependencies of an App Service Environment. + /// Get the network endpoints of all inbound dependencies of an App Service Environment. /// /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. @@ -6152,7 +6144,7 @@ public partial class Functions } /// - /// Description for Get the network endpoints of all inbound dependencies of an App Service Environment. + /// Get the network endpoints of all inbound dependencies of an App Service Environment. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -6282,7 +6274,7 @@ public partial class Functions } } - /// Description for Get properties of a multi-role pool. + /// Get properties of a multi-role pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -6326,7 +6318,7 @@ public partial class Functions } } - /// Description for Get properties of a multi-role pool. + /// Get properties of a multi-role pool. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6456,7 +6448,7 @@ public partial class Functions } /// - /// Description for Get the network endpoints of all outbound dependencies of an App Service Environment. + /// Get the network endpoints of all outbound dependencies of an App Service Environment. /// /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. @@ -6502,7 +6494,7 @@ public partial class Functions } /// - /// Description for Get the network endpoints of all outbound dependencies of an App Service Environment. + /// Get the network endpoints of all outbound dependencies of an App Service Environment. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -6632,7 +6624,7 @@ public partial class Functions } } - /// Description for Get the properties of an App Service Environment. + /// Get the properties of an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6685,7 +6677,7 @@ public partial class Functions } } - /// Description for Get IP addresses assigned to an App Service Environment. + /// Get IP addresses assigned to an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -6729,7 +6721,7 @@ public partial class Functions } } - /// Description for Get IP addresses assigned to an App Service Environment. + /// Get IP addresses assigned to an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6856,7 +6848,7 @@ public partial class Functions } } - /// Description for Get properties of a worker pool. + /// Get properties of a worker pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the worker pool. @@ -6902,7 +6894,7 @@ public partial class Functions } } - /// Description for Get properties of a worker pool. + /// Get properties of a worker pool. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7106,7 +7098,7 @@ public partial class Functions } } - /// Description for Get all App Service Environments for a subscription. + /// Get all App Service Environments for a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7144,7 +7136,7 @@ public partial class Functions } } - /// Description for Get all App Service plans in an App Service Environment. + /// Get all App Service plans in an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -7188,7 +7180,7 @@ public partial class Functions } } - /// Description for Get all App Service plans in an App Service Environment. + /// Get all App Service plans in an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7317,7 +7309,7 @@ public partial class Functions } } - /// Description for Get all App Service Environments in a resource group. + /// Get all App Service Environments in a resource group. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -7358,7 +7350,7 @@ public partial class Functions } } - /// Description for Get all App Service Environments in a resource group. + /// Get all App Service Environments in a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7482,9 +7474,7 @@ public partial class Functions } } - /// - /// Description for Get the used, available, and total worker capacity an App Service Environment. - /// + /// Get the used, available, and total worker capacity an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -7528,9 +7518,7 @@ public partial class Functions } } - /// - /// Description for Get the used, available, and total worker capacity an App Service Environment. - /// + /// Get the used, available, and total worker capacity an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7659,7 +7647,7 @@ public partial class Functions } } - /// Description for Get diagnostic information for an App Service Environment. + /// Get diagnostic information for an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -7703,7 +7691,7 @@ public partial class Functions } } - /// Description for Get diagnostic information for an App Service Environment. + /// Get diagnostic information for an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7832,9 +7820,7 @@ public partial class Functions } } - /// - /// Description for Get metric definitions for a multi-role pool of an App Service Environment. - /// + /// Get metric definitions for a multi-role pool of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -7878,9 +7864,7 @@ public partial class Functions } } - /// - /// Description for Get metric definitions for a multi-role pool of an App Service Environment. - /// + /// Get metric definitions for a multi-role pool of an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8010,7 +7994,7 @@ public partial class Functions } /// - /// Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. + /// Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. /// /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. @@ -8059,7 +8043,7 @@ public partial class Functions } /// - /// Description for Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. + /// Get metric definitions for a specific instance of a multi-role pool of an App Service Environment. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -8194,7 +8178,7 @@ public partial class Functions } } - /// Description for Get available SKUs for scaling a multi-role pool. + /// Get available SKUs for scaling a multi-role pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -8238,7 +8222,7 @@ public partial class Functions } } - /// Description for Get available SKUs for scaling a multi-role pool. + /// Get available SKUs for scaling a multi-role pool. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8367,7 +8351,7 @@ public partial class Functions } } - /// Description for Get all multi-role pools. + /// Get all multi-role pools. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -8411,7 +8395,7 @@ public partial class Functions } } - /// Description for Get all multi-role pools. + /// Get all multi-role pools. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8540,9 +8524,7 @@ public partial class Functions } } - /// - /// Description for Get usage metrics for a multi-role pool of an App Service Environment. - /// + /// Get usage metrics for a multi-role pool of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -8586,9 +8568,7 @@ public partial class Functions } } - /// - /// Description for Get usage metrics for a multi-role pool of an App Service Environment. - /// + /// Get usage metrics for a multi-role pool of an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8717,9 +8697,7 @@ public partial class Functions } } - /// - /// Description for List all currently running operations on the App Service Environment. - /// + /// List all currently running operations on the App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -8763,9 +8741,7 @@ public partial class Functions } } - /// - /// Description for List all currently running operations on the App Service Environment. - /// + /// List all currently running operations on the App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8894,7 +8870,7 @@ public partial class Functions } } - /// Description for Get global usage metrics of an App Service Environment. + /// Get global usage metrics of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value @@ -8943,7 +8919,7 @@ public partial class Functions } } - /// Description for Get global usage metrics of an App Service Environment. + /// Get global usage metrics of an App Service Environment. /// /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value /// eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and @@ -9079,7 +9055,7 @@ public partial class Functions } } - /// Description for Get all App Service Environments for a subscription. + /// Get all App Service Environments for a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -9127,7 +9103,7 @@ public partial class Functions } } - /// Description for Get all apps in an App Service Environment. + /// Get all apps in an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Comma separated list of app properties to include. @@ -9174,7 +9150,7 @@ public partial class Functions } } - /// Description for Get all apps in an App Service Environment. + /// Get all apps in an App Service Environment. /// /// Comma separated list of app properties to include. /// a delegate that is called when the remote service returns 200 (OK). @@ -9306,9 +9282,7 @@ public partial class Functions } } - /// - /// Description for Get metric definitions for a worker pool of an App Service Environment. - /// + /// Get metric definitions for a worker pool of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the worker pool. @@ -9355,9 +9329,7 @@ public partial class Functions } } - /// - /// Description for Get metric definitions for a worker pool of an App Service Environment. - /// + /// Get metric definitions for a worker pool of an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -9491,9 +9463,7 @@ public partial class Functions } } - /// - /// Description for Get usage metrics for a worker pool of an App Service Environment. - /// + /// Get usage metrics for a worker pool of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the worker pool. @@ -9540,9 +9510,7 @@ public partial class Functions } } - /// - /// Description for Get usage metrics for a worker pool of an App Service Environment. - /// + /// Get usage metrics for a worker pool of an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -9677,7 +9645,7 @@ public partial class Functions } /// - /// Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment. + /// Get metric definitions for a specific instance of a worker pool of an App Service Environment. /// /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. @@ -9729,7 +9697,7 @@ public partial class Functions } /// - /// Description for Get metric definitions for a specific instance of a worker pool of an App Service Environment. + /// Get metric definitions for a specific instance of a worker pool of an App Service Environment. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -9869,7 +9837,7 @@ public partial class Functions } } - /// Description for Get available SKUs for scaling a worker pool. + /// Get available SKUs for scaling a worker pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the worker pool. @@ -9916,7 +9884,7 @@ public partial class Functions } } - /// Description for Get available SKUs for scaling a worker pool. + /// Get available SKUs for scaling a worker pool. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -10050,7 +10018,7 @@ public partial class Functions } } - /// Description for Get all worker pools of an App Service Environment. + /// Get all worker pools of an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -10094,7 +10062,7 @@ public partial class Functions } } - /// Description for Get all worker pools of an App Service Environment. + /// Get all worker pools of an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -10289,7 +10257,7 @@ public partial class Functions } } - /// Description for Reboot all machines in an App Service Environment. + /// Reboot all machines in an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -10333,7 +10301,7 @@ public partial class Functions } } - /// Description for Reboot all machines in an App Service Environment. + /// Reboot all machines in an App Service Environment. /// /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled @@ -10460,7 +10428,7 @@ public partial class Functions } } - /// Description for Resume an App Service Environment. + /// Resume an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -10504,7 +10472,7 @@ public partial class Functions } } - /// Description for Resume an App Service Environment. + /// Resume an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -10730,7 +10698,7 @@ public partial class Functions } } - /// Description for Suspend an App Service Environment. + /// Suspend an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -10774,7 +10742,7 @@ public partial class Functions } } - /// Description for Suspend an App Service Environment. + /// Suspend an App Service Environment. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -11000,7 +10968,7 @@ public partial class Functions } } - /// Description for Create or update an App Service Environment. + /// Create or update an App Service Environment. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -11050,7 +11018,7 @@ public partial class Functions } } - /// Description for Create or update a multi-role pool. + /// Create or update a multi-role pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -11100,7 +11068,7 @@ public partial class Functions } } - /// Description for Create or update a multi-role pool. + /// Create or update a multi-role pool. /// /// Properties of the multi-role pool. /// a delegate that is called when the remote service returns 200 (OK). @@ -11245,7 +11213,7 @@ public partial class Functions } } - /// Description for Create or update an App Service Environment. + /// Create or update an App Service Environment. /// /// Configuration details of the App Service Environment. /// a delegate that is called when the remote service returns 200 (OK). @@ -11305,7 +11273,7 @@ public partial class Functions } } - /// Description for Create or update a worker pool. + /// Create or update a worker pool. /// Name of the resource group to which the resource belongs. /// Name of the App Service Environment. /// Name of the worker pool. @@ -11357,7 +11325,7 @@ public partial class Functions } } - /// Description for Create or update a worker pool. + /// Create or update a worker pool. /// /// Properties of the worker pool. /// a delegate that is called when the remote service returns 200 (OK). @@ -11596,7 +11564,7 @@ public partial class Functions } } - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -11644,7 +11612,7 @@ public partial class Functions } } - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// Details of the App Service plan. /// a delegate that is called when the remote service returns 200 (OK). @@ -11702,9 +11670,7 @@ public partial class Functions } } - /// - /// Description for Create or update a Virtual Network route in an App Service plan. - /// + /// Create or update a Virtual Network route in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -11760,9 +11726,7 @@ public partial class Functions } } - /// - /// Description for Create or update a Virtual Network route in an App Service plan. - /// + /// Create or update a Virtual Network route in an App Service plan. /// /// Definition of the Virtual Network route. /// a delegate that is called when the remote service returns 200 (OK). @@ -12098,7 +12062,7 @@ public partial class Functions } } - /// Description for Delete an App Service plan. + /// Delete an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -12142,7 +12106,7 @@ public partial class Functions } } - /// Description for Delete a Hybrid Connection in use in an App Service plan. + /// Delete a Hybrid Connection in use in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Service Bus namespace. @@ -12192,7 +12156,7 @@ public partial class Functions } } - /// Description for Delete a Hybrid Connection in use in an App Service plan. + /// Delete a Hybrid Connection in use in an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -12338,7 +12302,7 @@ public partial class Functions } } - /// Description for Delete an App Service plan. + /// Delete an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -12392,7 +12356,7 @@ public partial class Functions } } - /// Description for Delete a Virtual Network route in an App Service plan. + /// Delete a Virtual Network route in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -12442,7 +12406,7 @@ public partial class Functions } } - /// Description for Delete a Virtual Network route in an App Service plan. + /// Delete a Virtual Network route in an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -12666,7 +12630,7 @@ public partial class Functions } } - /// Description for Get an App Service plan. + /// Get an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -12710,7 +12674,7 @@ public partial class Functions } } - /// Description for Retrieve a Hybrid Connection in use in an App Service plan. + /// Retrieve a Hybrid Connection in use in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Service Bus namespace. @@ -12759,9 +12723,7 @@ public partial class Functions } } - /// - /// Description for Get the maximum number of Hybrid Connections allowed in an App Service plan. - /// + /// Get the maximum number of Hybrid Connections allowed in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -12805,9 +12767,7 @@ public partial class Functions } } - /// - /// Description for Get the maximum number of Hybrid Connections allowed in an App Service plan. - /// + /// Get the maximum number of Hybrid Connections allowed in an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -12936,7 +12896,7 @@ public partial class Functions } } - /// Description for Retrieve a Hybrid Connection in use in an App Service plan. + /// Retrieve a Hybrid Connection in use in an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -13072,7 +13032,7 @@ public partial class Functions } } - /// Description for Get a Virtual Network route in an App Service plan. + /// Get a Virtual Network route in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -13122,7 +13082,7 @@ public partial class Functions } } - /// Description for Get a Virtual Network route in an App Service plan. + /// Get a Virtual Network route in an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -13266,7 +13226,7 @@ public partial class Functions } } - /// Description for Gets all selectable SKUs for a given App Service Plan + /// Gets all selectable SKUs for a given App Service Plan /// Name of the resource group to which the resource belongs. /// Name of App Service Plan /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -13310,7 +13270,7 @@ public partial class Functions } } - /// Description for Gets all selectable SKUs for a given App Service Plan + /// Gets all selectable SKUs for a given App Service Plan /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -13437,7 +13397,7 @@ public partial class Functions } } - /// Description for Get an App Service plan. + /// Get an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -13491,7 +13451,7 @@ public partial class Functions } } - /// Description for Get a Virtual Network associated with an App Service plan. + /// Get a Virtual Network associated with an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -13538,7 +13498,7 @@ public partial class Functions } } - /// Description for Get a Virtual Network associated with an App Service plan. + /// Get a Virtual Network associated with an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -13679,7 +13639,7 @@ public partial class Functions } } - /// Description for Get a Virtual Network gateway. + /// Get a Virtual Network gateway. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -13728,7 +13688,7 @@ public partial class Functions } } - /// Description for Get a Virtual Network gateway. + /// Get a Virtual Network gateway. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -13944,7 +13904,7 @@ public partial class Functions } } - /// Description for Get all App Service plans for a subscription. + /// Get all App Service plans for a subscription. /// Specify true to return all App Service plan properties. The default is false, /// which returns a subset of the properties. /// Retrieval of all properties may increase the API latency. @@ -13987,7 +13947,7 @@ public partial class Functions } } - /// Description for Get all App Service plans in a resource group. + /// Get all App Service plans in a resource group. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -14028,7 +13988,7 @@ public partial class Functions } } - /// Description for Get all App Service plans in a resource group. + /// Get all App Service plans in a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -14150,7 +14110,7 @@ public partial class Functions } } - /// Description for List all capabilities of an App Service plan. + /// List all capabilities of an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -14194,7 +14154,7 @@ public partial class Functions } } - /// Description for List all capabilities of an App Service plan. + /// List all capabilities of an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -14321,7 +14281,7 @@ public partial class Functions } } - /// Description for Get the send key name and value of a Hybrid Connection. + /// Get the send key name and value of a Hybrid Connection. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// The name of the Service Bus namespace. @@ -14371,7 +14331,7 @@ public partial class Functions } } - /// Description for Get the send key name and value of a Hybrid Connection. + /// Get the send key name and value of a Hybrid Connection. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -14510,7 +14470,7 @@ public partial class Functions } } - /// Description for Retrieve all Hybrid Connections in use in an App Service plan. + /// Retrieve all Hybrid Connections in use in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -14554,7 +14514,7 @@ public partial class Functions } } - /// Description for Retrieve all Hybrid Connections in use in an App Service plan. + /// Retrieve all Hybrid Connections in use in an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -14684,7 +14644,7 @@ public partial class Functions } /// - /// Description for Get all routes that are associated with a Virtual Network in an App Service plan. + /// Get all routes that are associated with a Virtual Network in an App Service plan. /// /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. @@ -14733,7 +14693,7 @@ public partial class Functions } /// - /// Description for Get all routes that are associated with a Virtual Network in an App Service plan. + /// Get all routes that are associated with a Virtual Network in an App Service plan. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -14866,7 +14826,7 @@ public partial class Functions } } - /// Description for Gets server farm usage information + /// Gets server farm usage information /// Name of the resource group to which the resource belongs. /// Name of App Service Plan /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value @@ -14914,7 +14874,7 @@ public partial class Functions } } - /// Description for Gets server farm usage information + /// Gets server farm usage information /// /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(name.value /// eq 'Metric1' or name.value eq 'Metric2'). @@ -15048,7 +15008,7 @@ public partial class Functions } } - /// Description for Get all App Service plans for a subscription. + /// Get all App Service plans for a subscription. /// /// Specify true to return all App Service plan properties. The default is false, /// which returns a subset of the properties. @@ -15101,7 +15061,7 @@ public partial class Functions } } - /// Description for Get all Virtual Networks associated with an App Service plan. + /// Get all Virtual Networks associated with an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -15145,7 +15105,7 @@ public partial class Functions } } - /// Description for Get all Virtual Networks associated with an App Service plan. + /// Get all Virtual Networks associated with an App Service plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -15272,7 +15232,7 @@ public partial class Functions } } - /// Description for Get all apps associated with an App Service plan. + /// Get all apps associated with an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Skip to a web app in the list of webapps associated with app service plan. If specified, the resulting @@ -15327,9 +15287,7 @@ public partial class Functions } } - /// - /// Description for Get all apps that use a Hybrid Connection in an App Service Plan. - /// + /// Get all apps that use a Hybrid Connection in an App Service Plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Hybrid Connection namespace. @@ -15379,9 +15337,7 @@ public partial class Functions } } - /// - /// Description for Get all apps that use a Hybrid Connection in an App Service Plan. - /// + /// Get all apps that use a Hybrid Connection in an App Service Plan. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -15520,7 +15476,7 @@ public partial class Functions } } - /// Description for Get all apps associated with an App Service plan. + /// Get all apps associated with an App Service plan. /// /// Skip to a web app in the list of webapps associated with app service plan. If specified, the resulting /// list will contain web apps starting from (including) the skipToken. Otherwise, the resulting list contains web apps from @@ -15735,7 +15691,7 @@ public partial class Functions } } - /// Description for Reboot a worker machine in an App Service plan. + /// Reboot a worker machine in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of worker machine, which typically starts with RD. @@ -15782,7 +15738,7 @@ public partial class Functions } } - /// Description for Reboot a worker machine in an App Service plan. + /// Reboot a worker machine in an App Service plan. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -15914,7 +15870,7 @@ public partial class Functions } } - /// Description for Restart all apps in an App Service plan. + /// Restart all apps in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Specify true to perform a soft restart, applies the configuration settings and @@ -15962,7 +15918,7 @@ public partial class Functions } } - /// Description for Restart all apps in an App Service plan. + /// Restart all apps in an App Service plan. /// /// Specify true to perform a soft restart, applies the configuration settings and /// restarts the apps if necessary. The default is false, which always restarts and reprovisions the apps @@ -16095,7 +16051,7 @@ public partial class Functions } } - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -16144,7 +16100,7 @@ public partial class Functions } } - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// Details of the App Service plan. /// a delegate that is called when the remote service returns 200 (OK). @@ -16203,7 +16159,7 @@ public partial class Functions } } - /// Description for Update a Virtual Network gateway. + /// Update a Virtual Network gateway. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -16257,7 +16213,7 @@ public partial class Functions } } - /// Description for Update a Virtual Network gateway. + /// Update a Virtual Network gateway. /// /// Definition of the gateway. /// a delegate that is called when the remote service returns 200 (OK). @@ -16401,9 +16357,7 @@ public partial class Functions } } - /// - /// Description for Create or update a Virtual Network route in an App Service plan. - /// + /// Create or update a Virtual Network route in an App Service plan. /// Name of the resource group to which the resource belongs. /// Name of the App Service plan. /// Name of the Virtual Network. @@ -16459,9 +16413,7 @@ public partial class Functions } } - /// - /// Description for Create or update a Virtual Network route in an App Service plan. - /// + /// Create or update a Virtual Network route in an App Service plan. /// /// Definition of the Virtual Network route. /// a delegate that is called when the remote service returns 200 (OK). @@ -19869,7 +19821,7 @@ public partial class Functions } /// - /// Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider + /// Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -19906,7 +19858,7 @@ public partial class Functions } /// - /// Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider + /// Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -20019,7 +19971,7 @@ public partial class Functions } } - /// Description for Create or update a certificate. + /// Create or update a certificate. /// Name of the resource group to which the resource belongs. /// Name of the certificate. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -20067,7 +20019,7 @@ public partial class Functions } } - /// Description for Create or update a certificate. + /// Create or update a certificate. /// /// Details of certificate, if it exists already. /// a delegate that is called when the remote service returns 200 (OK). @@ -20201,7 +20153,7 @@ public partial class Functions } } - /// Description for Delete a certificate. + /// Delete a certificate. /// Name of the resource group to which the resource belongs. /// Name of the certificate. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -20245,7 +20197,7 @@ public partial class Functions } } - /// Description for Delete a certificate. + /// Delete a certificate. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -20379,7 +20331,7 @@ public partial class Functions } } - /// Description for Get a certificate. + /// Get a certificate. /// Name of the resource group to which the resource belongs. /// Name of the certificate. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -20422,7 +20374,7 @@ public partial class Functions } } - /// Description for Get a certificate. + /// Get a certificate. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -20548,7 +20500,7 @@ public partial class Functions } } - /// Description for Get all certificates for a subscription. + /// Get all certificates for a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -20586,7 +20538,7 @@ public partial class Functions } } - /// Description for Get all certificates in a resource group. + /// Get all certificates in a resource group. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -20627,7 +20579,7 @@ public partial class Functions } } - /// Description for Get all certificates in a resource group. + /// Get all certificates in a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -20749,7 +20701,7 @@ public partial class Functions } } - /// Description for Get all certificates for a subscription. + /// Get all certificates for a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -20863,7 +20815,7 @@ public partial class Functions } } - /// Description for Create or update a certificate. + /// Create or update a certificate. /// Name of the resource group to which the resource belongs. /// Name of the certificate. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -20911,7 +20863,7 @@ public partial class Functions } } - /// Description for Create or update a certificate. + /// Create or update a certificate. /// /// Details of certificate, if it exists already. /// a delegate that is called when the remote service returns 200 (OK). @@ -21045,7 +20997,7 @@ public partial class Functions } } - /// Description for Check if a resource name is available. + /// Check if a resource name is available. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Name availability request. /// a delegate that is called when the remote service returns 200 (OK). @@ -21088,7 +21040,7 @@ public partial class Functions } } - /// Description for Check if a resource name is available. + /// Check if a resource name is available. /// /// Name availability request. /// a delegate that is called when the remote service returns 200 (OK). @@ -22555,7 +22507,7 @@ public partial class Functions } } - /// Description for Get deleted app for a subscription at location. + /// Get deleted app for a subscription at location. /// /// The numeric ID of the deleted app, e.g. 12345 /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -22598,7 +22550,7 @@ public partial class Functions } } - /// Description for Get deleted app for a subscription at location. + /// Get deleted app for a subscription at location. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -22723,7 +22675,7 @@ public partial class Functions } } - /// Description for Get all deleted apps for a subscription. + /// Get all deleted apps for a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -22761,7 +22713,7 @@ public partial class Functions } } - /// Description for Get all deleted apps for a subscription at location + /// Get all deleted apps for a subscription at location /// /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -22802,7 +22754,7 @@ public partial class Functions } } - /// Description for Get all deleted apps for a subscription at location + /// Get all deleted apps for a subscription at location /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -22921,7 +22873,7 @@ public partial class Functions } } - /// Description for Get all deleted apps for a subscription. + /// Get all deleted apps for a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -23035,7 +22987,7 @@ public partial class Functions } } - /// Description for Execute Analysis + /// Execute Analysis /// Name of the resource group to which the resource belongs. /// Site Name /// Category Name @@ -23094,7 +23046,7 @@ public partial class Functions } } - /// Description for Execute Analysis + /// Execute Analysis /// Name of the resource group to which the resource belongs. /// Site Name /// Category Name @@ -23156,7 +23108,7 @@ public partial class Functions } } - /// Description for Execute Analysis + /// Execute Analysis /// /// Start Time /// End Time @@ -23312,7 +23264,7 @@ public partial class Functions } } - /// Description for Execute Analysis + /// Execute Analysis /// /// Start Time /// End Time @@ -23463,7 +23415,7 @@ public partial class Functions } } - /// Description for Execute Detector + /// Execute Detector /// Name of the resource group to which the resource belongs. /// Site Name /// Detector Resource Name @@ -23522,7 +23474,7 @@ public partial class Functions } } - /// Description for Execute Detector + /// Execute Detector /// Name of the resource group to which the resource belongs. /// Site Name /// Detector Resource Name @@ -23584,7 +23536,7 @@ public partial class Functions } } - /// Description for Execute Detector + /// Execute Detector /// /// Start Time /// End Time @@ -23740,7 +23692,7 @@ public partial class Functions } } - /// Description for Execute Detector + /// Execute Detector /// /// Start Time /// End Time @@ -23891,7 +23843,7 @@ public partial class Functions } } - /// Description for Get Hosting Environment Detector Response + /// Get Hosting Environment Detector Response /// Name of the resource group to which the resource belongs. /// App Service Environment Name /// Detector Resource Name @@ -23946,7 +23898,7 @@ public partial class Functions } } - /// Description for Get Hosting Environment Detector Response + /// Get Hosting Environment Detector Response /// /// Start Time /// End Time @@ -24093,7 +24045,7 @@ public partial class Functions } } - /// Description for Get Site Analysis + /// Get Site Analysis /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -24142,7 +24094,7 @@ public partial class Functions } } - /// Description for Get Site Analysis + /// Get Site Analysis /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -24194,7 +24146,7 @@ public partial class Functions } } - /// Description for Get Site Analysis + /// Get Site Analysis /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -24335,7 +24287,7 @@ public partial class Functions } } - /// Description for Get Site Analysis + /// Get Site Analysis /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -24471,7 +24423,7 @@ public partial class Functions } } - /// Description for Get Detector + /// Get Detector /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -24520,7 +24472,7 @@ public partial class Functions } } - /// Description for Get site detector response + /// Get site detector response /// Name of the resource group to which the resource belongs. /// Site Name /// Detector Resource Name @@ -24575,7 +24527,7 @@ public partial class Functions } } - /// Description for Get site detector response + /// Get site detector response /// Name of the resource group to which the resource belongs. /// Site Name /// Detector Resource Name @@ -24633,7 +24585,7 @@ public partial class Functions } } - /// Description for Get site detector response + /// Get site detector response /// /// Start Time /// End Time @@ -24785,7 +24737,7 @@ public partial class Functions } } - /// Description for Get site detector response + /// Get site detector response /// /// Start Time /// End Time @@ -24930,7 +24882,7 @@ public partial class Functions } } - /// Description for Get Detector + /// Get Detector /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -24982,7 +24934,7 @@ public partial class Functions } } - /// Description for Get Detector + /// Get Detector /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -25123,7 +25075,7 @@ public partial class Functions } } - /// Description for Get Detector + /// Get Detector /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -25259,7 +25211,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Category + /// Get Diagnostics Category /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -25305,7 +25257,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Category + /// Get Diagnostics Category /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -25354,7 +25306,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Category + /// Get Diagnostics Category /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -25492,7 +25444,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Category + /// Get Diagnostics Category /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -25625,7 +25577,7 @@ public partial class Functions } } - /// Description for List Hosting Environment Detector Responses + /// List Hosting Environment Detector Responses /// Name of the resource group to which the resource belongs. /// Site Name /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -25669,7 +25621,7 @@ public partial class Functions } } - /// Description for List Hosting Environment Detector Responses + /// List Hosting Environment Detector Responses /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -25798,7 +25750,7 @@ public partial class Functions } } - /// Description for Get Site Analyses + /// Get Site Analyses /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -25845,7 +25797,7 @@ public partial class Functions } } - /// Description for Get Site Analyses + /// Get Site Analyses /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -25895,7 +25847,7 @@ public partial class Functions } } - /// Description for Get Site Analyses + /// Get Site Analyses /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -26032,7 +25984,7 @@ public partial class Functions } } - /// Description for Get Site Analyses + /// Get Site Analyses /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -26164,7 +26116,7 @@ public partial class Functions } } - /// Description for List Site Detector Responses + /// List Site Detector Responses /// Name of the resource group to which the resource belongs. /// Site Name /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -26208,7 +26160,7 @@ public partial class Functions } } - /// Description for List Site Detector Responses + /// List Site Detector Responses /// Name of the resource group to which the resource belongs. /// Site Name /// Slot Name @@ -26255,7 +26207,7 @@ public partial class Functions } } - /// Description for List Site Detector Responses + /// List Site Detector Responses /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -26389,7 +26341,7 @@ public partial class Functions } } - /// Description for List Site Detector Responses + /// List Site Detector Responses /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -26518,7 +26470,7 @@ public partial class Functions } } - /// Description for Get Detectors + /// Get Detectors /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -26565,7 +26517,7 @@ public partial class Functions } } - /// Description for Get Detectors + /// Get Detectors /// Name of the resource group to which the resource belongs. /// Site Name /// Diagnostic Category @@ -26615,7 +26567,7 @@ public partial class Functions } } - /// Description for Get Detectors + /// Get Detectors /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -26752,7 +26704,7 @@ public partial class Functions } } - /// Description for Get Detectors + /// Get Detectors /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -26884,7 +26836,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Categories + /// Get Diagnostics Categories /// Name of the resource group to which the resource belongs. /// Site Name /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -26928,7 +26880,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Categories + /// Get Diagnostics Categories /// Name of the resource group to which the resource belongs. /// Site Name /// Slot Name @@ -26975,7 +26927,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Categories + /// Get Diagnostics Categories /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -27109,7 +27061,7 @@ public partial class Functions } } - /// Description for Get Diagnostics Categories + /// Get Diagnostics Categories /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -27239,7 +27191,7 @@ public partial class Functions } /// - /// Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider + /// Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -27276,7 +27228,7 @@ public partial class Functions } /// - /// Description for Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider + /// Implements Csm operations Api to exposes the list of available Csm Apis under the resource provider /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -27389,7 +27341,7 @@ public partial class Functions } } - /// Description for Check if a domain is available for registration. + /// Check if a domain is available for registration. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Name of the domain. /// a delegate that is called when the remote service returns 200 (OK). @@ -27432,7 +27384,7 @@ public partial class Functions } } - /// Description for Check if a domain is available for registration. + /// Check if a domain is available for registration. /// /// Name of the domain. /// a delegate that is called when the remote service returns 200 (OK). @@ -27554,7 +27506,7 @@ public partial class Functions } } - /// Description for Creates or updates a domain. + /// Creates or updates a domain. /// Name of the resource group to which the resource belongs. /// Name of the domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -27603,7 +27555,7 @@ public partial class Functions } /// - /// Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifer + /// Creates an ownership identifier for a domain or updates identifier details for an existing identifier /// /// Name of the resource group to which the resource belongs. /// Name of domain. @@ -27656,7 +27608,7 @@ public partial class Functions } /// - /// Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifer + /// Creates an ownership identifier for a domain or updates identifier details for an existing identifier /// /// /// A JSON representation of the domain ownership properties. @@ -27798,7 +27750,7 @@ public partial class Functions } } - /// Description for Creates or updates a domain. + /// Creates or updates a domain. /// /// Domain registration information. /// a delegate that is called when the remote service returns 200 (OK). @@ -28031,7 +27983,7 @@ public partial class Functions } } - /// Description for Delete a domain. + /// Delete a domain. /// Name of the resource group to which the resource belongs. /// Name of the domain. /// Specify true to delete the domain immediately. The default is false @@ -28079,7 +28031,7 @@ public partial class Functions } } - /// Description for Delete ownership identifier for domain + /// Delete ownership identifier for domain /// Name of the resource group to which the resource belongs. /// Name of domain. /// Name of identifier. @@ -28126,7 +28078,7 @@ public partial class Functions } } - /// Description for Delete ownership identifier for domain + /// Delete ownership identifier for domain /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -28265,7 +28217,7 @@ public partial class Functions } } - /// Description for Delete a domain. + /// Delete a domain. /// /// Specify true to delete the domain immediately. The default is false /// which deletes the domain after 24 hours. @@ -28405,7 +28357,7 @@ public partial class Functions } } - /// Description for Get a domain. + /// Get a domain. /// Name of the resource group to which the resource belongs. /// Name of the domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -28448,9 +28400,7 @@ public partial class Functions } } - /// - /// Description for Generate a single sign-on request for the domain management portal. - /// + /// Generate a single sign-on request for the domain management portal. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -28488,9 +28438,7 @@ public partial class Functions } } - /// - /// Description for Generate a single sign-on request for the domain management portal. - /// + /// Generate a single sign-on request for the domain management portal. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -28604,7 +28552,7 @@ public partial class Functions } } - /// Description for Get ownership identifier for domain + /// Get ownership identifier for domain /// Name of the resource group to which the resource belongs. /// Name of domain. /// Name of identifier. @@ -28650,7 +28598,7 @@ public partial class Functions } } - /// Description for Get ownership identifier for domain + /// Get ownership identifier for domain /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -28781,7 +28729,7 @@ public partial class Functions } } - /// Description for Get a domain. + /// Get a domain. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -28907,7 +28855,7 @@ public partial class Functions } } - /// Description for Get all domains in a subscription. + /// Get all domains in a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -28945,7 +28893,7 @@ public partial class Functions } } - /// Description for Get all domains in a resource group. + /// Get all domains in a resource group. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -28986,7 +28934,7 @@ public partial class Functions } } - /// Description for Get all domains in a resource group. + /// Get all domains in a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -29108,7 +29056,7 @@ public partial class Functions } } - /// Description for Lists domain ownership identifiers. + /// Lists domain ownership identifiers. /// Name of the resource group to which the resource belongs. /// Name of domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -29152,7 +29100,7 @@ public partial class Functions } } - /// Description for Lists domain ownership identifiers. + /// Lists domain ownership identifiers. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -29279,7 +29227,7 @@ public partial class Functions } } - /// Description for Get domain name recommendations based on keywords. + /// Get domain name recommendations based on keywords. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Search parameters for domain name recommendations. /// a delegate that is called when the remote service returns 200 (OK). @@ -29322,7 +29270,7 @@ public partial class Functions } } - /// Description for Get domain name recommendations based on keywords. + /// Get domain name recommendations based on keywords. /// /// Search parameters for domain name recommendations. /// a delegate that is called when the remote service returns 200 (OK). @@ -29444,7 +29392,7 @@ public partial class Functions } } - /// Description for Get all domains in a subscription. + /// Get all domains in a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -29558,7 +29506,7 @@ public partial class Functions } } - /// Description for Renew a domain. + /// Renew a domain. /// Name of the resource group to which the resource belongs. /// Name of the domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -29604,7 +29552,7 @@ public partial class Functions } } - /// Description for Renew a domain. + /// Renew a domain. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -29747,7 +29695,7 @@ public partial class Functions } } - /// Description for Creates or updates a domain. + /// Creates or updates a domain. /// Name of the resource group to which the resource belongs. /// Name of the domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -29797,7 +29745,7 @@ public partial class Functions } /// - /// Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifer + /// Creates an ownership identifier for a domain or updates identifier details for an existing identifier /// /// Name of the resource group to which the resource belongs. /// Name of domain. @@ -29850,7 +29798,7 @@ public partial class Functions } /// - /// Description for Creates an ownership identifier for a domain or updates identifier details for an existing identifer + /// Creates an ownership identifier for a domain or updates identifier details for an existing identifier /// /// /// A JSON representation of the domain ownership properties. @@ -29990,7 +29938,7 @@ public partial class Functions } } - /// Description for Creates or updates a domain. + /// Creates or updates a domain. /// /// Domain registration information. /// a delegate that is called when the remote service returns 200 (OK). @@ -30133,7 +30081,7 @@ public partial class Functions } } - /// Description for Gets publishing user + /// Gets publishing user /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -30168,7 +30116,7 @@ public partial class Functions } } - /// Description for Gets publishing user + /// Gets publishing user /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -30278,7 +30226,7 @@ public partial class Functions } } - /// Description for Gets source control token + /// Gets source control token /// Type of source control /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -30315,7 +30263,7 @@ public partial class Functions } } - /// Description for Gets source control token + /// Gets source control token /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -30428,7 +30376,7 @@ public partial class Functions } } - /// Description for Gets list of available geo regions plus ministamps + /// Gets list of available geo regions plus ministamps /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -30466,7 +30414,7 @@ public partial class Functions } } - /// Description for Gets list of available geo regions plus ministamps + /// Gets list of available geo regions plus ministamps /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -30580,7 +30528,7 @@ public partial class Functions } } - /// Description for Gets a list of meters for a given location. + /// Gets a list of meters for a given location. /// Azure Location of billable resource /// App Service OS type meters used for /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -30624,7 +30572,7 @@ public partial class Functions } } - /// Description for Gets a list of meters for a given location. + /// Gets a list of meters for a given location. /// /// Azure Location of billable resource /// App Service OS type meters used for @@ -30748,7 +30696,7 @@ public partial class Functions } } - /// Description for Get a list of available geographical regions. + /// Get a list of available geographical regions. /// Name of SKU used to filter the regions. /// Specify true if you want to filter to only regions that support Linux workers. /// Specify true if you want to filter to only regions that support Xenon workers. @@ -30799,7 +30747,7 @@ public partial class Functions } } - /// Description for Get a list of available geographical regions. + /// Get a list of available geographical regions. /// /// Name of SKU used to filter the regions. /// Specify true if you want to filter to only regions that support Linux workers. @@ -30933,7 +30881,7 @@ public partial class Functions } } - /// Description for List all premier add-on offers. + /// List all premier add-on offers. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -30971,7 +30919,7 @@ public partial class Functions } } - /// Description for List all premier add-on offers. + /// List all premier add-on offers. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -31085,7 +31033,7 @@ public partial class Functions } } - /// Description for List all apps that are assigned to a hostname. + /// List all apps that are assigned to a hostname. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Hostname information. /// a delegate that is called when the remote service returns 200 (OK). @@ -31128,7 +31076,7 @@ public partial class Functions } } - /// Description for List all apps that are assigned to a hostname. + /// List all apps that are assigned to a hostname. /// /// Hostname information. /// a delegate that is called when the remote service returns 200 (OK). @@ -31252,7 +31200,7 @@ public partial class Functions } } - /// Description for List all SKUs. + /// List all SKUs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -31290,7 +31238,7 @@ public partial class Functions } } - /// Description for List all SKUs. + /// List all SKUs. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -31404,7 +31352,7 @@ public partial class Functions } } - /// Description for Gets the source controls available for Azure websites. + /// Gets the source controls available for Azure websites. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -31439,7 +31387,7 @@ public partial class Functions } } - /// Description for Gets the source controls available for Azure websites. + /// Gets the source controls available for Azure websites. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -32084,7 +32032,7 @@ public partial class Functions } } - /// Description for Move resources between resource groups. + /// Move resources between resource groups. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Object that represents the resource to move. @@ -32130,7 +32078,7 @@ public partial class Functions } } - /// Description for Move resources between resource groups. + /// Move resources between resource groups. /// /// Object that represents the resource to move. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -32541,7 +32489,7 @@ public partial class Functions } } - /// Description for Get available application frameworks and their versions + /// Get available application frameworks and their versions /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -32579,7 +32527,7 @@ public partial class Functions } } - /// Description for Get available application frameworks and their versions + /// Get available application frameworks and their versions /// /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -32620,7 +32568,7 @@ public partial class Functions } } - /// Description for Get available application frameworks and their versions + /// Get available application frameworks and their versions /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -32739,7 +32687,7 @@ public partial class Functions } } - /// Description for Get available application frameworks and their versions + /// Get available application frameworks and their versions /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -32854,7 +32802,7 @@ public partial class Functions } /// - /// Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions + /// Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -32891,7 +32839,7 @@ public partial class Functions } /// - /// Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions + /// Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -33002,7 +32950,7 @@ public partial class Functions } } - /// Description for Disable all recommendations for an app. + /// Disable all recommendations for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// @@ -33049,7 +32997,7 @@ public partial class Functions } } - /// Description for Disable all recommendations for an app. + /// Disable all recommendations for an app. /// /// Name of the app. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -33183,7 +33131,7 @@ public partial class Functions } } - /// Description for Disable all recommendations for an app. + /// Disable all recommendations for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -33227,7 +33175,7 @@ public partial class Functions } } - /// Description for Disable all recommendations for an app. + /// Disable all recommendations for an app. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -33354,7 +33302,7 @@ public partial class Functions } } - /// Description for Disables the specific rule for a web site permanently. + /// Disables the specific rule for a web site permanently. /// Name of the resource group to which the resource belongs. /// Site name /// Rule name @@ -33404,7 +33352,7 @@ public partial class Functions } } - /// Description for Disables the specific rule for a web site permanently. + /// Disables the specific rule for a web site permanently. /// /// Site name /// a delegate that is called when the remote service returns 200 (OK). @@ -33543,7 +33491,7 @@ public partial class Functions } } - /// Description for Disables the specific rule for a web site permanently. + /// Disables the specific rule for a web site permanently. /// Name of the resource group to which the resource belongs. /// Site name /// Rule name @@ -33590,7 +33538,7 @@ public partial class Functions } } - /// Description for Disables the specific rule for a web site permanently. + /// Disables the specific rule for a web site permanently. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -33725,7 +33673,7 @@ public partial class Functions } /// - /// Description for Disables the specified rule so it will not apply to a subscription in the future. + /// Disables the specified rule so it will not apply to a subscription in the future. /// /// Rule name /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -33768,7 +33716,7 @@ public partial class Functions } /// - /// Description for Disables the specified rule so it will not apply to a subscription in the future. + /// Disables the specified rule so it will not apply to a subscription in the future. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -33890,7 +33838,7 @@ public partial class Functions } } - /// Description for Get a recommendation rule for an app. + /// Get a recommendation rule for an app. /// Name of the resource group to which the resource belongs. /// Name of the hosting environment. /// Name of the recommendation. @@ -33943,7 +33891,7 @@ public partial class Functions } } - /// Description for Get a recommendation rule for an app. + /// Get a recommendation rule for an app. /// /// Specify true to update the last-seen timestamp of the recommendation object. /// The GUID of the recommendation object if you query an expired one. You don't need to specify @@ -34087,7 +34035,7 @@ public partial class Functions } } - /// Description for Get a recommendation rule for an app. + /// Get a recommendation rule for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the recommendation. @@ -34140,7 +34088,7 @@ public partial class Functions } } - /// Description for Get a recommendation rule for an app. + /// Get a recommendation rule for an app. /// /// Specify true to update the last-seen timestamp of the recommendation object. /// The GUID of the recommendation object if you query an expired one. You don't need to specify @@ -34284,7 +34232,7 @@ public partial class Functions } } - /// Description for List all recommendations for a subscription. + /// List all recommendations for a subscription. /// Specify true to return only the most critical recommendations. The default is false, /// which returns all recommendations. /// Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' @@ -34330,9 +34278,7 @@ public partial class Functions } } - /// - /// Description for Get past recommendations for an app, optionally specified by the time range. - /// + /// Get past recommendations for an app, optionally specified by the time range. /// Name of the resource group to which the resource belongs. /// Name of the hosting environment. /// Specify false to return all recommendations. The default is true, @@ -34384,9 +34330,7 @@ public partial class Functions } } - /// - /// Description for Get past recommendations for an app, optionally specified by the time range. - /// + /// Get past recommendations for an app, optionally specified by the time range. /// /// Specify false to return all recommendations. The default is true, /// which returns only expired recommendations. @@ -34528,9 +34472,7 @@ public partial class Functions } } - /// - /// Description for Get past recommendations for an app, optionally specified by the time range. - /// + /// Get past recommendations for an app, optionally specified by the time range. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Specify false to return all recommendations. The default is true, @@ -34582,9 +34524,7 @@ public partial class Functions } } - /// - /// Description for Get past recommendations for an app, optionally specified by the time range. - /// + /// Get past recommendations for an app, optionally specified by the time range. /// /// Specify false to return all recommendations. The default is true, /// which returns only expired recommendations. @@ -34724,7 +34664,7 @@ public partial class Functions } } - /// Description for Get all recommendations for an app. + /// Get all recommendations for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Specify true to return only the most critical recommendations. The default is false, @@ -34776,7 +34716,7 @@ public partial class Functions } } - /// Description for Get all recommendations for an app. + /// Get all recommendations for an app. /// /// Specify true to return only the most critical recommendations. The default is false, /// which returns all recommendations. @@ -34918,7 +34858,7 @@ public partial class Functions } } - /// Description for Get all recommendations for an app. + /// Get all recommendations for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Specify true to return only the most critical recommendations. The default is false, @@ -34970,7 +34910,7 @@ public partial class Functions } } - /// Description for Get all recommendations for an app. + /// Get all recommendations for an app. /// /// Specify true to return only the most critical recommendations. The default is false, /// which returns all recommendations. @@ -35112,7 +35052,7 @@ public partial class Functions } } - /// Description for List all recommendations for a subscription. + /// List all recommendations for a subscription. /// /// Specify true to return only the most critical recommendations. The default is false, /// which returns all recommendations. @@ -35239,7 +35179,7 @@ public partial class Functions } } - /// Description for Reset all recommendation opt-out settings for a subscription. + /// Reset all recommendation opt-out settings for a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -35277,7 +35217,7 @@ public partial class Functions } } - /// Description for Reset all recommendation opt-out settings for an app. + /// Reset all recommendation opt-out settings for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// @@ -35324,7 +35264,7 @@ public partial class Functions } } - /// Description for Reset all recommendation opt-out settings for an app. + /// Reset all recommendation opt-out settings for an app. /// /// Name of the app. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -35458,7 +35398,7 @@ public partial class Functions } } - /// Description for Reset all recommendation opt-out settings for an app. + /// Reset all recommendation opt-out settings for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -35502,7 +35442,7 @@ public partial class Functions } } - /// Description for Reset all recommendation opt-out settings for an app. + /// Reset all recommendation opt-out settings for an app. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -35631,7 +35571,7 @@ public partial class Functions } } - /// Description for Reset all recommendation opt-out settings for a subscription. + /// Reset all recommendation opt-out settings for a subscription. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -35745,9 +35685,7 @@ public partial class Functions } } - /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site - /// + /// Gets the category of ResourceHealthMetadata to use for the given site /// Name of the resource group to which the resource belongs. /// Name of web app /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -35791,9 +35729,7 @@ public partial class Functions } } - /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site - /// + /// Gets the category of ResourceHealthMetadata to use for the given site /// Name of the resource group to which the resource belongs. /// Name of web app /// Name of web app slot. If not specified then will default to production slot. @@ -35840,9 +35776,7 @@ public partial class Functions } } - /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site - /// + /// Gets the category of ResourceHealthMetadata to use for the given site /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -35974,9 +35908,7 @@ public partial class Functions } } - /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site - /// + /// Gets the category of ResourceHealthMetadata to use for the given site /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -36103,9 +36035,7 @@ public partial class Functions } } - /// - /// Description for List all ResourceHealthMetadata for all sites in the subscription. - /// + /// List all ResourceHealthMetadata for all sites in the subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -36144,7 +36074,7 @@ public partial class Functions } /// - /// Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription. + /// List all ResourceHealthMetadata for all sites in the resource group in the subscription. /// /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -36187,7 +36117,7 @@ public partial class Functions } /// - /// Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription. + /// List all ResourceHealthMetadata for all sites in the resource group in the subscription. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -36313,7 +36243,7 @@ public partial class Functions } /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection + /// Gets the category of ResourceHealthMetadata to use for the given site as a collection /// /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -36359,7 +36289,7 @@ public partial class Functions } /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection + /// Gets the category of ResourceHealthMetadata to use for the given site as a collection /// /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -36408,7 +36338,7 @@ public partial class Functions } /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection + /// Gets the category of ResourceHealthMetadata to use for the given site as a collection /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -36544,7 +36474,7 @@ public partial class Functions } /// - /// Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection + /// Gets the category of ResourceHealthMetadata to use for the given site as a collection /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -36672,9 +36602,7 @@ public partial class Functions } } - /// - /// Description for List all ResourceHealthMetadata for all sites in the subscription. - /// + /// List all ResourceHealthMetadata for all sites in the subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -36933,7 +36861,7 @@ public partial class Functions } /// - /// Description for Creates a new static site in an existing resource group, or updates an existing static site. + /// Creates a new static site in an existing resource group, or updates an existing static site. /// /// Name of the resource group to which the resource belongs. /// Name of the static site to create or update. @@ -36983,9 +36911,7 @@ public partial class Functions } } - /// - /// Description for Creates or updates the function app settings of a static site build. - /// + /// Creates or updates the function app settings of a static site build. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The stage site identifier. @@ -37038,9 +36964,7 @@ public partial class Functions } } - /// - /// Description for Creates or updates the function app settings of a static site build. - /// + /// Creates or updates the function app settings of a static site build. /// /// String dictionary resource. /// a delegate that is called when the remote service returns 200 (OK). @@ -37191,7 +37115,7 @@ public partial class Functions } /// - /// Description for Creates a new static site custom domain in an existing resource group and static site. + /// Creates a new static site custom domain in an existing resource group and static site. /// /// Name of the resource group to which the resource belongs. /// Name of the static site. @@ -37240,7 +37164,7 @@ public partial class Functions } /// - /// Description for Creates a new static site custom domain in an existing resource group and static site. + /// Creates a new static site custom domain in an existing resource group and static site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -37382,7 +37306,7 @@ public partial class Functions } } - /// Description for Creates or updates the function app settings of a static site. + /// Creates or updates the function app settings of a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -37432,7 +37356,7 @@ public partial class Functions } } - /// Description for Creates or updates the function app settings of a static site. + /// Creates or updates the function app settings of a static site. /// /// String dictionary resource. /// a delegate that is called when the remote service returns 200 (OK). @@ -37578,7 +37502,7 @@ public partial class Functions } /// - /// Description for Creates a new static site in an existing resource group, or updates an existing static site. + /// Creates a new static site in an existing resource group, or updates an existing static site. /// /// /// A JSON representation of the staticsite properties. See example. @@ -37721,7 +37645,7 @@ public partial class Functions } } - /// Description for Creates an invitation link for a user with the role + /// Creates an invitation link for a user with the role /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -37770,7 +37694,7 @@ public partial class Functions } } - /// Description for Creates an invitation link for a user with the role + /// Creates an invitation link for a user with the role /// /// Static sites user roles invitation resource. /// a delegate that is called when the remote service returns 200 (OK). @@ -37907,7 +37831,7 @@ public partial class Functions } } - /// Description for Deletes a static site. + /// Deletes a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site to delete. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -37951,7 +37875,7 @@ public partial class Functions } } - /// Description for Deletes a static site build. + /// Deletes a static site build. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The stage site identifier. @@ -37998,7 +37922,7 @@ public partial class Functions } } - /// Description for Deletes a static site build. + /// Deletes a static site build. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -38137,7 +38061,7 @@ public partial class Functions } } - /// Description for Deletes a custom domain. + /// Deletes a custom domain. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The custom domain to delete. @@ -38184,7 +38108,7 @@ public partial class Functions } } - /// Description for Deletes a custom domain. + /// Deletes a custom domain. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -38325,7 +38249,7 @@ public partial class Functions } } - /// Description for Deletes the user entry from the static site. + /// Deletes the user entry from the static site. /// Name of the resource group to which the resource belongs. /// Name of the staticsite. /// The auth provider for this user. @@ -38374,7 +38298,7 @@ public partial class Functions } } - /// Description for Deletes the user entry from the static site. + /// Deletes the user entry from the static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -38510,7 +38434,7 @@ public partial class Functions } } - /// Description for Deletes a static site. + /// Deletes a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -38644,7 +38568,7 @@ public partial class Functions } } - /// Description for Detaches a static site. + /// Detaches a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site to detach. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -38689,7 +38613,7 @@ public partial class Functions } } - /// Description for Detaches a static site. + /// Detaches a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -38824,7 +38748,7 @@ public partial class Functions } } - /// Description for Gets the details of a static site. + /// Gets the details of a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -38867,7 +38791,7 @@ public partial class Functions } } - /// Description for Gets the details of a static site build. + /// Gets the details of a static site build. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The stage site identifier. @@ -38913,7 +38837,7 @@ public partial class Functions } } - /// Description for Gets the details of a static site build. + /// Gets the details of a static site build. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -39044,7 +38968,7 @@ public partial class Functions } } - /// Description for Gets all static site builds for a particular static site. + /// Gets all static site builds for a particular static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -39088,7 +39012,7 @@ public partial class Functions } } - /// Description for Gets all static site builds for a particular static site. + /// Gets all static site builds for a particular static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -39215,7 +39139,7 @@ public partial class Functions } } - /// Description for Gets the details of a static site. + /// Gets the details of a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -39341,7 +39265,7 @@ public partial class Functions } } - /// Description for Gets all static sites in the specified resource group. + /// Gets all static sites in the specified resource group. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -39382,7 +39306,7 @@ public partial class Functions } } - /// Description for Gets all static sites in the specified resource group. + /// Gets all static sites in the specified resource group. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -39506,7 +39430,7 @@ public partial class Functions } } - /// Description for Get all Static Sites for a subscription. + /// Get all Static Sites for a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -39544,7 +39468,7 @@ public partial class Functions } } - /// Description for Gets the application settings of a static site. + /// Gets the application settings of a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The stage site identifier. @@ -39592,7 +39516,7 @@ public partial class Functions } } - /// Description for Gets the application settings of a static site. + /// Gets the application settings of a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -39734,7 +39658,7 @@ public partial class Functions } } - /// Description for Gets the functions of a particular static site build. + /// Gets the functions of a particular static site build. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The stage site identifier. @@ -39781,7 +39705,7 @@ public partial class Functions } } - /// Description for Gets the functions of a particular static site build. + /// Gets the functions of a particular static site build. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -39915,9 +39839,7 @@ public partial class Functions } } - /// - /// Description for Gets all static site custom domains for a particular static site. - /// + /// Gets all static site custom domains for a particular static site. /// Name of the resource group to which the resource belongs. /// Name of the static site resource to search in. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -39961,9 +39883,7 @@ public partial class Functions } } - /// - /// Description for Gets all static site custom domains for a particular static site. - /// + /// Gets all static site custom domains for a particular static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -40092,7 +40012,7 @@ public partial class Functions } } - /// Description for Gets the application settings of a static site. + /// Gets the application settings of a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -40137,7 +40057,7 @@ public partial class Functions } } - /// Description for Gets the application settings of a static site. + /// Gets the application settings of a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -40274,7 +40194,7 @@ public partial class Functions } } - /// Description for Gets the functions of a static site. + /// Gets the functions of a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -40318,7 +40238,7 @@ public partial class Functions } } - /// Description for Gets the functions of a static site. + /// Gets the functions of a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -40445,7 +40365,7 @@ public partial class Functions } } - /// Description for Lists the secrets for an existing static site. + /// Lists the secrets for an existing static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -40489,7 +40409,7 @@ public partial class Functions } } - /// Description for Lists the secrets for an existing static site. + /// Lists the secrets for an existing static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -40616,7 +40536,7 @@ public partial class Functions } } - /// Description for Gets the list of users of a static site. + /// Gets the list of users of a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The auth provider for the users. @@ -40663,7 +40583,7 @@ public partial class Functions } } - /// Description for Gets the list of users of a static site. + /// Gets the list of users of a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -40795,7 +40715,7 @@ public partial class Functions } } - /// Description for Get all Static Sites for a subscription. + /// Get all Static Sites for a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -40909,7 +40829,7 @@ public partial class Functions } } - /// Description for Resets the api key for an existing static site. + /// Resets the api key for an existing static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -40958,7 +40878,7 @@ public partial class Functions } } - /// Description for Resets the api key for an existing static site. + /// Resets the api key for an existing static site. /// /// Static Site Reset Properties ARM resource. /// a delegate that is called when the remote service returns 200 (OK). @@ -41094,7 +41014,7 @@ public partial class Functions } /// - /// Description for Creates a new static site in an existing resource group, or updates an existing static site. + /// Creates a new static site in an existing resource group, or updates an existing static site. /// /// Name of the resource group to which the resource belongs. /// Name of the static site to create or update. @@ -41144,7 +41064,7 @@ public partial class Functions } } - /// Description for Updates a user entry with the listed roles + /// Updates a user entry with the listed roles /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The auth provider for this user. @@ -41198,7 +41118,7 @@ public partial class Functions } } - /// Description for Updates a user entry with the listed roles + /// Updates a user entry with the listed roles /// /// A JSON representation of the StaticSiteUser properties. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -41343,7 +41263,7 @@ public partial class Functions } /// - /// Description for Creates a new static site in an existing resource group, or updates an existing static site. + /// Creates a new static site in an existing resource group, or updates an existing static site. /// /// /// A JSON representation of the staticsite properties. See example. @@ -41486,9 +41406,7 @@ public partial class Functions } } - /// - /// Description for Validates a particular custom domain can be added to a static site. - /// + /// Validates a particular custom domain can be added to a static site. /// Name of the resource group to which the resource belongs. /// Name of the static site. /// The custom domain to validate. @@ -41536,9 +41454,7 @@ public partial class Functions } } - /// - /// Description for Validates a particular custom domain can be added to a static site. - /// + /// Validates a particular custom domain can be added to a static site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -44300,7 +44216,7 @@ public partial class Functions } } - /// Description for Get details of a top-level domain. + /// Get details of a top-level domain. /// Name of the top-level domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). @@ -44340,7 +44256,7 @@ public partial class Functions } } - /// Description for Get details of a top-level domain. + /// Get details of a top-level domain. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -44458,7 +44374,7 @@ public partial class Functions } } - /// Description for Get all top-level domains supported for registration. + /// Get all top-level domains supported for registration. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -44496,9 +44412,7 @@ public partial class Functions } } - /// - /// Description for Gets all legal agreements that user needs to accept before purchasing a domain. - /// + /// Gets all legal agreements that user needs to accept before purchasing a domain. /// Name of the top-level domain. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Domain agreement options. @@ -44544,9 +44458,7 @@ public partial class Functions } } - /// - /// Description for Gets all legal agreements that user needs to accept before purchasing a domain. - /// + /// Gets all legal agreements that user needs to accept before purchasing a domain. /// /// Domain agreement options. /// a delegate that is called when the remote service returns 200 (OK). @@ -44673,7 +44585,7 @@ public partial class Functions } } - /// Description for Get all top-level domains supported for registration. + /// Get all top-level domains supported for registration. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -44787,7 +44699,7 @@ public partial class Functions } } - /// Description for Updates publishing user + /// Updates publishing user /// Details of publishing user /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -44827,7 +44739,7 @@ public partial class Functions } } - /// Description for Updates publishing user + /// Updates publishing user /// /// Details of publishing user /// a delegate that is called when the remote service returns 200 (OK). @@ -44944,7 +44856,7 @@ public partial class Functions } } - /// Description for Updates source control token + /// Updates source control token /// Type of source control /// Source control token information /// a delegate that is called when the remote service returns 200 (OK). @@ -44986,7 +44898,7 @@ public partial class Functions } } - /// Description for Updates source control token + /// Updates source control token /// /// Source control token information /// a delegate that is called when the remote service returns 200 (OK). @@ -46297,7 +46209,7 @@ public partial class Functions } } - /// Description for Validate if a resource can be created. + /// Validate if a resource can be created. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Request with the resources to validate. @@ -46343,7 +46255,7 @@ public partial class Functions } } - /// Description for Validate whether a resource can be moved. + /// Validate whether a resource can be moved. /// Name of the resource group to which the resource belongs. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// Object that represents the resource to move. @@ -46389,7 +46301,7 @@ public partial class Functions } } - /// Description for Validate whether a resource can be moved. + /// Validate whether a resource can be moved. /// /// Object that represents the resource to move. /// a delegate that is called when the remote service returns 204 (NoContent). @@ -46519,7 +46431,7 @@ public partial class Functions } } - /// Description for Validate if a resource can be created. + /// Validate if a resource can be created. /// /// Request with the resources to validate. /// a delegate that is called when the remote service returns 200 (OK). @@ -46650,8 +46562,7 @@ public partial class Functions } /// - /// Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security - /// Group rules. + /// Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. /// /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// VNET information @@ -46696,8 +46607,7 @@ public partial class Functions } /// - /// Description for Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security - /// Group rules. + /// Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules. /// /// /// VNET information @@ -46820,7 +46730,7 @@ public partial class Functions } } - /// Description for Updates a named add-on of an app. + /// Updates a named add-on of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Add-on name. @@ -46871,7 +46781,7 @@ public partial class Functions } } - /// Description for Updates a named add-on of an app. + /// Updates a named add-on of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Add-on name. @@ -46926,7 +46836,7 @@ public partial class Functions } } - /// Description for Updates a named add-on of an app. + /// Updates a named add-on of an app. /// /// A JSON representation of the edited premier add-on. /// a delegate that is called when the remote service returns 200 (OK). @@ -47071,7 +46981,7 @@ public partial class Functions } } - /// Description for Updates a named add-on of an app. + /// Updates a named add-on of an app. /// /// A JSON representation of the edited premier add-on. /// a delegate that is called when the remote service returns 200 (OK). @@ -47210,7 +47120,7 @@ public partial class Functions } } - /// Description for Analyze a custom hostname. + /// Analyze a custom hostname. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Custom hostname. @@ -47257,7 +47167,7 @@ public partial class Functions } } - /// Description for Analyze a custom hostname. + /// Analyze a custom hostname. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -47307,7 +47217,7 @@ public partial class Functions } } - /// Description for Analyze a custom hostname. + /// Analyze a custom hostname. /// /// Custom hostname. /// a delegate that is called when the remote service returns 200 (OK). @@ -47444,7 +47354,7 @@ public partial class Functions } } - /// Description for Analyze a custom hostname. + /// Analyze a custom hostname. /// /// Custom hostname. /// a delegate that is called when the remote service returns 200 (OK). @@ -47576,9 +47486,7 @@ public partial class Functions } } - /// - /// Description for Applies the configuration settings from the target slot onto the current slot. - /// + /// Applies the configuration settings from the target slot onto the current slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -47627,9 +47535,7 @@ public partial class Functions } } - /// - /// Description for Applies the configuration settings from the target slot onto the current slot. - /// + /// Applies the configuration settings from the target slot onto the current slot. /// /// JSON object that contains the target slot name. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -47764,9 +47670,7 @@ public partial class Functions } } - /// - /// Description for Applies the configuration settings from the target slot onto the current slot. - /// + /// Applies the configuration settings from the target slot onto the current slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the source slot. If a slot is not specified, the production slot is used as the source slot. @@ -47818,9 +47722,7 @@ public partial class Functions } } - /// - /// Description for Applies the configuration settings from the target slot onto the current slot. - /// + /// Applies the configuration settings from the target slot onto the current slot. /// /// JSON object that contains the target slot name. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -47960,7 +47862,7 @@ public partial class Functions } } - /// Description for Approves or rejects a private endpoint connection + /// Approves or rejects a private endpoint connection /// Name of the resource group to which the resource belongs. /// Name of the site. /// @@ -48011,7 +47913,7 @@ public partial class Functions } } - /// Description for Approves or rejects a private endpoint connection + /// Approves or rejects a private endpoint connection /// /// Private Endpoint Connection Approval ARM resource. /// a delegate that is called when the remote service returns 200 (OK). @@ -48250,7 +48152,7 @@ public partial class Functions } } - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -48299,7 +48201,7 @@ public partial class Functions } } - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will create a backup for the production @@ -48352,7 +48254,7 @@ public partial class Functions } } - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// /// Backup configuration. You can use the JSON response from the POST action as input here. /// a delegate that is called when the remote service returns 200 (OK). @@ -48493,7 +48395,7 @@ public partial class Functions } } - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// /// Backup configuration. You can use the JSON response from the POST action as input here. /// a delegate that is called when the remote service returns 200 (OK). @@ -48628,7 +48530,7 @@ public partial class Functions } } - /// Description for Copies a deployment slot to another deployment slot of an app. + /// Copies a deployment slot to another deployment slot of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -48678,7 +48580,7 @@ public partial class Functions } } - /// Description for Copies a deployment slot to another deployment slot of an app. + /// Copies a deployment slot to another deployment slot of an app. /// /// JSON object that contains the target slot name and site config properties to override the source slot /// config. See example. @@ -48914,7 +48816,7 @@ public partial class Functions } } - /// Description for Copies a deployment slot to another deployment slot of an app. + /// Copies a deployment slot to another deployment slot of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the source slot. If a slot is not specified, the production slot is used as the source slot. @@ -48967,7 +48869,7 @@ public partial class Functions } } - /// Description for Copies a deployment slot to another deployment slot of an app. + /// Copies a deployment slot to another deployment slot of an app. /// /// JSON object that contains the target slot name and site config properties to override the source slot /// config. See example. @@ -49208,7 +49110,7 @@ public partial class Functions } } - /// Description for Create a deployment for an app, or a deployment slot. + /// Create a deployment for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of an existing deployment. @@ -49259,7 +49161,7 @@ public partial class Functions } } - /// Description for Create a deployment for an app, or a deployment slot. + /// Create a deployment for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of an existing deployment. @@ -49314,7 +49216,7 @@ public partial class Functions } } - /// Description for Create a deployment for an app, or a deployment slot. + /// Create a deployment for an app, or a deployment slot. /// /// Deployment details. /// a delegate that is called when the remote service returns 200 (OK). @@ -49459,7 +49361,7 @@ public partial class Functions } } - /// Description for Create a deployment for an app, or a deployment slot. + /// Create a deployment for an app, or a deployment slot. /// /// Deployment details. /// a delegate that is called when the remote service returns 200 (OK). @@ -49598,7 +49500,7 @@ public partial class Functions } } - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -49648,7 +49550,7 @@ public partial class Functions } } - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// /// Function details. /// a delegate that is called when the remote service returns default (any response code not handled @@ -49877,7 +49779,7 @@ public partial class Functions } } - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -49930,7 +49832,7 @@ public partial class Functions } } - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// /// Function details. /// a delegate that is called when the remote service returns default (any response code not handled @@ -50164,7 +50066,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// Name of the resource group to which the resource belongs. /// Name of web app. /// ID of web app instance. @@ -50216,7 +50118,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -50271,7 +50173,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// /// Details of MSDeploy operation /// a delegate that is called when the remote service returns 409 (Conflict). @@ -50516,7 +50418,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// /// Details of MSDeploy operation /// a delegate that is called when the remote service returns 409 (Conflict). @@ -50756,7 +50658,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -50805,7 +50707,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -50857,7 +50759,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// /// Details of MSDeploy operation /// a delegate that is called when the remote service returns 409 (Conflict). @@ -51095,7 +50997,7 @@ public partial class Functions } } - /// Description for Invoke the MSDeploy web app extension. + /// Invoke the MSDeploy web app extension. /// /// Details of MSDeploy operation /// a delegate that is called when the remote service returns 409 (Conflict). @@ -51329,7 +51231,7 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// Name of the resource group to which the resource belongs. /// Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. @@ -51378,7 +51280,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -51427,7 +51329,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update configuration for the @@ -51480,7 +51382,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// JSON representation of a SiteConfig object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -51623,7 +51525,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// JSON representation of a SiteConfig object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -51759,7 +51661,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -51812,7 +51714,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -51869,7 +51771,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// /// A JSON representation of the domain ownership properties. @@ -52018,7 +51920,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// /// A JSON representation of the domain ownership properties. @@ -52160,7 +52062,7 @@ public partial class Functions } } - /// Description for Add or update a function secret. + /// Add or update a function secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The name of the function. @@ -52215,7 +52117,7 @@ public partial class Functions } } - /// Description for Add or update a function secret. + /// Add or update a function secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The name of the function. @@ -52273,7 +52175,7 @@ public partial class Functions } } - /// Description for Add or update a function secret. + /// Add or update a function secret. /// /// The key to create or update /// a delegate that is called when the remote service returns 200 (OK). @@ -52432,7 +52334,7 @@ public partial class Functions } } - /// Description for Add or update a function secret. + /// Add or update a function secret. /// /// The key to create or update /// a delegate that is called when the remote service returns 200 (OK). @@ -52584,7 +52486,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Hostname in the hostname binding. @@ -52635,7 +52537,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Hostname in the hostname binding. @@ -52690,7 +52592,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// /// Binding details. This is the JSON representation of a HostNameBinding object. /// a delegate that is called when the remote service returns 200 (OK). @@ -52837,7 +52739,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// /// Binding details. This is the JSON representation of a HostNameBinding object. /// a delegate that is called when the remote service returns 200 (OK). @@ -52978,7 +52880,7 @@ public partial class Functions } } - /// Description for Add or update a host level secret. + /// Add or update a host level secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The type of host key. @@ -53033,7 +52935,7 @@ public partial class Functions } } - /// Description for Add or update a host level secret. + /// Add or update a host level secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The type of host key. @@ -53091,7 +52993,7 @@ public partial class Functions } } - /// Description for Add or update a host level secret. + /// Add or update a host level secret. /// /// The key to create or update /// a delegate that is called when the remote service returns 200 (OK). @@ -53248,7 +53150,7 @@ public partial class Functions } } - /// Description for Add or update a host level secret. + /// Add or update a host level secret. /// /// The key to create or update /// a delegate that is called when the remote service returns 200 (OK). @@ -53400,7 +53302,7 @@ public partial class Functions } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. + /// Creates a new Hybrid Connection using a Service Bus relay. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. @@ -53454,7 +53356,7 @@ public partial class Functions } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. + /// Creates a new Hybrid Connection using a Service Bus relay. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. @@ -53511,7 +53413,7 @@ public partial class Functions } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. + /// Creates a new Hybrid Connection using a Service Bus relay. /// /// The details of the hybrid connection. /// a delegate that is called when the remote service returns 200 (OK). @@ -53662,7 +53564,7 @@ public partial class Functions } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. + /// Creates a new Hybrid Connection using a Service Bus relay. /// /// The details of the hybrid connection. /// a delegate that is called when the remote service returns 200 (OK). @@ -53808,7 +53710,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Public certificate name. @@ -53859,7 +53761,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Public certificate name. @@ -53914,7 +53816,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// /// Public certificate details. This is the JSON representation of a PublicCertificate object. /// a delegate that is called when the remote service returns 200 (OK). @@ -54061,7 +53963,7 @@ public partial class Functions } } - /// Description for Creates a hostname binding for an app. + /// Creates a hostname binding for an app. /// /// Public certificate details. This is the JSON representation of a PublicCertificate object. /// a delegate that is called when the remote service returns 200 (OK). @@ -54203,7 +54105,7 @@ public partial class Functions } /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -54256,7 +54158,7 @@ public partial class Functions } /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -54313,7 +54215,7 @@ public partial class Functions } /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). /// /// /// Details of the hybrid connection configuration. @@ -54462,7 +54364,7 @@ public partial class Functions } /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). /// /// /// Details of the hybrid connection configuration. @@ -54605,12 +54507,11 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// Name of the resource group to which the resource belongs. /// Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - /// Name of the deployment slot to create or update. By default, this API attempts to create or modify - /// the production slot. + /// Name of the deployment slot to create or update. The name 'production' is reserved. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// A JSON representation of the app properties. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -54659,7 +54560,7 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// A JSON representation of the app properties. See example. @@ -54874,8 +54775,7 @@ public partial class Functions /// /// Name of the resource group to which the resource belongs. /// Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - /// Name of the deployment slot to create or update. By default, this API attempts to create or modify - /// the production slot. + /// Name of the deployment slot to create or update. The name 'production' is reserved. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// A JSON representation of the app properties. See example. /// an instance that will receive events. @@ -54898,7 +54798,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -54947,7 +54847,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the source control configuration @@ -55000,7 +54900,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// /// JSON representation of a SiteSourceControl object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -55241,7 +55141,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// /// JSON representation of a SiteSourceControl object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -55475,8 +55375,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// Name of the resource group to which the resource belongs. @@ -55528,8 +55428,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// Name of the resource group to which the resource belongs. @@ -55585,8 +55485,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// @@ -55732,8 +55632,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// @@ -55873,7 +55773,7 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// A JSON representation of the app properties. See example. @@ -55933,7 +55833,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -55985,9 +55885,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the Virtual Network. @@ -56041,9 +55939,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the Virtual Network. @@ -56101,9 +55997,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// /// The properties to update this gateway with. /// a delegate that is called when the remote service returns 200 (OK). @@ -56255,9 +56149,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// /// The properties to update this gateway with. /// a delegate that is called when the remote service returns 200 (OK). @@ -56404,7 +56296,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -56461,7 +56353,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// /// Properties of the Virtual Network connection. See example. @@ -56610,7 +56502,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// /// Properties of the Virtual Network connection. See example. @@ -56924,9 +56816,7 @@ public partial class Functions } } - /// - /// Description for Deletes a web, mobile, or API app, or one of the deployment slots. - /// + /// Deletes a web, mobile, or API app, or one of the deployment slots. /// Name of the resource group to which the resource belongs. /// Name of the app to delete. /// If true, web app metrics are also deleted. @@ -56978,7 +56868,7 @@ public partial class Functions } } - /// Description for Deletes a backup of an app by its ID. + /// Deletes a backup of an app by its ID. /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of the backup. @@ -57025,7 +56915,7 @@ public partial class Functions } } - /// Description for Deletes the backup configuration of an app. + /// Deletes the backup configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -57069,7 +56959,7 @@ public partial class Functions } } - /// Description for Deletes the backup configuration of an app. + /// Deletes the backup configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration @@ -57117,7 +57007,7 @@ public partial class Functions } } - /// Description for Deletes the backup configuration of an app. + /// Deletes the backup configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -57252,7 +57142,7 @@ public partial class Functions } } - /// Description for Deletes the backup configuration of an app. + /// Deletes the backup configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -57379,7 +57269,7 @@ public partial class Functions } } - /// Description for Deletes a backup of an app by its ID. + /// Deletes a backup of an app by its ID. /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of the backup. @@ -57430,7 +57320,7 @@ public partial class Functions } } - /// Description for Deletes a backup of an app by its ID. + /// Deletes a backup of an app by its ID. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -57575,7 +57465,7 @@ public partial class Functions } } - /// Description for Deletes a backup of an app by its ID. + /// Deletes a backup of an app by its ID. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -57714,9 +57604,7 @@ public partial class Functions } } - /// - /// Description for Delete a continuous web job by its ID for an app, or a deployment slot. - /// + /// Delete a continuous web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -57763,9 +57651,7 @@ public partial class Functions } } - /// - /// Description for Delete a continuous web job by its ID for an app, or a deployment slot. - /// + /// Delete a continuous web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -57816,9 +57702,7 @@ public partial class Functions } } - /// - /// Description for Delete a continuous web job by its ID for an app, or a deployment slot. - /// + /// Delete a continuous web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -57963,9 +57847,7 @@ public partial class Functions } } - /// - /// Description for Delete a continuous web job by its ID for an app, or a deployment slot. - /// + /// Delete a continuous web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -58104,7 +57986,7 @@ public partial class Functions } } - /// Description for Delete a deployment by its ID for an app, or a deployment slot. + /// Delete a deployment by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Deployment ID. @@ -58151,7 +58033,7 @@ public partial class Functions } } - /// Description for Delete a deployment by its ID for an app, or a deployment slot. + /// Delete a deployment by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Deployment ID. @@ -58202,7 +58084,7 @@ public partial class Functions } } - /// Description for Delete a deployment by its ID for an app, or a deployment slot. + /// Delete a deployment by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -58347,7 +58229,7 @@ public partial class Functions } } - /// Description for Delete a deployment by its ID for an app, or a deployment slot. + /// Delete a deployment by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -58486,7 +58368,7 @@ public partial class Functions } } - /// Description for Deletes a domain ownership identifier for a web app. + /// Deletes a domain ownership identifier for a web app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of domain ownership identifier. @@ -58533,7 +58415,7 @@ public partial class Functions } } - /// Description for Deletes a domain ownership identifier for a web app. + /// Deletes a domain ownership identifier for a web app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of domain ownership identifier. @@ -58584,7 +58466,7 @@ public partial class Functions } } - /// Description for Deletes a domain ownership identifier for a web app. + /// Deletes a domain ownership identifier for a web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -58731,7 +58613,7 @@ public partial class Functions } } - /// Description for Deletes a domain ownership identifier for a web app. + /// Deletes a domain ownership identifier for a web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -58872,7 +58754,7 @@ public partial class Functions } } - /// Description for Delete a function for web site, or a deployment slot. + /// Delete a function for web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -58919,7 +58801,7 @@ public partial class Functions } } - /// Description for Delete a function secret. + /// Delete a function secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The name of the function. @@ -58969,7 +58851,7 @@ public partial class Functions } } - /// Description for Delete a function secret. + /// Delete a function secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The name of the function. @@ -59022,7 +58904,7 @@ public partial class Functions } } - /// Description for Delete a function secret. + /// Delete a function secret. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -59171,7 +59053,7 @@ public partial class Functions } } - /// Description for Delete a function secret. + /// Delete a function secret. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -59315,7 +59197,7 @@ public partial class Functions } } - /// Description for Delete a function for web site, or a deployment slot. + /// Delete a function for web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -59454,7 +59336,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Hostname in the hostname binding. @@ -59501,7 +59383,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production @@ -59552,7 +59434,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -59697,7 +59579,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -59836,7 +59718,7 @@ public partial class Functions } } - /// Description for Delete a host level secret. + /// Delete a host level secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The type of host key. @@ -59886,7 +59768,7 @@ public partial class Functions } } - /// Description for Delete a host level secret. + /// Delete a host level secret. /// Name of the resource group to which the resource belongs. /// Site name. /// The type of host key. @@ -59939,7 +59821,7 @@ public partial class Functions } } - /// Description for Delete a host level secret. + /// Delete a host level secret. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -60088,7 +59970,7 @@ public partial class Functions } } - /// Description for Delete a host level secret. + /// Delete a host level secret. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -60232,7 +60114,7 @@ public partial class Functions } } - /// Description for Removes a Hybrid Connection from this site. + /// Removes a Hybrid Connection from this site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. @@ -60282,7 +60164,7 @@ public partial class Functions } } - /// Description for Removes a Hybrid Connection from this site. + /// Removes a Hybrid Connection from this site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. @@ -60335,7 +60217,7 @@ public partial class Functions } } - /// Description for Removes a Hybrid Connection from this site. + /// Removes a Hybrid Connection from this site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -60484,7 +60366,7 @@ public partial class Functions } } - /// Description for Removes a Hybrid Connection from this site. + /// Removes a Hybrid Connection from this site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -60628,7 +60510,7 @@ public partial class Functions } } - /// Description for Delete a function for web site, or a deployment slot. + /// Delete a function for web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -60678,7 +60560,7 @@ public partial class Functions } } - /// Description for Delete a function for web site, or a deployment slot. + /// Delete a function for web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -60823,8 +60705,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -60877,8 +60758,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -60935,8 +60815,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 204 (NoContent). @@ -61089,8 +60968,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 204 (NoContent). @@ -61236,7 +61114,7 @@ public partial class Functions } } - /// Description for Delete a premier add-on from an app. + /// Delete a premier add-on from an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Add-on name. @@ -61282,7 +61160,7 @@ public partial class Functions } } - /// Description for Delete a premier add-on from an app. + /// Delete a premier add-on from an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Add-on name. @@ -61332,7 +61210,7 @@ public partial class Functions } } - /// Description for Delete a premier add-on from an app. + /// Delete a premier add-on from an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -61469,7 +61347,7 @@ public partial class Functions } } - /// Description for Delete a premier add-on from an app. + /// Delete a premier add-on from an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -61600,7 +61478,7 @@ public partial class Functions } } - /// Description for Deletes a private endpoint connection + /// Deletes a private endpoint connection /// Name of the resource group to which the resource belongs. /// Name of the site. /// @@ -61647,7 +61525,7 @@ public partial class Functions } } - /// Description for Deletes a private endpoint connection + /// Deletes a private endpoint connection /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -61888,8 +61766,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -61938,8 +61815,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -61992,8 +61868,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 204 (NoContent). @@ -62140,8 +62015,7 @@ public partial class Functions } /// - /// Description for Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in - /// a web site. + /// Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 204 (NoContent). @@ -62281,7 +62155,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Public certificate name. @@ -62328,7 +62202,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production @@ -62379,7 +62253,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -62524,7 +62398,7 @@ public partial class Functions } } - /// Description for Deletes a hostname binding for an app. + /// Deletes a hostname binding for an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -62663,7 +62537,7 @@ public partial class Functions } } - /// Description for Deletes a relay service connection by its name. + /// Deletes a relay service connection by its name. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the hybrid connection configuration. @@ -62710,7 +62584,7 @@ public partial class Functions } } - /// Description for Deletes a relay service connection by its name. + /// Deletes a relay service connection by its name. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the hybrid connection configuration. @@ -62761,7 +62635,7 @@ public partial class Functions } } - /// Description for Deletes a relay service connection by its name. + /// Deletes a relay service connection by its name. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -62908,7 +62782,7 @@ public partial class Functions } } - /// Description for Deletes a relay service connection by its name. + /// Deletes a relay service connection by its name. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -63047,7 +62921,7 @@ public partial class Functions } } - /// Description for Remove a site extension from a web site, or a deployment slot. + /// Remove a site extension from a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Site extension name. @@ -63094,7 +62968,7 @@ public partial class Functions } } - /// Description for Remove a site extension from a web site, or a deployment slot. + /// Remove a site extension from a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Site extension name. @@ -63145,7 +63019,7 @@ public partial class Functions } } - /// Description for Remove a site extension from a web site, or a deployment slot. + /// Remove a site extension from a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -63290,7 +63164,7 @@ public partial class Functions } } - /// Description for Remove a site extension from a web site, or a deployment slot. + /// Remove a site extension from a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -63429,9 +63303,7 @@ public partial class Functions } } - /// - /// Description for Deletes a web, mobile, or API app, or one of the deployment slots. - /// + /// Deletes a web, mobile, or API app, or one of the deployment slots. /// Name of the resource group to which the resource belongs. /// Name of the app to delete. /// Name of the deployment slot to delete. By default, the API deletes the production slot. @@ -63486,9 +63358,7 @@ public partial class Functions } } - /// - /// Description for Deletes a web, mobile, or API app, or one of the deployment slots. - /// + /// Deletes a web, mobile, or API app, or one of the deployment slots. /// /// If true, web app metrics are also deleted. /// Specify true if the App Service plan will be empty after app deletion and you want @@ -63645,7 +63515,7 @@ public partial class Functions } } - /// Description for Deletes the source control configuration of an app. + /// Deletes the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -63691,7 +63561,7 @@ public partial class Functions } } - /// Description for Deletes the source control configuration of an app. + /// Deletes the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration @@ -63741,7 +63611,7 @@ public partial class Functions } } - /// Description for Deletes the source control configuration of an app. + /// Deletes the source control configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -63890,7 +63760,7 @@ public partial class Functions } } - /// Description for Deletes the source control configuration of an app. + /// Deletes the source control configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 202 (Accepted). @@ -64033,9 +63903,7 @@ public partial class Functions } } - /// - /// Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). - /// + /// Deletes a Swift Virtual Network connection from an app (or deployment slot). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -64080,9 +63948,7 @@ public partial class Functions } } - /// - /// Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). - /// + /// Deletes a Swift Virtual Network connection from an app (or deployment slot). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will delete the connection for the @@ -64131,9 +63997,7 @@ public partial class Functions } } - /// - /// Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). - /// + /// Deletes a Swift Virtual Network connection from an app (or deployment slot). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -64276,9 +64140,7 @@ public partial class Functions } } - /// - /// Description for Deletes a Swift Virtual Network connection from an app (or deployment slot). - /// + /// Deletes a Swift Virtual Network connection from an app (or deployment slot). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -64413,9 +64275,7 @@ public partial class Functions } } - /// - /// Description for Delete a triggered web job by its ID for an app, or a deployment slot. - /// + /// Delete a triggered web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -64462,9 +64322,7 @@ public partial class Functions } } - /// - /// Description for Delete a triggered web job by its ID for an app, or a deployment slot. - /// + /// Delete a triggered web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -64515,9 +64373,7 @@ public partial class Functions } } - /// - /// Description for Delete a triggered web job by its ID for an app, or a deployment slot. - /// + /// Delete a triggered web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -64662,9 +64518,7 @@ public partial class Functions } } - /// - /// Description for Delete a triggered web job by its ID for an app, or a deployment slot. - /// + /// Delete a triggered web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -64803,9 +64657,7 @@ public partial class Functions } } - /// - /// Description for Deletes a web, mobile, or API app, or one of the deployment slots. - /// + /// Deletes a web, mobile, or API app, or one of the deployment slots. /// /// If true, web app metrics are also deleted. /// Specify false if you want to keep empty App Service plan. By default, empty App Service @@ -64868,7 +64720,7 @@ public partial class Functions } /// - /// Description for Deletes a connection from an app (or deployment slot to a named virtual network. + /// Deletes a connection from an app (or deployment slot to a named virtual network. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -64917,7 +64769,7 @@ public partial class Functions } /// - /// Description for Deletes a connection from an app (or deployment slot to a named virtual network. + /// Deletes a connection from an app (or deployment slot to a named virtual network. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -64970,7 +64822,7 @@ public partial class Functions } /// - /// Description for Deletes a connection from an app (or deployment slot to a named virtual network. + /// Deletes a connection from an app (or deployment slot to a named virtual network. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -65117,7 +64969,7 @@ public partial class Functions } /// - /// Description for Deletes a connection from an app (or deployment slot to a named virtual network. + /// Deletes a connection from an app (or deployment slot to a named virtual network. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -65348,8 +65200,8 @@ public partial class Functions } /// - /// Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information - /// about the databases stored in a backup. + /// Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about + /// the databases stored in a backup. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -65400,8 +65252,8 @@ public partial class Functions } /// - /// Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information - /// about the databases stored in a backup. + /// Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about + /// the databases stored in a backup. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -65456,8 +65308,8 @@ public partial class Functions } /// - /// Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information - /// about the databases stored in a backup. + /// Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about + /// the databases stored in a backup. /// /// /// A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. @@ -65600,8 +65452,8 @@ public partial class Functions } /// - /// Description for Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information - /// about the databases stored in a backup. + /// Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about + /// the databases stored in a backup. /// /// /// A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. @@ -65738,7 +65590,7 @@ public partial class Functions } /// - /// Description for Generates a new publishing password for an app (or deployment slot, if specified). + /// Generates a new publishing password for an app (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -65785,7 +65637,7 @@ public partial class Functions } /// - /// Description for Generates a new publishing password for an app (or deployment slot, if specified). + /// Generates a new publishing password for an app (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -65836,7 +65688,7 @@ public partial class Functions } /// - /// Description for Generates a new publishing password for an app (or deployment slot, if specified). + /// Generates a new publishing password for an app (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -65981,7 +65833,7 @@ public partial class Functions } /// - /// Description for Generates a new publishing password for an app (or deployment slot, if specified). + /// Generates a new publishing password for an app (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -66119,7 +65971,7 @@ public partial class Functions } } - /// Description for Gets the details of a web, mobile, or API app. + /// Gets the details of a web, mobile, or API app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -66163,7 +66015,7 @@ public partial class Functions } } - /// Description for Gets the config reference and status of an app + /// Gets the config reference and status of an app /// Name of the resource group to which the resource belongs. /// Name of the app. /// App Setting key name. @@ -66209,7 +66061,7 @@ public partial class Functions } } - /// Description for Gets the config reference and status of an app + /// Gets the config reference and status of an app /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -66342,7 +66194,7 @@ public partial class Functions } } - /// Description for Gets the config reference app settings and status of an app + /// Gets the config reference app settings and status of an app /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -66386,7 +66238,7 @@ public partial class Functions } } - /// Description for Gets the config reference app settings and status of an app + /// Gets the config reference app settings and status of an app /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -66515,7 +66367,7 @@ public partial class Functions } } - /// Description for Gets the Authentication/Authorization settings of an app. + /// Gets the Authentication/Authorization settings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -66559,7 +66411,7 @@ public partial class Functions } } - /// Description for Gets the Authentication/Authorization settings of an app. + /// Gets the Authentication/Authorization settings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the settings for the production @@ -66607,7 +66459,7 @@ public partial class Functions } } - /// Description for Gets the Authentication/Authorization settings of an app. + /// Gets the Authentication/Authorization settings of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -66740,7 +66592,7 @@ public partial class Functions } } - /// Description for Gets the Authentication/Authorization settings of an app. + /// Gets the Authentication/Authorization settings of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -66867,7 +66719,7 @@ public partial class Functions } } - /// Description for Gets the backup configuration of an app. + /// Gets the backup configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -66911,7 +66763,7 @@ public partial class Functions } } - /// Description for Gets the backup configuration of an app. + /// Gets the backup configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the backup configuration @@ -66959,7 +66811,7 @@ public partial class Functions } } - /// Description for Gets the backup configuration of an app. + /// Gets the backup configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -67092,7 +66944,7 @@ public partial class Functions } } - /// Description for Gets the backup configuration of an app. + /// Gets the backup configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -67219,7 +67071,7 @@ public partial class Functions } } - /// Description for Gets a backup of an app by its ID. + /// Gets a backup of an app by its ID. /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of the backup. @@ -67265,7 +67117,7 @@ public partial class Functions } } - /// Description for Gets a backup of an app by its ID. + /// Gets a backup of an app by its ID. /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of the backup. @@ -67315,7 +67167,7 @@ public partial class Functions } } - /// Description for Gets a backup of an app by its ID. + /// Gets a backup of an app by its ID. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -67452,7 +67304,7 @@ public partial class Functions } } - /// Description for Gets a backup of an app by its ID. + /// Gets a backup of an app by its ID. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -67584,8 +67436,185 @@ public partial class Functions } /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetBasicPublishingCredentialsPolicies(string resourceGroupName, string name, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/basicPublishingCredentialsPolicies" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetBasicPublishingCredentialsPolicies_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// + /// Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. + /// + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetBasicPublishingCredentialsPoliciesViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/basicPublishingCredentialsPolicies$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/basicPublishingCredentialsPolicies" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetBasicPublishingCredentialsPolicies_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsGetBasicPublishingCredentialsPolicies_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, + /// but you will get validation events back. + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsGetBasicPublishingCredentialsPolicies_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + } + } + + /// + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -67631,8 +67660,8 @@ public partial class Functions } /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -67682,8 +67711,8 @@ public partial class Functions } /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -67817,9 +67846,7 @@ public partial class Functions } } - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// Name of the resource group to which the resource belongs. /// Name of the app. /// The ID of the snapshot to read. @@ -67865,9 +67892,7 @@ public partial class Functions } } - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// Name of the resource group to which the resource belongs. /// Name of the app. /// The ID of the snapshot to read. @@ -67917,9 +67942,7 @@ public partial class Functions } } - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -68056,9 +68079,7 @@ public partial class Functions } } - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -68190,8 +68211,8 @@ public partial class Functions } /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -68319,7 +68340,7 @@ public partial class Functions } } - /// Description for Gets the ZIP archived docker log files for the given site + /// Gets the ZIP archived docker log files for the given site /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -68364,7 +68385,7 @@ public partial class Functions } } - /// Description for Gets the ZIP archived docker log files for the given site + /// Gets the ZIP archived docker log files for the given site /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -68412,7 +68433,7 @@ public partial class Functions } } - /// Description for Gets the ZIP archived docker log files for the given site + /// Gets the ZIP archived docker log files for the given site /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -68552,7 +68573,7 @@ public partial class Functions } } - /// Description for Gets the ZIP archived docker log files for the given site + /// Gets the ZIP archived docker log files for the given site /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -68687,9 +68708,7 @@ public partial class Functions } } - /// - /// Description for Gets a continuous web job by its ID for an app, or a deployment slot. - /// + /// Gets a continuous web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -68736,9 +68755,7 @@ public partial class Functions } } - /// - /// Description for Gets a continuous web job by its ID for an app, or a deployment slot. - /// + /// Gets a continuous web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -68789,9 +68806,7 @@ public partial class Functions } } - /// - /// Description for Gets a continuous web job by its ID for an app, or a deployment slot. - /// + /// Gets a continuous web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -68936,9 +68951,7 @@ public partial class Functions } } - /// - /// Description for Gets a continuous web job by its ID for an app, or a deployment slot. - /// + /// Gets a continuous web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -69077,7 +69090,7 @@ public partial class Functions } } - /// Description for Get a deployment by its ID for an app, or a deployment slot. + /// Get a deployment by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Deployment ID. @@ -69123,7 +69136,7 @@ public partial class Functions } } - /// Description for Get a deployment by its ID for an app, or a deployment slot. + /// Get a deployment by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Deployment ID. @@ -69173,7 +69186,7 @@ public partial class Functions } } - /// Description for Get a deployment by its ID for an app, or a deployment slot. + /// Get a deployment by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -69310,7 +69323,7 @@ public partial class Functions } } - /// Description for Get a deployment by its ID for an app, or a deployment slot. + /// Get a deployment by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -69441,7 +69454,7 @@ public partial class Functions } } - /// Description for Gets the logging configuration of an app. + /// Gets the logging configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -69485,7 +69498,7 @@ public partial class Functions } } - /// Description for Gets the logging configuration of an app. + /// Gets the logging configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the logging configuration @@ -69533,7 +69546,7 @@ public partial class Functions } } - /// Description for Gets the logging configuration of an app. + /// Gets the logging configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -69668,7 +69681,7 @@ public partial class Functions } } - /// Description for Gets the logging configuration of an app. + /// Gets the logging configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -69797,7 +69810,7 @@ public partial class Functions } } - /// Description for Get domain ownership identifier for web app. + /// Get domain ownership identifier for web app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of domain ownership identifier. @@ -69843,7 +69856,7 @@ public partial class Functions } } - /// Description for Get domain ownership identifier for web app. + /// Get domain ownership identifier for web app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of domain ownership identifier. @@ -69893,7 +69906,7 @@ public partial class Functions } } - /// Description for Get domain ownership identifier for web app. + /// Get domain ownership identifier for web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -70032,7 +70045,7 @@ public partial class Functions } } - /// Description for Get domain ownership identifier for web app. + /// Get domain ownership identifier for web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -70163,15 +70176,11 @@ public partial class Functions } } - /// - /// Description for Get function information by its ID for web site, or a deployment slot. - /// + /// Returns whether FTP is allowed on the site or not. /// Name of the resource group to which the resource belongs. - /// Site name. - /// Function name. + /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 404 (NotFound). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -70179,7 +70188,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsGetFunction(string resourceGroupName, string name, string functionName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsGetFtpAllowed(string resourceGroupName, string name, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -70193,8 +70202,7 @@ public partial class Functions + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Web/sites/" + global::System.Uri.EscapeDataString(name) - + "/functions/" - + global::System.Uri.EscapeDataString(functionName) + + "/basicPublishingCredentialsPolicies/ftp" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -70208,16 +70216,13 @@ public partial class Functions await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsGetFunction_Call(request,onOk,onNotFound,onDefault,eventListener,sender); + await this.WebAppsGetFtpAllowed_Call(request,onOk,onDefault,eventListener,sender); } } - /// - /// Description for Get function information by its ID for web site, or a deployment slot. - /// + /// Returns whether FTP is allowed on the site or not. /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 404 (NotFound). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -70225,7 +70230,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsGetFunctionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsGetFtpAllowedViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -70233,16 +70238,15 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/functions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/basicPublishingCredentialsPolicies/ftp$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; - var functionName = _match.Groups["functionName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( @@ -70252,8 +70256,7 @@ public partial class Functions + resourceGroupName + "/providers/Microsoft.Web/sites/" + name - + "/functions/" - + functionName + + "/basicPublishingCredentialsPolicies/ftp" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -70267,14 +70270,13 @@ public partial class Functions await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsGetFunction_Call(request,onOk,onNotFound,onDefault,eventListener,sender); + await this.WebAppsGetFtpAllowed_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 404 (NotFound). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -70282,7 +70284,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsGetFunction_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsGetFtpAllowed_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -70300,13 +70302,7 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.FunctionEnvelope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - case global::System.Net.HttpStatusCode.NotFound: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNotFound(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -70328,18 +70324,17 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// Name of the resource group to which the resource belongs. - /// Site name. - /// Function name. + /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsGetFunction_Validate(string resourceGroupName, string name, string functionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsGetFtpAllowed_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -70348,65 +70343,17 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(functionName),functionName); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } - /// - /// Description for Fetch a short lived token that can be exchanged for a master key. - /// + /// Get function information by its ID for web site, or a deployment slot. /// Name of the resource group to which the resource belongs. - /// Name of web app. - /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminToken(string resourceGroupName, string name, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - var apiVersion = @"2019-08-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.Web/sites/" - + global::System.Uri.EscapeDataString(name) - + "/functions/admin/token" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.WebAppsGetFunctionsAdminToken_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// - /// Description for Fetch a short lived token that can be exchanged for a master key. - /// - /// Name of the resource group to which the resource belongs. - /// Name of web app. - /// Name of web app slot. If not specified then will default to production slot. + /// Site name. + /// Function name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 404 (NotFound). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -70414,7 +70361,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlot(string resourceGroupName, string name, string slot, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsGetFunction(string resourceGroupName, string name, string functionName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -70428,9 +70375,8 @@ public partial class Functions + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Web/sites/" + global::System.Uri.EscapeDataString(name) - + "/slots/" - + global::System.Uri.EscapeDataString(slot) - + "/functions/admin/token" + + "/functions/" + + global::System.Uri.EscapeDataString(functionName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -70444,15 +70390,14 @@ public partial class Functions await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsGetFunctionsAdminTokenSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsGetFunction_Call(request,onOk,onNotFound,onDefault,eventListener,sender); } } - /// - /// Description for Fetch a short lived token that can be exchanged for a master key. - /// + /// Get function information by its ID for web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 404 (NotFound). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -70460,7 +70405,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlotViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsGetFunctionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -70468,16 +70413,16 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/functions/admin/token$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/functions/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; - var slot = _match.Groups["slot"].Value; + var functionName = _match.Groups["functionName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( @@ -70487,9 +70432,8 @@ public partial class Functions + resourceGroupName + "/providers/Microsoft.Web/sites/" + name - + "/slots/" - + slot - + "/functions/admin/token" + + "/functions/" + + functionName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -70503,13 +70447,14 @@ public partial class Functions await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsGetFunctionsAdminTokenSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsGetFunction_Call(request,onOk,onNotFound,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 404 (NotFound). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -70517,7 +70462,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsGetFunction_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onNotFound, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -70535,7 +70480,13 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => body.Result)); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.FunctionEnvelope.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + case global::System.Net.HttpStatusCode.NotFound: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNotFound(_response); break; } default: @@ -70557,18 +70508,18 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// Name of the resource group to which the resource belongs. - /// Name of web app. - /// Name of web app slot. If not specified then will default to production slot. + /// Site name. + /// Function name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlot_Validate(string resourceGroupName, string name, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsGetFunction_Validate(string resourceGroupName, string name, string functionName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -70577,14 +70528,103 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(slot),slot); + await eventListener.AssertNotNull(nameof(functionName),functionName); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); } } - /// - /// Description for Fetch a short lived token that can be exchanged for a master key. - /// + /// Fetch a short lived token that can be exchanged for a master key. + /// Name of the resource group to which the resource belongs. + /// Name of web app. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminToken(string resourceGroupName, string name, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/functions/admin/token" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetFunctionsAdminToken_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Fetch a short lived token that can be exchanged for a master key. + /// Name of the resource group to which the resource belongs. + /// Name of web app. + /// Name of web app slot. If not specified then will default to production slot. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlot(string resourceGroupName, string name, string slot, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/slots/" + + global::System.Uri.EscapeDataString(slot) + + "/functions/admin/token" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetFunctionsAdminTokenSlot_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Fetch a short lived token that can be exchanged for a master key. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -70594,7 +70634,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlotViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -70602,15 +70642,16 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/functions/admin/token$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/functions/admin/token$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; + var slot = _match.Groups["slot"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( @@ -70620,6 +70661,8 @@ public partial class Functions + resourceGroupName + "/providers/Microsoft.Web/sites/" + name + + "/slots/" + + slot + "/functions/admin/token" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) @@ -70634,11 +70677,11 @@ public partial class Functions await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsGetFunctionsAdminToken_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsGetFunctionsAdminTokenSlot_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -70648,7 +70691,136 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminToken_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => body.Result)); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. + /// + /// Name of the resource group to which the resource belongs. + /// Name of web app. + /// Name of web app slot. If not specified then will default to production slot. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenSlot_Validate(string resourceGroupName, string name, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(slot),slot); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + } + } + + /// Fetch a short lived token that can be exchanged for a master key. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminTokenViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/functions/admin/token$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/functions/admin/token" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetFunctionsAdminToken_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsGetFunctionsAdminToken_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -70711,9 +70883,7 @@ public partial class Functions } } - /// - /// Description for Get the named hostname binding for an app (or deployment slot, if specified). - /// + /// Get the named hostname binding for an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Hostname in the hostname binding. @@ -70759,9 +70929,7 @@ public partial class Functions } } - /// - /// Description for Get the named hostname binding for an app (or deployment slot, if specified). - /// + /// Get the named hostname binding for an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API the named binding for the production @@ -70811,9 +70979,7 @@ public partial class Functions } } - /// - /// Description for Get the named hostname binding for an app (or deployment slot, if specified). - /// + /// Get the named hostname binding for an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -70950,9 +71116,7 @@ public partial class Functions } } - /// - /// Description for Get the named hostname binding for an app (or deployment slot, if specified). - /// + /// Get the named hostname binding for an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -71083,9 +71247,7 @@ public partial class Functions } } - /// - /// Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. - /// + /// Retrieves a specific Service Bus Hybrid Connection used by this Web App. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. @@ -71134,9 +71296,7 @@ public partial class Functions } } - /// - /// Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. - /// + /// Retrieves a specific Service Bus Hybrid Connection used by this Web App. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. @@ -71188,9 +71348,7 @@ public partial class Functions } } - /// - /// Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. - /// + /// Retrieves a specific Service Bus Hybrid Connection used by this Web App. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -71331,9 +71489,7 @@ public partial class Functions } } - /// - /// Description for Retrieves a specific Service Bus Hybrid Connection used by this Web App. - /// + /// Retrieves a specific Service Bus Hybrid Connection used by this Web App. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -71469,9 +71625,7 @@ public partial class Functions } } - /// - /// Description for Get function information by its ID for web site, or a deployment slot. - /// + /// Get function information by its ID for web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -71521,9 +71675,7 @@ public partial class Functions } } - /// - /// Description for Get function information by its ID for web site, or a deployment slot. - /// + /// Get function information by its ID for web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -71667,7 +71819,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// @@ -71713,7 +71865,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// @@ -71762,7 +71914,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -71898,7 +72050,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -72029,7 +72181,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// ID of web app instance. @@ -72077,7 +72229,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -72128,7 +72280,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -72273,7 +72425,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -72413,7 +72565,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// ID of web app instance. @@ -72460,7 +72612,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -72510,7 +72662,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -72649,7 +72801,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -72782,7 +72934,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -72835,7 +72987,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -72889,7 +73041,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -72947,7 +73099,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -73101,7 +73253,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -73249,7 +73401,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -73305,7 +73457,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -73365,7 +73517,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -73523,7 +73675,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -73675,7 +73827,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -73732,7 +73884,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -73885,7 +74037,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -74031,7 +74183,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -74076,7 +74228,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -74124,7 +74276,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -74264,7 +74416,7 @@ public partial class Functions } } - /// Description for Get the MSDeploy Log for the last MSDeploy operation. + /// Get the MSDeploy Log for the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -74399,7 +74551,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -74443,7 +74595,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -74490,7 +74642,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -74622,7 +74774,7 @@ public partial class Functions } } - /// Description for Get the status of the last MSDeploy operation. + /// Get the status of the last MSDeploy operation. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -74750,7 +74902,7 @@ public partial class Functions } /// - /// Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled + /// Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled /// /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -74796,7 +74948,7 @@ public partial class Functions } /// - /// Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled + /// Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled /// /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -74845,7 +74997,7 @@ public partial class Functions } /// - /// Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled + /// Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -74979,7 +75131,7 @@ public partial class Functions } /// - /// Description for Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled + /// Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -75108,7 +75260,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -75157,7 +75309,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -75210,7 +75362,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -75263,7 +75415,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -75412,7 +75564,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -75559,7 +75711,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -75608,7 +75760,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -75749,7 +75901,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -75890,7 +76042,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -75938,7 +76090,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -75990,7 +76142,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -76042,7 +76194,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -76181,7 +76333,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -76320,7 +76472,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -76368,7 +76520,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -76501,7 +76653,7 @@ public partial class Functions } /// - /// Description for Gets a named operation for a network trace capturing (or deployment slot, if specified). + /// Gets a named operation for a network trace capturing (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -76633,7 +76785,7 @@ public partial class Functions } } - /// Description for Gets a named add-on of an app. + /// Gets a named add-on of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Add-on name. @@ -76679,7 +76831,7 @@ public partial class Functions } } - /// Description for Gets a named add-on of an app. + /// Gets a named add-on of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Add-on name. @@ -76729,7 +76881,7 @@ public partial class Functions } } - /// Description for Gets a named add-on of an app. + /// Gets a named add-on of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -76866,7 +77018,7 @@ public partial class Functions } } - /// Description for Gets a named add-on of an app. + /// Gets a named add-on of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -76998,7 +77150,7 @@ public partial class Functions } /// - /// Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Gets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// Name of the resource group to which the resource belongs. /// The name of the web app. @@ -77044,7 +77196,7 @@ public partial class Functions } /// - /// Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Gets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// Name of the resource group to which the resource belongs. /// The name of the web app. @@ -77093,7 +77245,7 @@ public partial class Functions } /// - /// Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Gets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -77227,7 +77379,7 @@ public partial class Functions } /// - /// Description for Gets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Gets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -77355,7 +77507,7 @@ public partial class Functions } } - /// Description for Gets a private endpoint connection + /// Gets a private endpoint connection /// Name of the resource group to which the resource belongs. /// Name of the site. /// @@ -77401,7 +77553,7 @@ public partial class Functions } } - /// Description for Gets a private endpoint connection + /// Gets a private endpoint connection /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -77532,7 +77684,7 @@ public partial class Functions } } - /// Description for Gets the private link resources + /// Gets the private link resources /// Name of the resource group to which the resource belongs. /// Name of the site. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -77576,7 +77728,7 @@ public partial class Functions } } - /// Description for Gets the private link resources + /// Gets the private link resources /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -77704,7 +77856,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -77753,7 +77905,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -77803,7 +77955,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -77857,7 +78009,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -78005,7 +78157,7 @@ public partial class Functions } /// - /// Description for Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + /// Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -78147,7 +78299,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -78199,7 +78351,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -78255,7 +78407,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -78407,7 +78559,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -78553,7 +78705,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -78606,7 +78758,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -78753,7 +78905,7 @@ public partial class Functions } /// - /// Description for Get process information by its ID for a specific scaled-out instance in a web site. + /// Get process information by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -78893,9 +79045,7 @@ public partial class Functions } } - /// - /// Description for Get the named public certificate for an app (or deployment slot, if specified). - /// + /// Get the named public certificate for an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Public certificate name. @@ -78941,9 +79091,7 @@ public partial class Functions } } - /// - /// Description for Get the named public certificate for an app (or deployment slot, if specified). - /// + /// Get the named public certificate for an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API the named binding for the production @@ -78993,9 +79141,7 @@ public partial class Functions } } - /// - /// Description for Get the named public certificate for an app (or deployment slot, if specified). - /// + /// Get the named public certificate for an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -79132,9 +79278,7 @@ public partial class Functions } } - /// - /// Description for Get the named public certificate for an app (or deployment slot, if specified). - /// + /// Get the named public certificate for an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -79265,7 +79409,7 @@ public partial class Functions } } - /// Description for Gets a hybrid connection configuration by its name. + /// Gets a hybrid connection configuration by its name. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the hybrid connection. @@ -79311,7 +79455,7 @@ public partial class Functions } } - /// Description for Gets a hybrid connection configuration by its name. + /// Gets a hybrid connection configuration by its name. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the hybrid connection. @@ -79361,7 +79505,7 @@ public partial class Functions } } - /// Description for Gets a hybrid connection configuration by its name. + /// Gets a hybrid connection configuration by its name. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -79500,7 +79644,7 @@ public partial class Functions } } - /// Description for Gets a hybrid connection configuration by its name. + /// Gets a hybrid connection configuration by its name. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -79631,10 +79775,179 @@ public partial class Functions } } + /// Returns whether Scm basic auth is allowed on the site or not. + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetScmAllowed(string resourceGroupName, string name, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/basicPublishingCredentialsPolicies/scm" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetScmAllowed_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Returns whether Scm basic auth is allowed on the site or not. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsGetScmAllowedViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/basicPublishingCredentialsPolicies/scm$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/basicPublishingCredentialsPolicies/scm" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsGetScmAllowed_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsGetScmAllowed_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + /// - /// Description for Get site extension information by its ID for a web site, or a deployment slot. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsGetScmAllowed_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + } + } + + /// Get site extension information by its ID for a web site, or a deployment slot. + /// Name of the resource group to which the resource belongs. /// Site name. /// Site extension name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -79680,9 +79993,7 @@ public partial class Functions } } - /// - /// Description for Get site extension information by its ID for a web site, or a deployment slot. - /// + /// Get site extension information by its ID for a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Site extension name. @@ -79732,9 +80043,7 @@ public partial class Functions } } - /// - /// Description for Get site extension information by its ID for a web site, or a deployment slot. - /// + /// Get site extension information by its ID for a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -79878,9 +80187,7 @@ public partial class Functions } } - /// - /// Description for Get site extension information by its ID for a web site, or a deployment slot. - /// + /// Get site extension information by its ID for a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -80019,7 +80326,7 @@ public partial class Functions } } - /// Description for Gets web app's event logs. + /// Gets web app's event logs. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -80063,7 +80370,7 @@ public partial class Functions } } - /// Description for Gets web app's event logs. + /// Gets web app's event logs. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -80110,7 +80417,7 @@ public partial class Functions } } - /// Description for Gets web app's event logs. + /// Gets web app's event logs. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -80242,7 +80549,7 @@ public partial class Functions } } - /// Description for Gets web app's event logs. + /// Gets web app's event logs. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -80369,7 +80676,7 @@ public partial class Functions } } - /// Description for Gets the details of a web, mobile, or API app. + /// Gets the details of a web, mobile, or API app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. By default, this API returns the production slot. @@ -80416,7 +80723,7 @@ public partial class Functions } } - /// Description for Gets the details of a web, mobile, or API app. + /// Gets the details of a web, mobile, or API app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -80555,7 +80862,7 @@ public partial class Functions } } - /// Description for Gets the source control configuration of an app. + /// Gets the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -80601,7 +80908,7 @@ public partial class Functions } } - /// Description for Gets the source control configuration of an app. + /// Gets the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the source control configuration @@ -80651,7 +80958,7 @@ public partial class Functions } } - /// Description for Gets the source control configuration of an app. + /// Gets the source control configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 201 (Created). @@ -80800,7 +81107,7 @@ public partial class Functions } } - /// Description for Gets the source control configuration of an app. + /// Gets the source control configuration of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 201 (Created). @@ -80943,7 +81250,7 @@ public partial class Functions } } - /// Description for Gets a Swift Virtual Network connection. + /// Gets a Swift Virtual Network connection. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -80987,7 +81294,7 @@ public partial class Functions } } - /// Description for Gets a Swift Virtual Network connection. + /// Gets a Swift Virtual Network connection. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production @@ -81035,7 +81342,7 @@ public partial class Functions } } - /// Description for Gets a Swift Virtual Network connection. + /// Gets a Swift Virtual Network connection. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -81170,7 +81477,7 @@ public partial class Functions } } - /// Description for Gets a Swift Virtual Network connection. + /// Gets a Swift Virtual Network connection. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -81299,9 +81606,7 @@ public partial class Functions } } - /// - /// Description for Gets a triggered web job by its ID for an app, or a deployment slot. - /// + /// Gets a triggered web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -81349,7 +81654,7 @@ public partial class Functions } /// - /// Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. + /// Gets a triggered web job's history by its ID for an app, , or a deployment slot. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -81401,7 +81706,7 @@ public partial class Functions } /// - /// Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. + /// Gets a triggered web job's history by its ID for an app, , or a deployment slot. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -81456,7 +81761,7 @@ public partial class Functions } /// - /// Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. + /// Gets a triggered web job's history by its ID for an app, , or a deployment slot. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -81609,7 +81914,7 @@ public partial class Functions } /// - /// Description for Gets a triggered web job's history by its ID for an app, , or a deployment slot. + /// Gets a triggered web job's history by its ID for an app, , or a deployment slot. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -81754,9 +82059,7 @@ public partial class Functions } } - /// - /// Description for Gets a triggered web job by its ID for an app, or a deployment slot. - /// + /// Gets a triggered web job by its ID for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -81806,9 +82109,7 @@ public partial class Functions } } - /// - /// Description for Gets a triggered web job by its ID for an app, or a deployment slot. - /// + /// Gets a triggered web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -81952,9 +82253,7 @@ public partial class Functions } } - /// - /// Description for Gets a triggered web job by its ID for an app, or a deployment slot. - /// + /// Gets a triggered web job by its ID for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -82093,7 +82392,7 @@ public partial class Functions } } - /// Description for Gets the details of a web, mobile, or API app. + /// Gets the details of a web, mobile, or API app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -82147,9 +82446,7 @@ public partial class Functions } } - /// - /// Description for Gets a virtual network the app (or deployment slot) is connected to by name. - /// + /// Gets a virtual network the app (or deployment slot) is connected to by name. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the virtual network. @@ -82195,7 +82492,7 @@ public partial class Functions } } - /// Description for Gets an app's Virtual Network gateway. + /// Gets an app's Virtual Network gateway. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the Virtual Network. @@ -82245,7 +82542,7 @@ public partial class Functions } } - /// Description for Gets an app's Virtual Network gateway. + /// Gets an app's Virtual Network gateway. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the Virtual Network. @@ -82299,7 +82596,7 @@ public partial class Functions } } - /// Description for Gets an app's Virtual Network gateway. + /// Gets an app's Virtual Network gateway. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -82449,7 +82746,7 @@ public partial class Functions } } - /// Description for Gets an app's Virtual Network gateway. + /// Gets an app's Virtual Network gateway. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -82593,9 +82890,7 @@ public partial class Functions } } - /// - /// Description for Gets a virtual network the app (or deployment slot) is connected to by name. - /// + /// Gets a virtual network the app (or deployment slot) is connected to by name. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the virtual network. @@ -82645,9 +82940,7 @@ public partial class Functions } } - /// - /// Description for Gets a virtual network the app (or deployment slot) is connected to by name. - /// + /// Gets a virtual network the app (or deployment slot) is connected to by name. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -82784,9 +83077,7 @@ public partial class Functions } } - /// - /// Description for Gets a virtual network the app (or deployment slot) is connected to by name. - /// + /// Gets a virtual network the app (or deployment slot) is connected to by name. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -82917,7 +83208,7 @@ public partial class Functions } } - /// Description for Get webjob information for an app, or a deployment slot. + /// Get webjob information for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the web job. @@ -82963,7 +83254,7 @@ public partial class Functions } } - /// Description for Get webjob information for an app, or a deployment slot. + /// Get webjob information for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the web job. @@ -83013,7 +83304,7 @@ public partial class Functions } } - /// Description for Get webjob information for an app, or a deployment slot. + /// Get webjob information for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -83150,7 +83441,7 @@ public partial class Functions } } - /// Description for Get webjob information for an app, or a deployment slot. + /// Get webjob information for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -83281,7 +83572,7 @@ public partial class Functions } } - /// Description for Gets the last lines of docker logs for the given site + /// Gets the last lines of docker logs for the given site /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -83326,7 +83617,7 @@ public partial class Functions } } - /// Description for Gets the last lines of docker logs for the given site + /// Gets the last lines of docker logs for the given site /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -83374,7 +83665,7 @@ public partial class Functions } } - /// Description for Gets the last lines of docker logs for the given site + /// Gets the last lines of docker logs for the given site /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -83514,7 +83805,7 @@ public partial class Functions } } - /// Description for Gets the last lines of docker logs for the given site + /// Gets the last lines of docker logs for the given site /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -83729,7 +84020,7 @@ public partial class Functions } } - /// Description for Install site extension on a web site, or a deployment slot. + /// Install site extension on a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Site extension name. @@ -83776,7 +84067,7 @@ public partial class Functions } } - /// Description for Install site extension on a web site, or a deployment slot. + /// Install site extension on a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Site extension name. @@ -83826,7 +84117,7 @@ public partial class Functions } } - /// Description for Install site extension on a web site, or a deployment slot. + /// Install site extension on a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 429 (429). @@ -84068,7 +84359,7 @@ public partial class Functions } } - /// Description for Install site extension on a web site, or a deployment slot. + /// Install site extension on a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 429 (429). @@ -84305,9 +84596,7 @@ public partial class Functions } } - /// - /// Description for Shows whether an app can be cloned to another resource group or subscription. - /// + /// Shows whether an app can be cloned to another resource group or subscription. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -84351,9 +84640,7 @@ public partial class Functions } } - /// - /// Description for Shows whether an app can be cloned to another resource group or subscription. - /// + /// Shows whether an app can be cloned to another resource group or subscription. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. By default, this API returns information on the production slot. @@ -84400,9 +84687,7 @@ public partial class Functions } } - /// - /// Description for Shows whether an app can be cloned to another resource group or subscription. - /// + /// Shows whether an app can be cloned to another resource group or subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -84534,9 +84819,7 @@ public partial class Functions } } - /// - /// Description for Shows whether an app can be cloned to another resource group or subscription. - /// + /// Shows whether an app can be cloned to another resource group or subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -84663,7 +84946,7 @@ public partial class Functions } } - /// Description for Get all apps for a subscription. + /// Get all apps for a subscription. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -84701,7 +84984,7 @@ public partial class Functions } } - /// Description for Gets the application settings of an app. + /// Gets the application settings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -84745,7 +85028,7 @@ public partial class Functions } } - /// Description for Gets the application settings of an app. + /// Gets the application settings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the application settings @@ -84793,7 +85076,7 @@ public partial class Functions } } - /// Description for Gets the application settings of an app. + /// Gets the application settings of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -84926,7 +85209,7 @@ public partial class Functions } } - /// Description for Gets the application settings of an app. + /// Gets the application settings of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -85053,7 +85336,7 @@ public partial class Functions } } - /// Description for Gets the Azure storage account configurations of an app. + /// Gets the Azure storage account configurations of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -85097,7 +85380,7 @@ public partial class Functions } } - /// Description for Gets the Azure storage account configurations of an app. + /// Gets the Azure storage account configurations of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account @@ -85145,7 +85428,7 @@ public partial class Functions } } - /// Description for Gets the Azure storage account configurations of an app. + /// Gets the Azure storage account configurations of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -85278,7 +85561,7 @@ public partial class Functions } } - /// Description for Gets the Azure storage account configurations of an app. + /// Gets the Azure storage account configurations of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -85406,9 +85689,8 @@ public partial class Functions } /// - /// Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, - /// such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the - /// request body. + /// Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure + /// Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. /// /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -85462,9 +85744,8 @@ public partial class Functions } /// - /// Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, - /// such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the - /// request body. + /// Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure + /// Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. /// /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -85521,9 +85802,8 @@ public partial class Functions } /// - /// Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, - /// such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the - /// request body. + /// Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure + /// Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. /// /// /// Information on backup request. @@ -85670,9 +85950,8 @@ public partial class Functions } /// - /// Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, - /// such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the - /// request body. + /// Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure + /// Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. /// /// /// Information on backup request. @@ -85813,7 +86092,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -85857,7 +86136,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get backups of the production @@ -85905,7 +86184,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -86038,7 +86317,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -86165,9 +86444,7 @@ public partial class Functions } } - /// - /// Description for Gets all web, mobile, and API apps in the specified resource group. - /// + /// Gets all web, mobile, and API apps in the specified resource group. /// Name of the resource group to which the resource belongs. /// Specify true to include deployment slots in results. The default is false, /// which only gives you the production slot of all apps. @@ -86212,9 +86489,7 @@ public partial class Functions } } - /// - /// Description for Gets all web, mobile, and API apps in the specified resource group. - /// + /// Gets all web, mobile, and API apps in the specified resource group. /// /// Specify true to include deployment slots in results. The default is false, /// which only gives you the production slot of all apps. @@ -86343,8 +86618,8 @@ public partial class Functions } /// - /// Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp - /// and the ID of the snapshot. + /// Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of + /// the snapshot. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -86390,8 +86665,8 @@ public partial class Functions } /// - /// Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp - /// and the ID of the snapshot. + /// Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of + /// the snapshot. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -86441,8 +86716,8 @@ public partial class Functions } /// - /// Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp - /// and the ID of the snapshot. + /// Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of + /// the snapshot. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -86579,8 +86854,8 @@ public partial class Functions } /// - /// Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp - /// and the ID of the snapshot. + /// Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of + /// the snapshot. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -86710,7 +86985,7 @@ public partial class Functions } } - /// Description for List the configurations of an app + /// List the configurations of an app /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -86754,7 +87029,7 @@ public partial class Functions } } - /// Description for List the configurations of an app + /// List the configurations of an app /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will return configuration for the @@ -86802,7 +87077,7 @@ public partial class Functions } } - /// Description for List the configurations of an app + /// List the configurations of an app /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -86935,7 +87210,7 @@ public partial class Functions } } - /// Description for List the configurations of an app + /// List the configurations of an app /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -87062,7 +87337,7 @@ public partial class Functions } } - /// Description for Gets the connection strings of an app. + /// Gets the connection strings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -87106,7 +87381,7 @@ public partial class Functions } } - /// Description for Gets the connection strings of an app. + /// Gets the connection strings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the connection settings for @@ -87154,7 +87429,7 @@ public partial class Functions } } - /// Description for Gets the connection strings of an app. + /// Gets the connection strings of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -87287,7 +87562,7 @@ public partial class Functions } } - /// Description for Gets the connection strings of an app. + /// Gets the connection strings of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -87414,7 +87689,7 @@ public partial class Functions } } - /// Description for List continuous web jobs for an app, or a deployment slot. + /// List continuous web jobs for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -87458,7 +87733,7 @@ public partial class Functions } } - /// Description for List continuous web jobs for an app, or a deployment slot. + /// List continuous web jobs for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production @@ -87506,7 +87781,7 @@ public partial class Functions } } - /// Description for List continuous web jobs for an app, or a deployment slot. + /// List continuous web jobs for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -87639,7 +87914,7 @@ public partial class Functions } } - /// Description for List continuous web jobs for an app, or a deployment slot. + /// List continuous web jobs for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -87766,9 +88041,7 @@ public partial class Functions } } - /// - /// Description for List deployment log for specific deployment for an app, or a deployment slot. - /// + /// List deployment log for specific deployment for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// The ID of a specific deployment. This is the value of the name property in the JSON response from "GET @@ -87816,9 +88089,7 @@ public partial class Functions } } - /// - /// Description for List deployment log for specific deployment for an app, or a deployment slot. - /// + /// List deployment log for specific deployment for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// The ID of a specific deployment. This is the value of the name property in the JSON response from "GET @@ -87870,9 +88141,7 @@ public partial class Functions } } - /// - /// Description for List deployment log for specific deployment for an app, or a deployment slot. - /// + /// List deployment log for specific deployment for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -88011,9 +88280,7 @@ public partial class Functions } } - /// - /// Description for List deployment log for specific deployment for an app, or a deployment slot. - /// + /// List deployment log for specific deployment for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -88146,7 +88413,7 @@ public partial class Functions } } - /// Description for List deployments for an app, or a deployment slot. + /// List deployments for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -88190,7 +88457,7 @@ public partial class Functions } } - /// Description for List deployments for an app, or a deployment slot. + /// List deployments for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API returns deployments for the production @@ -88238,7 +88505,7 @@ public partial class Functions } } - /// Description for List deployments for an app, or a deployment slot. + /// List deployments for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -88371,7 +88638,7 @@ public partial class Functions } } - /// Description for List deployments for an app, or a deployment slot. + /// List deployments for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -88498,7 +88765,7 @@ public partial class Functions } } - /// Description for Lists ownership identifiers for domain associated with web app. + /// Lists ownership identifiers for domain associated with web app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -88542,7 +88809,7 @@ public partial class Functions } } - /// Description for Lists ownership identifiers for domain associated with web app. + /// Lists ownership identifiers for domain associated with web app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production @@ -88590,7 +88857,7 @@ public partial class Functions } } - /// Description for Lists ownership identifiers for domain associated with web app. + /// Lists ownership identifiers for domain associated with web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -88725,7 +88992,7 @@ public partial class Functions } } - /// Description for Lists ownership identifiers for domain associated with web app. + /// Lists ownership identifiers for domain associated with web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -88854,9 +89121,7 @@ public partial class Functions } } - /// - /// Description for Get function keys for a function in a web site, or a deployment slot. - /// + /// Get function keys for a function in a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -88903,9 +89168,7 @@ public partial class Functions } } - /// - /// Description for Get function keys for a function in a web site, or a deployment slot. - /// + /// Get function keys for a function in a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -88955,9 +89218,7 @@ public partial class Functions } } - /// - /// Description for Get function keys for a function in a web site, or a deployment slot. - /// + /// Get function keys for a function in a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -89094,9 +89355,7 @@ public partial class Functions } } - /// - /// Description for Get function keys for a function in a web site, or a deployment slot. - /// + /// Get function keys for a function in a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -89228,9 +89487,7 @@ public partial class Functions } } - /// - /// Description for Get function secrets for a function in a web site, or a deployment slot. - /// + /// Get function secrets for a function in a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -89277,9 +89534,7 @@ public partial class Functions } } - /// - /// Description for Get function secrets for a function in a web site, or a deployment slot. - /// + /// Get function secrets for a function in a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Function name. @@ -89329,9 +89584,7 @@ public partial class Functions } } - /// - /// Description for Get function secrets for a function in a web site, or a deployment slot. - /// + /// Get function secrets for a function in a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -89468,9 +89721,7 @@ public partial class Functions } } - /// - /// Description for Get function secrets for a function in a web site, or a deployment slot. - /// + /// Get function secrets for a function in a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -89602,7 +89853,7 @@ public partial class Functions } } - /// Description for List the functions for a web site, or a deployment slot. + /// List the functions for a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -89647,7 +89898,7 @@ public partial class Functions } } - /// Description for List the functions for a web site, or a deployment slot. + /// List the functions for a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -89782,7 +90033,7 @@ public partial class Functions } } - /// Description for Get host secrets for a function app. + /// Get host secrets for a function app. /// Name of the resource group to which the resource belongs. /// Site name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -89826,7 +90077,7 @@ public partial class Functions } } - /// Description for Get host secrets for a function app. + /// Get host secrets for a function app. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the deployment slot. @@ -89873,7 +90124,7 @@ public partial class Functions } } - /// Description for Get host secrets for a function app. + /// Get host secrets for a function app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -90005,7 +90256,7 @@ public partial class Functions } } - /// Description for Get host secrets for a function app. + /// Get host secrets for a function app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -90132,7 +90383,7 @@ public partial class Functions } } - /// Description for Get hostname bindings for an app or a deployment slot. + /// Get hostname bindings for an app or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -90176,7 +90427,7 @@ public partial class Functions } } - /// Description for Get hostname bindings for an app or a deployment slot. + /// Get hostname bindings for an app or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production @@ -90224,7 +90475,7 @@ public partial class Functions } } - /// Description for Get hostname bindings for an app or a deployment slot. + /// Get hostname bindings for an app or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -90357,7 +90608,7 @@ public partial class Functions } } - /// Description for Get hostname bindings for an app or a deployment slot. + /// Get hostname bindings for an app or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -90484,9 +90735,7 @@ public partial class Functions } } - /// - /// Description for Retrieves all Service Bus Hybrid Connections used by this Web App. - /// + /// Retrieves all Service Bus Hybrid Connections used by this Web App. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -90530,9 +90779,7 @@ public partial class Functions } } - /// - /// Description for Retrieves all Service Bus Hybrid Connections used by this Web App. - /// + /// Retrieves all Service Bus Hybrid Connections used by this Web App. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The name of the slot for the web app. @@ -90579,9 +90826,7 @@ public partial class Functions } } - /// - /// Description for Retrieves all Service Bus Hybrid Connections used by this Web App. - /// + /// Retrieves all Service Bus Hybrid Connections used by this Web App. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -90713,9 +90958,7 @@ public partial class Functions } } - /// - /// Description for Retrieves all Service Bus Hybrid Connections used by this Web App. - /// + /// Retrieves all Service Bus Hybrid Connections used by this Web App. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -90842,7 +91085,7 @@ public partial class Functions } } - /// Description for List the functions for a web site, or a deployment slot. + /// List the functions for a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the deployment slot. @@ -90890,7 +91133,7 @@ public partial class Functions } } - /// Description for List the functions for a web site, or a deployment slot. + /// List the functions for a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -91030,7 +91273,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -91074,7 +91317,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API gets the production slot instances. @@ -91121,7 +91364,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -91253,7 +91496,7 @@ public partial class Functions } } - /// Description for Gets all scale-out instances of an app. + /// Gets all scale-out instances of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -91381,7 +91624,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -91435,7 +91678,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -91493,7 +91736,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -91649,7 +91892,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -91797,7 +92040,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -91851,7 +92094,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -91909,7 +92152,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -92065,7 +92308,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -92213,8 +92456,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -92265,8 +92507,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -92321,8 +92562,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -92471,8 +92711,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -92614,7 +92853,7 @@ public partial class Functions } } - /// Description for Gets the metadata of an app. + /// Gets the metadata of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -92658,7 +92897,7 @@ public partial class Functions } } - /// Description for Gets the metadata of an app. + /// Gets the metadata of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production @@ -92706,7 +92945,7 @@ public partial class Functions } } - /// Description for Gets the metadata of an app. + /// Gets the metadata of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -92839,7 +93078,7 @@ public partial class Functions } } - /// Description for Gets the metadata of an app. + /// Gets the metadata of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -92966,9 +93205,7 @@ public partial class Functions } } - /// - /// Description for Gets all network features used by the app (or deployment slot, if specified). - /// + /// Gets all network features used by the app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// The type of view. This can either be "summary" or "detailed". @@ -93015,9 +93252,7 @@ public partial class Functions } } - /// - /// Description for Gets all network features used by the app (or deployment slot, if specified). - /// + /// Gets all network features used by the app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// The type of view. This can either be "summary" or "detailed". @@ -93068,9 +93303,7 @@ public partial class Functions } } - /// - /// Description for Gets all network features used by the app (or deployment slot, if specified). - /// + /// Gets all network features used by the app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -93215,9 +93448,7 @@ public partial class Functions } } - /// - /// Description for Gets all network features used by the app (or deployment slot, if specified). - /// + /// Gets all network features used by the app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -93356,7 +93587,7 @@ public partial class Functions } } - /// Description for Gets perfmon counters for web app. + /// Gets perfmon counters for web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime @@ -93404,7 +93635,7 @@ public partial class Functions } } - /// Description for Gets perfmon counters for web app. + /// Gets perfmon counters for web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -93455,7 +93686,7 @@ public partial class Functions } } - /// Description for Gets perfmon counters for web app. + /// Gets perfmon counters for web app. /// /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime /// eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. @@ -93594,7 +93825,7 @@ public partial class Functions } } - /// Description for Gets perfmon counters for web app. + /// Gets perfmon counters for web app. /// /// Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime /// eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. @@ -93728,7 +93959,7 @@ public partial class Functions } } - /// Description for Gets the premier add-ons of an app. + /// Gets the premier add-ons of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -93772,7 +94003,7 @@ public partial class Functions } } - /// Description for Gets the premier add-ons of an app. + /// Gets the premier add-ons of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the @@ -93820,7 +94051,7 @@ public partial class Functions } } - /// Description for Gets the premier add-ons of an app. + /// Gets the premier add-ons of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -93953,7 +94184,7 @@ public partial class Functions } } - /// Description for Gets the premier add-ons of an app. + /// Gets the premier add-ons of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -94081,7 +94312,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -94131,7 +94362,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -94185,7 +94416,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -94333,7 +94564,7 @@ public partial class Functions } /// - /// Description for List module information for a process by its ID for a specific scaled-out instance in a web site. + /// List module information for a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -94475,7 +94706,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -94525,7 +94756,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -94579,7 +94810,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -94727,7 +94958,7 @@ public partial class Functions } /// - /// Description for List the threads in a process by its ID for a specific scaled-out instance in a web site. + /// List the threads in a process by its ID for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -94869,8 +95100,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -94917,8 +95147,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// Name of the resource group to which the resource belongs. /// Site name. @@ -94969,8 +95198,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -95113,8 +95341,7 @@ public partial class Functions } /// - /// Description for Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a - /// web site. + /// Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -95250,7 +95477,7 @@ public partial class Functions } } - /// Description for Get public certificates for an app or a deployment slot. + /// Get public certificates for an app or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -95294,7 +95521,7 @@ public partial class Functions } } - /// Description for Get public certificates for an app or a deployment slot. + /// Get public certificates for an app or a deployment slot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production @@ -95342,7 +95569,7 @@ public partial class Functions } } - /// Description for Get public certificates for an app or a deployment slot. + /// Get public certificates for an app or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -95475,7 +95702,7 @@ public partial class Functions } } - /// Description for Get public certificates for an app or a deployment slot. + /// Get public certificates for an app or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -95602,7 +95829,7 @@ public partial class Functions } } - /// Description for Gets the Git/FTP publishing credentials of an app. + /// Gets the Git/FTP publishing credentials of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -95646,7 +95873,7 @@ public partial class Functions } } - /// Description for Gets the Git/FTP publishing credentials of an app. + /// Gets the Git/FTP publishing credentials of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials @@ -95694,7 +95921,7 @@ public partial class Functions } } - /// Description for Gets the Git/FTP publishing credentials of an app. + /// Gets the Git/FTP publishing credentials of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -95928,7 +96155,7 @@ public partial class Functions } } - /// Description for Gets the Git/FTP publishing credentials of an app. + /// Gets the Git/FTP publishing credentials of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -96154,9 +96381,7 @@ public partial class Functions } } - /// - /// Description for Gets the publishing profile for an app (or deployment slot, if specified). - /// + /// Gets the publishing profile for an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -96206,9 +96431,7 @@ public partial class Functions } } - /// - /// Description for Gets the publishing profile for an app (or deployment slot, if specified). - /// + /// Gets the publishing profile for an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get the publishing profile for @@ -96262,9 +96485,7 @@ public partial class Functions } } - /// - /// Description for Gets the publishing profile for an app (or deployment slot, if specified). - /// + /// Gets the publishing profile for an app (or deployment slot, if specified). /// /// Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} /// to get a FileZilla publishing profile. @@ -96409,9 +96630,7 @@ public partial class Functions } } - /// - /// Description for Gets the publishing profile for an app (or deployment slot, if specified). - /// + /// Gets the publishing profile for an app (or deployment slot, if specified). /// /// Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} /// to get a FileZilla publishing profile. @@ -96551,7 +96770,7 @@ public partial class Functions } /// - /// Description for Gets hybrid connections configured for an app (or deployment slot, if specified). + /// Gets hybrid connections configured for an app (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -96597,7 +96816,7 @@ public partial class Functions } /// - /// Description for Gets hybrid connections configured for an app (or deployment slot, if specified). + /// Gets hybrid connections configured for an app (or deployment slot, if specified). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -96647,7 +96866,7 @@ public partial class Functions } /// - /// Description for Gets hybrid connections configured for an app (or deployment slot, if specified). + /// Gets hybrid connections configured for an app (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -96784,7 +97003,7 @@ public partial class Functions } /// - /// Description for Gets hybrid connections configured for an app (or deployment slot, if specified). + /// Gets hybrid connections configured for an app (or deployment slot, if specified). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -96912,7 +97131,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -96956,7 +97175,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get backups of the production @@ -97004,7 +97223,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -97137,7 +97356,7 @@ public partial class Functions } } - /// Description for Gets existing backups of an app. + /// Gets existing backups of an app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -97264,9 +97483,7 @@ public partial class Functions } } - /// - /// Description for Get list of siteextensions for a web site, or a deployment slot. - /// + /// Get list of siteextensions for a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -97311,9 +97528,7 @@ public partial class Functions } } - /// - /// Description for Get list of siteextensions for a web site, or a deployment slot. - /// + /// Get list of siteextensions for a web site, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the deployment slot. If a slot is not specified, the API uses the production slot. @@ -97361,9 +97576,7 @@ public partial class Functions } } - /// - /// Description for Get list of siteextensions for a web site, or a deployment slot. - /// + /// Get list of siteextensions for a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -97503,9 +97716,7 @@ public partial class Functions } } - /// - /// Description for Get list of siteextensions for a web site, or a deployment slot. - /// + /// Get list of siteextensions for a web site, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -97640,7 +97851,7 @@ public partial class Functions } } - /// Description for Gets the Push settings associated with web app. + /// Gets the Push settings associated with web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -97684,7 +97895,7 @@ public partial class Functions } } - /// Description for Gets the Push settings associated with web app. + /// Gets the Push settings associated with web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -97731,7 +97942,7 @@ public partial class Functions } } - /// Description for Gets the Push settings associated with web app. + /// Gets the Push settings associated with web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -97863,7 +98074,7 @@ public partial class Functions } } - /// Description for Gets the Push settings associated with web app. + /// Gets the Push settings associated with web app. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -97991,7 +98202,7 @@ public partial class Functions } /// - /// Description for Gets the names of app settings and connection strings that stick to the slot (not swapped). + /// Gets the names of app settings and connection strings that stick to the slot (not swapped). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -98037,7 +98248,7 @@ public partial class Functions } /// - /// Description for Gets the names of app settings and connection strings that stick to the slot (not swapped). + /// Gets the names of app settings and connection strings that stick to the slot (not swapped). /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -98165,9 +98376,7 @@ public partial class Functions } } - /// - /// Description for Get the difference in configuration settings between two web app slots. - /// + /// Get the difference in configuration settings between two web app slots. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -98216,9 +98425,7 @@ public partial class Functions } } - /// - /// Description for Get the difference in configuration settings between two web app slots. - /// + /// Get the difference in configuration settings between two web app slots. /// /// JSON object that contains the target slot name. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -98355,9 +98562,7 @@ public partial class Functions } } - /// - /// Description for Get the difference in configuration settings between two web app slots. - /// + /// Get the difference in configuration settings between two web app slots. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the source slot. If a slot is not specified, the production slot is used as the source slot. @@ -98409,9 +98614,7 @@ public partial class Functions } } - /// - /// Description for Get the difference in configuration settings between two web app slots. - /// + /// Get the difference in configuration settings between two web app slots. /// /// JSON object that contains the target slot name. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -98551,7 +98754,7 @@ public partial class Functions } } - /// Description for Gets an app's deployment slots. + /// Gets an app's deployment slots. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -98595,7 +98798,7 @@ public partial class Functions } } - /// Description for Gets an app's deployment slots. + /// Gets an app's deployment slots. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -98722,7 +98925,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user. + /// Returns all Snapshots to the user. /// Name of the resource group to which the resource belongs. /// Website Name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -98766,7 +98969,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user from DRSecondary endpoint. + /// Returns all Snapshots to the user from DRSecondary endpoint. /// Name of the resource group to which the resource belongs. /// Website Name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -98810,7 +99013,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user from DRSecondary endpoint. + /// Returns all Snapshots to the user from DRSecondary endpoint. /// Name of the resource group to which the resource belongs. /// Website Name. /// Website Slot. @@ -98857,7 +99060,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user from DRSecondary endpoint. + /// Returns all Snapshots to the user from DRSecondary endpoint. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -98991,7 +99194,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user from DRSecondary endpoint. + /// Returns all Snapshots to the user from DRSecondary endpoint. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -99118,7 +99321,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user. + /// Returns all Snapshots to the user. /// Name of the resource group to which the resource belongs. /// Website Name. /// Website Slot. @@ -99165,7 +99368,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user. + /// Returns all Snapshots to the user. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -99297,7 +99500,7 @@ public partial class Functions } } - /// Description for Returns all Snapshots to the user. + /// Returns all Snapshots to the user. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -99424,7 +99627,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -99468,7 +99671,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. @@ -99515,7 +99718,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -99647,7 +99850,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -99774,7 +99977,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -99818,7 +100021,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. @@ -99865,7 +100068,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -99997,7 +100200,7 @@ public partial class Functions } } - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -100124,9 +100327,7 @@ public partial class Functions } } - /// - /// Description for List a triggered web job's history for an app, or a deployment slot. - /// + /// List a triggered web job's history for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -100174,9 +100375,7 @@ public partial class Functions } } - /// - /// Description for List a triggered web job's history for an app, or a deployment slot. - /// + /// List a triggered web job's history for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -100227,9 +100426,7 @@ public partial class Functions } } - /// - /// Description for List a triggered web job's history for an app, or a deployment slot. - /// + /// List a triggered web job's history for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -100376,9 +100573,7 @@ public partial class Functions } } - /// - /// Description for List a triggered web job's history for an app, or a deployment slot. - /// + /// List a triggered web job's history for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -100518,7 +100713,7 @@ public partial class Functions } } - /// Description for List triggered web jobs for an app, or a deployment slot. + /// List triggered web jobs for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -100562,7 +100757,7 @@ public partial class Functions } } - /// Description for List triggered web jobs for an app, or a deployment slot. + /// List triggered web jobs for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production @@ -100610,7 +100805,7 @@ public partial class Functions } } - /// Description for List triggered web jobs for an app, or a deployment slot. + /// List triggered web jobs for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -100743,7 +100938,7 @@ public partial class Functions } } - /// Description for List triggered web jobs for an app, or a deployment slot. + /// List triggered web jobs for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -100870,9 +101065,7 @@ public partial class Functions } } - /// - /// Description for Gets the quota usage information of an app (or deployment slot, if specified). - /// + /// Gets the quota usage information of an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Return only information specified in the filter (using OData syntax). For example: $filter=(name.value @@ -100921,9 +101114,7 @@ public partial class Functions } } - /// - /// Description for Gets the quota usage information of an app (or deployment slot, if specified). - /// + /// Gets the quota usage information of an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get quota information of the @@ -100976,9 +101167,7 @@ public partial class Functions } } - /// - /// Description for Gets the quota usage information of an app (or deployment slot, if specified). - /// + /// Gets the quota usage information of an app (or deployment slot, if specified). /// /// Return only information specified in the filter (using OData syntax). For example: $filter=(name.value /// eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and @@ -101120,9 +101309,7 @@ public partial class Functions } } - /// - /// Description for Gets the quota usage information of an app (or deployment slot, if specified). - /// + /// Gets the quota usage information of an app (or deployment slot, if specified). /// /// Return only information specified in the filter (using OData syntax). For example: $filter=(name.value /// eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and @@ -101258,7 +101445,7 @@ public partial class Functions } } - /// Description for Get all apps for a subscription. + /// Get all apps for a subscription. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -101306,9 +101493,7 @@ public partial class Functions } } - /// - /// Description for Gets the virtual networks the app (or deployment slot) is connected to. - /// + /// Gets the virtual networks the app (or deployment slot) is connected to. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -101352,9 +101537,7 @@ public partial class Functions } } - /// - /// Description for Gets the virtual networks the app (or deployment slot) is connected to. - /// + /// Gets the virtual networks the app (or deployment slot) is connected to. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will get virtual network connections @@ -101402,9 +101585,7 @@ public partial class Functions } } - /// - /// Description for Gets the virtual networks the app (or deployment slot) is connected to. - /// + /// Gets the virtual networks the app (or deployment slot) is connected to. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -101537,9 +101718,7 @@ public partial class Functions } } - /// - /// Description for Gets the virtual networks the app (or deployment slot) is connected to. - /// + /// Gets the virtual networks the app (or deployment slot) is connected to. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -101666,7 +101845,7 @@ public partial class Functions } } - /// Description for List webjobs for an app, or a deployment slot. + /// List webjobs for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -101710,7 +101889,7 @@ public partial class Functions } } - /// Description for List webjobs for an app, or a deployment slot. + /// List webjobs for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of the deployment slot. If a slot is not specified, the API returns deployments for the production @@ -101758,7 +101937,7 @@ public partial class Functions } } - /// Description for List webjobs for an app, or a deployment slot. + /// List webjobs for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -101891,7 +102070,7 @@ public partial class Functions } } - /// Description for List webjobs for an app, or a deployment slot. + /// List webjobs for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -102084,9 +102263,7 @@ public partial class Functions } } - /// - /// Description for Migrates a local (in-app) MySql database to a remote MySql database. - /// + /// Migrates a local (in-app) MySql database to a remote MySql database. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -102135,9 +102312,7 @@ public partial class Functions } } - /// - /// Description for Migrates a local (in-app) MySql database to a remote MySql database. - /// + /// Migrates a local (in-app) MySql database to a remote MySql database. /// /// MySql migration options. /// a delegate that is called when the remote service returns 200 (OK). @@ -102371,7 +102546,7 @@ public partial class Functions } } - /// Description for Restores a web app. + /// Restores a web app. /// Azure subscription. /// Name of the resource group to which the resource belongs. /// Name of web app. @@ -102423,7 +102598,7 @@ public partial class Functions } } - /// Description for Restores a web app. + /// Restores a web app. /// /// Azure subscription. /// Migration migrationOptions. @@ -102662,7 +102837,7 @@ public partial class Functions } /// - /// Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Sets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// Name of the resource group to which the resource belongs. /// The name of the web app. @@ -102713,7 +102888,7 @@ public partial class Functions } /// - /// Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Sets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// Name of the resource group to which the resource belongs. /// The name of the web app. @@ -102767,7 +102942,7 @@ public partial class Functions } /// - /// Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Sets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// /// The information for the private access @@ -102909,7 +103084,7 @@ public partial class Functions } /// - /// Description for Sets data around private site access enablement and authorized Virtual Networks that can access the site. + /// Sets data around private site access enablement and authorized Virtual Networks that can access the site. /// /// /// The information for the private access @@ -103045,7 +103220,7 @@ public partial class Functions } } - /// Description for Reverts the configuration of an app to a previous snapshot. + /// Reverts the configuration of an app to a previous snapshot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// The ID of the snapshot to read. @@ -103092,7 +103267,7 @@ public partial class Functions } } - /// Description for Reverts the configuration of an app to a previous snapshot. + /// Reverts the configuration of an app to a previous snapshot. /// Name of the resource group to which the resource belongs. /// Name of the app. /// The ID of the snapshot to read. @@ -103143,7 +103318,7 @@ public partial class Functions } } - /// Description for Reverts the configuration of an app to a previous snapshot. + /// Reverts the configuration of an app to a previous snapshot. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -103283,7 +103458,7 @@ public partial class Functions } } - /// Description for Reverts the configuration of an app to a previous snapshot. + /// Reverts the configuration of an app to a previous snapshot. /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -103418,8 +103593,7 @@ public partial class Functions } /// - /// Description for Resets the configuration settings of the current slot if they were previously modified by calling the - /// API with POST. + /// Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -103465,8 +103639,7 @@ public partial class Functions } /// - /// Description for Resets the configuration settings of the current slot if they were previously modified by calling the - /// API with POST. + /// Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -103595,8 +103768,7 @@ public partial class Functions } /// - /// Description for Resets the configuration settings of the current slot if they were previously modified by calling the - /// API with POST. + /// Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -103646,8 +103818,7 @@ public partial class Functions } /// - /// Description for Resets the configuration settings of the current slot if they were previously modified by calling the - /// API with POST. + /// Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -103781,7 +103952,7 @@ public partial class Functions } } - /// Description for Restarts an app (or deployment slot, if specified). + /// Restarts an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Specify true to apply the configuration settings and restarts the app only if necessary. By @@ -103833,7 +104004,7 @@ public partial class Functions } } - /// Description for Restarts an app (or deployment slot, if specified). + /// Restarts an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will restart the production slot. @@ -103888,7 +104059,7 @@ public partial class Functions } } - /// Description for Restarts an app (or deployment slot, if specified). + /// Restarts an app (or deployment slot, if specified). /// /// Specify true to apply the configuration settings and restarts the app only if necessary. By /// default, the API always restarts and reprovisions the app. @@ -104032,7 +104203,7 @@ public partial class Functions } } - /// Description for Restarts an app (or deployment slot, if specified). + /// Restarts an app (or deployment slot, if specified). /// /// Specify true to apply the configuration settings and restarts the app only if necessary. By /// default, the API always restarts and reprovisions the app. @@ -104171,9 +104342,7 @@ public partial class Functions } } - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of the backup. @@ -104225,7 +104394,7 @@ public partial class Functions } } - /// Description for Restores an app from a backup blob in Azure Storage. + /// Restores an app from a backup blob in Azure Storage. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -104274,7 +104443,7 @@ public partial class Functions } } - /// Description for Restores an app from a backup blob in Azure Storage. + /// Restores an app from a backup blob in Azure Storage. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production @@ -104327,7 +104496,7 @@ public partial class Functions } } - /// Description for Restores an app from a backup blob in Azure Storage. + /// Restores an app from a backup blob in Azure Storage. /// /// Information on restore request . /// a delegate that is called when the remote service returns 200 (OK). @@ -104567,7 +104736,7 @@ public partial class Functions } } - /// Description for Restores an app from a backup blob in Azure Storage. + /// Restores an app from a backup blob in Azure Storage. /// /// Information on restore request . /// a delegate that is called when the remote service returns 200 (OK). @@ -104801,7 +104970,7 @@ public partial class Functions } } - /// Description for Restores a deleted web app to this web app. + /// Restores a deleted web app to this web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -104850,7 +105019,7 @@ public partial class Functions } } - /// Description for Restores a deleted web app to this web app. + /// Restores a deleted web app to this web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -104902,7 +105071,7 @@ public partial class Functions } } - /// Description for Restores a deleted web app to this web app. + /// Restores a deleted web app to this web app. /// /// Deleted web app restore information. /// a delegate that is called when the remote service returns 200 (OK). @@ -105141,7 +105310,7 @@ public partial class Functions } } - /// Description for Restores a deleted web app to this web app. + /// Restores a deleted web app to this web app. /// /// Deleted web app restore information. /// a delegate that is called when the remote service returns 200 (OK). @@ -105375,9 +105544,7 @@ public partial class Functions } } - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// ID of the backup. @@ -105433,9 +105600,7 @@ public partial class Functions } } - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// /// Information on restore request . /// a delegate that is called when the remote service returns 200 (OK). @@ -105680,7 +105845,7 @@ public partial class Functions } } - /// Description for Restores a web app from a snapshot. + /// Restores a web app from a snapshot. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -105730,7 +105895,7 @@ public partial class Functions } } - /// Description for Restores a web app from a snapshot. + /// Restores a web app from a snapshot. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -105783,7 +105948,7 @@ public partial class Functions } } - /// Description for Restores a web app from a snapshot. + /// Restores a web app from a snapshot. /// /// Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots /// API. @@ -106024,7 +106189,7 @@ public partial class Functions } } - /// Description for Restores a web app from a snapshot. + /// Restores a web app from a snapshot. /// /// Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots /// API. @@ -106260,9 +106425,7 @@ public partial class Functions } } - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// /// Information on restore request . /// a delegate that is called when the remote service returns 200 (OK). @@ -106501,7 +106664,7 @@ public partial class Functions } } - /// Description for Run a triggered web job for an app, or a deployment slot. + /// Run a triggered web job for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -106549,7 +106712,7 @@ public partial class Functions } } - /// Description for Run a triggered web job for an app, or a deployment slot. + /// Run a triggered web job for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -106600,7 +106763,7 @@ public partial class Functions } } - /// Description for Run a triggered web job for an app, or a deployment slot. + /// Run a triggered web job for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -106745,7 +106908,7 @@ public partial class Functions } } - /// Description for Run a triggered web job for an app, or a deployment slot. + /// Run a triggered web job for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -106885,7 +107048,7 @@ public partial class Functions } } - /// Description for Starts an app (or deployment slot, if specified). + /// Starts an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -106929,7 +107092,7 @@ public partial class Functions } } - /// Description for Start a continuous web job for an app, or a deployment slot. + /// Start a continuous web job for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -106977,7 +107140,7 @@ public partial class Functions } } - /// Description for Start a continuous web job for an app, or a deployment slot. + /// Start a continuous web job for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -107029,7 +107192,7 @@ public partial class Functions } } - /// Description for Start a continuous web job for an app, or a deployment slot. + /// Start a continuous web job for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -107175,7 +107338,7 @@ public partial class Functions } } - /// Description for Start a continuous web job for an app, or a deployment slot. + /// Start a continuous web job for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -107315,7 +107478,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The duration to keep capturing in seconds. @@ -107368,7 +107531,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The duration to keep capturing in seconds. @@ -107424,7 +107587,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// /// The duration to keep capturing in seconds. /// The maximum frame length in bytes (Optional). @@ -107668,7 +107831,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// /// The duration to keep capturing in seconds. /// The maximum frame length in bytes (Optional). @@ -107907,7 +108070,7 @@ public partial class Functions } } - /// Description for Starts an app (or deployment slot, if specified). + /// Starts an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will start the production slot. @@ -107954,7 +108117,7 @@ public partial class Functions } } - /// Description for Starts an app (or deployment slot, if specified). + /// Starts an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -108086,7 +108249,7 @@ public partial class Functions } } - /// Description for Starts an app (or deployment slot, if specified). + /// Starts an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -108140,9 +108303,7 @@ public partial class Functions } } - /// - /// Description for Start capturing network packets for the site (To be deprecated). - /// + /// Start capturing network packets for the site (To be deprecated). /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The duration to keep capturing in seconds. @@ -108195,7 +108356,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The duration to keep capturing in seconds. @@ -108248,7 +108409,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The duration to keep capturing in seconds. @@ -108304,7 +108465,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// /// The duration to keep capturing in seconds. /// The maximum frame length in bytes (Optional). @@ -108550,7 +108711,7 @@ public partial class Functions } } - /// Description for Start capturing network packets for the site. + /// Start capturing network packets for the site. /// /// The duration to keep capturing in seconds. /// The maximum frame length in bytes (Optional). @@ -108791,9 +108952,7 @@ public partial class Functions } } - /// - /// Description for Start capturing network packets for the site (To be deprecated). - /// + /// Start capturing network packets for the site (To be deprecated). /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The duration to keep capturing in seconds. @@ -108849,9 +109008,7 @@ public partial class Functions } } - /// - /// Description for Start capturing network packets for the site (To be deprecated). - /// + /// Start capturing network packets for the site (To be deprecated). /// /// The duration to keep capturing in seconds. /// The maximum frame length in bytes (Optional). @@ -108996,9 +109153,7 @@ public partial class Functions } } - /// - /// Description for Start capturing network packets for the site (To be deprecated). - /// + /// Start capturing network packets for the site (To be deprecated). /// /// The duration to keep capturing in seconds. /// The maximum frame length in bytes (Optional). @@ -109211,7 +109366,7 @@ public partial class Functions } } - /// Description for Stops an app (or deployment slot, if specified). + /// Stops an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -109255,7 +109410,7 @@ public partial class Functions } } - /// Description for Stop a continuous web job for an app, or a deployment slot. + /// Stop a continuous web job for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -109303,7 +109458,7 @@ public partial class Functions } } - /// Description for Stop a continuous web job for an app, or a deployment slot. + /// Stop a continuous web job for an app, or a deployment slot. /// Name of the resource group to which the resource belongs. /// Site name. /// Name of Web Job. @@ -109355,7 +109510,7 @@ public partial class Functions } } - /// Description for Stop a continuous web job for an app, or a deployment slot. + /// Stop a continuous web job for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -109501,7 +109656,7 @@ public partial class Functions } } - /// Description for Stop a continuous web job for an app, or a deployment slot. + /// Stop a continuous web job for an app, or a deployment slot. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 404 (NotFound). @@ -109641,7 +109796,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -109686,7 +109841,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The name of the slot for this web app. @@ -109734,7 +109889,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -109874,7 +110029,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -110009,7 +110164,7 @@ public partial class Functions } } - /// Description for Stops an app (or deployment slot, if specified). + /// Stops an app (or deployment slot, if specified). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will stop the production slot. @@ -110056,7 +110211,7 @@ public partial class Functions } } - /// Description for Stops an app (or deployment slot, if specified). + /// Stops an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -110188,7 +110343,7 @@ public partial class Functions } } - /// Description for Stops an app (or deployment slot, if specified). + /// Stops an app (or deployment slot, if specified). /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -110242,7 +110397,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -110287,7 +110442,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The name of the slot for this web app. @@ -110335,7 +110490,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -110475,7 +110630,7 @@ public partial class Functions } } - /// Description for Stop ongoing capturing network packets for the site. + /// Stop ongoing capturing network packets for the site. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns 204 (NoContent). @@ -110683,7 +110838,7 @@ public partial class Functions } } - /// Description for Swaps two deployment slots of an app. + /// Swaps two deployment slots of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the source slot. If a slot is not specified, the production slot is used as the source slot. @@ -110735,7 +110890,7 @@ public partial class Functions } } - /// Description for Swaps two deployment slots of an app. + /// Swaps two deployment slots of an app. /// /// JSON object that contains the target slot name. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -110797,7 +110952,7 @@ public partial class Functions } } - /// Description for Swaps two deployment slots of an app. + /// Swaps two deployment slots of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -110846,7 +111001,7 @@ public partial class Functions } } - /// Description for Swaps two deployment slots of an app. + /// Swaps two deployment slots of an app. /// /// JSON object that contains the target slot name. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -111257,7 +111412,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -111301,7 +111456,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. @@ -111348,7 +111503,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -111480,7 +111635,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -111607,7 +111762,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -111651,7 +111806,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. @@ -111698,7 +111853,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -111830,7 +111985,7 @@ public partial class Functions } } - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled @@ -111957,7 +112112,7 @@ public partial class Functions } } - /// Description for Sync web app repository. + /// Sync web app repository. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -112001,7 +112156,7 @@ public partial class Functions } } - /// Description for Sync web app repository. + /// Sync web app repository. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -112048,7 +112203,7 @@ public partial class Functions } } - /// Description for Sync web app repository. + /// Sync web app repository. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -112180,7 +112335,7 @@ public partial class Functions } } - /// Description for Sync web app repository. + /// Sync web app repository. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -112308,7 +112463,7 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// Name of the resource group to which the resource belongs. /// Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. @@ -112358,7 +112513,7 @@ public partial class Functions } } - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -112407,7 +112562,7 @@ public partial class Functions } } - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the application settings @@ -112460,7 +112615,7 @@ public partial class Functions } } - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// /// Application settings of the app. /// a delegate that is called when the remote service returns 200 (OK). @@ -112603,7 +112758,7 @@ public partial class Functions } } - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// /// Application settings of the app. /// a delegate that is called when the remote service returns 200 (OK). @@ -112738,9 +112893,7 @@ public partial class Functions } } - /// - /// Description for Updates the Authentication / Authorization settings associated with web app. - /// + /// Updates the Authentication / Authorization settings associated with web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -112789,9 +112942,7 @@ public partial class Functions } } - /// - /// Description for Updates the Authentication / Authorization settings associated with web app. - /// + /// Updates the Authentication / Authorization settings associated with web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -112843,9 +112994,7 @@ public partial class Functions } } - /// - /// Description for Updates the Authentication / Authorization settings associated with web app. - /// + /// Updates the Authentication / Authorization settings associated with web app. /// /// Auth settings associated with web app. /// a delegate that is called when the remote service returns 200 (OK). @@ -112985,9 +113134,7 @@ public partial class Functions } } - /// - /// Description for Updates the Authentication / Authorization settings associated with web app. - /// + /// Updates the Authentication / Authorization settings associated with web app. /// /// Auth settings associated with web app. /// a delegate that is called when the remote service returns 200 (OK). @@ -113122,7 +113269,7 @@ public partial class Functions } } - /// Description for Updates the Azure storage account configurations of an app. + /// Updates the Azure storage account configurations of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -113171,7 +113318,7 @@ public partial class Functions } } - /// Description for Updates the Azure storage account configurations of an app. + /// Updates the Azure storage account configurations of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account @@ -113224,7 +113371,7 @@ public partial class Functions } } - /// Description for Updates the Azure storage account configurations of an app. + /// Updates the Azure storage account configurations of an app. /// /// Azure storage accounts of the app. /// a delegate that is called when the remote service returns 200 (OK). @@ -113367,7 +113514,7 @@ public partial class Functions } } - /// Description for Updates the Azure storage account configurations of an app. + /// Updates the Azure storage account configurations of an app. /// /// Azure storage accounts of the app. /// a delegate that is called when the remote service returns 200 (OK). @@ -113502,7 +113649,7 @@ public partial class Functions } } - /// Description for Updates the backup configuration of an app. + /// Updates the backup configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -113551,7 +113698,7 @@ public partial class Functions } } - /// Description for Updates the backup configuration of an app. + /// Updates the backup configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the backup configuration @@ -113604,7 +113751,7 @@ public partial class Functions } } - /// Description for Updates the backup configuration of an app. + /// Updates the backup configuration of an app. /// /// Edited backup configuration. /// a delegate that is called when the remote service returns 200 (OK). @@ -113747,7 +113894,7 @@ public partial class Functions } } - /// Description for Updates the backup configuration of an app. + /// Updates the backup configuration of an app. /// /// Edited backup configuration. /// a delegate that is called when the remote service returns 200 (OK). @@ -113882,7 +114029,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -113931,7 +114078,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update configuration for the @@ -113984,7 +114131,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// JSON representation of a SiteConfig object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -114125,7 +114272,7 @@ public partial class Functions } } - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// JSON representation of a SiteConfig object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -114260,7 +114407,7 @@ public partial class Functions } } - /// Description for Replaces the connection strings of an app. + /// Replaces the connection strings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -114309,7 +114456,7 @@ public partial class Functions } } - /// Description for Replaces the connection strings of an app. + /// Replaces the connection strings of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the connection settings @@ -114362,7 +114509,7 @@ public partial class Functions } } - /// Description for Replaces the connection strings of an app. + /// Replaces the connection strings of an app. /// /// Connection strings of the app or deployment slot. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -114503,7 +114650,7 @@ public partial class Functions } } - /// Description for Replaces the connection strings of an app. + /// Replaces the connection strings of an app. /// /// Connection strings of the app or deployment slot. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -114638,7 +114785,7 @@ public partial class Functions } } - /// Description for Updates the logging configuration of an app. + /// Updates the logging configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -114688,7 +114835,7 @@ public partial class Functions } } - /// Description for Updates the logging configuration of an app. + /// Updates the logging configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the logging configuration @@ -114742,7 +114889,7 @@ public partial class Functions } } - /// Description for Updates the logging configuration of an app. + /// Updates the logging configuration of an app. /// /// A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" /// property. @@ -114887,7 +115034,7 @@ public partial class Functions } } - /// Description for Updates the logging configuration of an app. + /// Updates the logging configuration of an app. /// /// A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" /// property. @@ -115025,7 +115172,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -115078,7 +115225,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -115135,7 +115282,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// /// A JSON representation of the domain ownership properties. @@ -115284,7 +115431,7 @@ public partial class Functions } /// - /// Description for Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + /// Creates a domain ownership identifier for web app, or updates an existing ownership identifier. /// /// /// A JSON representation of the domain ownership properties. @@ -115426,13 +115573,11 @@ public partial class Functions } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. + /// Updates whether FTP is allowed on the site or not. /// Name of the resource group to which the resource belongs. - /// The name of the web app. - /// The namespace for this hybrid connection. - /// The relay name for this hybrid connection. + /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// The details of the hybrid connection. + /// Publishing Credentials Policies parameters. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -115441,7 +115586,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnection(string resourceGroupName, string name, string namespaceName, string relayName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateFtpAllowed(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -115455,10 +115600,7 @@ public partial class Functions + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Web/sites/" + global::System.Uri.EscapeDataString(name) - + "/hybridConnectionNamespaces/" - + global::System.Uri.EscapeDataString(namespaceName) - + "/relays/" - + global::System.Uri.EscapeDataString(relayName) + + "/basicPublishingCredentialsPolicies/ftp" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -115467,64 +115609,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.WebAppsUpdateHybridConnection_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// Description for Creates a new Hybrid Connection using a Service Bus relay. - /// Name of the resource group to which the resource belongs. - /// The name of the web app. - /// The namespace for this hybrid connection. - /// The relay name for this hybrid connection. - /// The name of the slot for the web app. - /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// The details of the hybrid connection. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlot(string resourceGroupName, string name, string namespaceName, string relayName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - var apiVersion = @"2019-08-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.Web/sites/" - + global::System.Uri.EscapeDataString(name) - + "/slots/" - + global::System.Uri.EscapeDataString(slot) - + "/hybridConnectionNamespaces/" - + global::System.Uri.EscapeDataString(namespaceName) - + "/relays/" - + global::System.Uri.EscapeDataString(relayName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -115533,13 +115618,13 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateHybridConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateFtpAllowed_Call(request,onOk,onDefault,eventListener,sender); } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. + /// Updates whether FTP is allowed on the site or not. /// - /// The details of the hybrid connection. + /// Publishing Credentials Policies parameters. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -115548,7 +115633,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateFtpAllowedViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -115556,18 +115641,15 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/hybridConnectionNamespaces/(?[^/]+)/relays/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/basicPublishingCredentialsPolicies/ftp$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; - var namespaceName = _match.Groups["namespaceName"].Value; - var relayName = _match.Groups["relayName"].Value; - var slot = _match.Groups["slot"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( @@ -115577,12 +115659,7 @@ public partial class Functions + resourceGroupName + "/providers/Microsoft.Web/sites/" + name - + "/slots/" - + slot - + "/hybridConnectionNamespaces/" - + namespaceName - + "/relays/" - + relayName + + "/basicPublishingCredentialsPolicies/ftp" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -115591,7 +115668,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -115600,11 +115677,11 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateHybridConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateFtpAllowed_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -115614,7 +115691,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsUpdateFtpAllowed_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -115632,7 +115709,7 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.HybridConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -115654,21 +115731,18 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// Name of the resource group to which the resource belongs. - /// The name of the web app. - /// The namespace for this hybrid connection. - /// The relay name for this hybrid connection. - /// The name of the slot for the web app. + /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// The details of the hybrid connection. + /// Publishing Credentials Policies parameters. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlot_Validate(string resourceGroupName, string name, string namespaceName, string relayName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsUpdateFtpAllowed_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -115677,17 +115751,18 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); - await eventListener.AssertNotNull(nameof(relayName),relayName); - await eventListener.AssertNotNull(nameof(slot),slot); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Description for Creates a new Hybrid Connection using a Service Bus relay. - /// + /// Creates a new Hybrid Connection using a Service Bus relay. + /// Name of the resource group to which the resource belongs. + /// The name of the web app. + /// The namespace for this hybrid connection. + /// The relay name for this hybrid connection. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// The details of the hybrid connection. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -115697,38 +115772,24 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnection(string resourceGroupName, string name, string namespaceName, string relayName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters using( NoSynchronizationContext ) { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/hybridConnectionNamespaces/(?[^/]+)/relays/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}'"); - } - - // replace URI parameters with values from identity - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var name = _match.Groups["name"].Value; - var namespaceName = _match.Groups["namespaceName"].Value; - var relayName = _match.Groups["relayName"].Value; - var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" - + subscriptionId + + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" - + resourceGroupName + + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Web/sites/" - + name + + global::System.Uri.EscapeDataString(name) + "/hybridConnectionNamespaces/" - + namespaceName + + global::System.Uri.EscapeDataString(namespaceName) + "/relays/" - + relayName + + global::System.Uri.EscapeDataString(relayName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -115750,142 +115811,14 @@ public partial class Functions } } - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.HybridConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. - /// + /// Creates a new Hybrid Connection using a Service Bus relay. /// Name of the resource group to which the resource belongs. /// The name of the web app. /// The namespace for this hybrid connection. /// The relay name for this hybrid connection. + /// The name of the slot for the web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// The details of the hybrid connection. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnection_Validate(string resourceGroupName, string name, string namespaceName, string relayName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); - await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); - await eventListener.AssertNotNull(nameof(relayName),relayName); - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// Description for Replaces the metadata of an app. - /// Name of the resource group to which the resource belongs. - /// Name of the app. - /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Edited metadata of the app or deployment slot. See example. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task WebAppsUpdateMetadata(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - var apiVersion = @"2019-08-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.Web/sites/" - + global::System.Uri.EscapeDataString(name) - + "/config/metadata" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.WebAppsUpdateMetadata_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// Description for Replaces the metadata of an app. - /// Name of the resource group to which the resource belongs. - /// Name of the app. - /// Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production - /// slot. - /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Edited metadata of the app or deployment slot. See example. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -115894,7 +115827,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlot(string resourceGroupName, string name, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlot(string resourceGroupName, string name, string namespaceName, string relayName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -115910,7 +115843,10 @@ public partial class Functions + global::System.Uri.EscapeDataString(name) + "/slots/" + global::System.Uri.EscapeDataString(slot) - + "/config/metadata" + + "/hybridConnectionNamespaces/" + + global::System.Uri.EscapeDataString(namespaceName) + + "/relays/" + + global::System.Uri.EscapeDataString(relayName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -115919,7 +115855,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -115928,13 +115864,13 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateMetadataSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateHybridConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); } } - /// Description for Replaces the metadata of an app. + /// Creates a new Hybrid Connection using a Service Bus relay. /// - /// Edited metadata of the app or deployment slot. See example. + /// The details of the hybrid connection. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -115943,7 +115879,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -115951,15 +115887,17 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/config/metadata$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/hybridConnectionNamespaces/(?[^/]+)/relays/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; + var namespaceName = _match.Groups["namespaceName"].Value; + var relayName = _match.Groups["relayName"].Value; var slot = _match.Groups["slot"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL @@ -115972,7 +115910,10 @@ public partial class Functions + name + "/slots/" + slot - + "/config/metadata" + + "/hybridConnectionNamespaces/" + + namespaceName + + "/relays/" + + relayName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -115981,7 +115922,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -115990,11 +115931,11 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateMetadataSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateHybridConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -116004,7 +115945,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -116022,7 +115963,7 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.HybridConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -116044,20 +115985,21 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// /// Name of the resource group to which the resource belongs. - /// Name of the app. - /// Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production - /// slot. + /// The name of the web app. + /// The namespace for this hybrid connection. + /// The relay name for this hybrid connection. + /// The name of the slot for the web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Edited metadata of the app or deployment slot. See example. + /// The details of the hybrid connection. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlot_Validate(string resourceGroupName, string name, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionSlot_Validate(string resourceGroupName, string name, string namespaceName, string relayName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -116066,6 +116008,8 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); + await eventListener.AssertNotNull(nameof(relayName),relayName); await eventListener.AssertNotNull(nameof(slot),slot); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); @@ -116073,9 +116017,9 @@ public partial class Functions } } - /// Description for Replaces the metadata of an app. + /// Creates a new Hybrid Connection using a Service Bus relay. /// - /// Edited metadata of the app or deployment slot. See example. + /// The details of the hybrid connection. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -116084,7 +116028,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateMetadataViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnectionViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -116092,15 +116036,17 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/config/metadata$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/hybridConnectionNamespaces/(?[^/]+)/relays/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; + var namespaceName = _match.Groups["namespaceName"].Value; + var relayName = _match.Groups["relayName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( @@ -116110,7 +116056,10 @@ public partial class Functions + resourceGroupName + "/providers/Microsoft.Web/sites/" + name - + "/config/metadata" + + "/hybridConnectionNamespaces/" + + namespaceName + + "/relays/" + + relayName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -116119,7 +116068,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -116128,11 +116077,11 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateMetadata_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateHybridConnection_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -116142,7 +116091,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadata_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -116160,7 +116109,7 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.HybridConnection.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -116182,18 +116131,20 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// Name of the resource group to which the resource belongs. - /// Name of the app. + /// The name of the web app. + /// The namespace for this hybrid connection. + /// The relay name for this hybrid connection. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Edited metadata of the app or deployment slot. See example. + /// The details of the hybrid connection. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadata_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsUpdateHybridConnection_Validate(string resourceGroupName, string name, string namespaceName, string relayName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHybridConnection body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -116202,18 +116153,19 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(namespaceName),namespaceName); + await eventListener.AssertNotNull(nameof(relayName),relayName); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Description for Updates a named add-on of an app. + /// Replaces the metadata of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. - /// Add-on name. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// A JSON representation of the edited premier add-on. + /// Edited metadata of the app or deployment slot. See example. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -116222,7 +116174,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOn(string resourceGroupName, string name, string premierAddOnName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateMetadata(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -116236,8 +116188,7 @@ public partial class Functions + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Web/sites/" + global::System.Uri.EscapeDataString(name) - + "/premieraddons/" - + global::System.Uri.EscapeDataString(premierAddOnName) + + "/config/metadata" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -116246,7 +116197,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -116255,18 +116206,17 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdatePremierAddOn_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateMetadata_Call(request,onOk,onDefault,eventListener,sender); } } - /// Description for Updates a named add-on of an app. + /// Replaces the metadata of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. - /// Add-on name. - /// Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the - /// production slot. + /// Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production + /// slot. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// A JSON representation of the edited premier add-on. + /// Edited metadata of the app or deployment slot. See example. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -116275,7 +116225,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOnSlot(string resourceGroupName, string name, string premierAddOnName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlot(string resourceGroupName, string name, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -116291,8 +116241,7 @@ public partial class Functions + global::System.Uri.EscapeDataString(name) + "/slots/" + global::System.Uri.EscapeDataString(slot) - + "/premieraddons/" - + global::System.Uri.EscapeDataString(premierAddOnName) + + "/config/metadata" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -116301,7 +116250,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -116310,13 +116259,13 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdatePremierAddOnSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateMetadataSlot_Call(request,onOk,onDefault,eventListener,sender); } } - /// Description for Updates a named add-on of an app. + /// Replaces the metadata of an app. /// - /// A JSON representation of the edited premier add-on. + /// Edited metadata of the app or deployment slot. See example. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -116325,7 +116274,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOnSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -116333,16 +116282,15 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/premieraddons/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/config/metadata$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; - var premierAddOnName = _match.Groups["premierAddOnName"].Value; var slot = _match.Groups["slot"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL @@ -116355,8 +116303,7 @@ public partial class Functions + name + "/slots/" + slot - + "/premieraddons/" - + premierAddOnName + + "/config/metadata" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -116365,7 +116312,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -116374,11 +116321,11 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdatePremierAddOnSlot_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateMetadataSlot_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -116388,7 +116335,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOnSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -116406,7 +116353,391 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.PremierAddOn.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production + /// slot. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// Edited metadata of the app or deployment slot. See example. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadataSlot_Validate(string resourceGroupName, string name, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(slot),slot); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Replaces the metadata of an app. + /// + /// Edited metadata of the app or deployment slot. See example. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdateMetadataViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/config/metadata$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/metadata'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/config/metadata" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdateMetadata_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadata_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// Edited metadata of the app or deployment slot. See example. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdateMetadata_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Updates a named add-on of an app. + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Add-on name. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// A JSON representation of the edited premier add-on. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOn(string resourceGroupName, string name, string premierAddOnName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/premieraddons/" + + global::System.Uri.EscapeDataString(premierAddOnName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdatePremierAddOn_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Updates a named add-on of an app. + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Add-on name. + /// Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the + /// production slot. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// A JSON representation of the edited premier add-on. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOnSlot(string resourceGroupName, string name, string premierAddOnName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/slots/" + + global::System.Uri.EscapeDataString(slot) + + "/premieraddons/" + + global::System.Uri.EscapeDataString(premierAddOnName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdatePremierAddOnSlot_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Updates a named add-on of an app. + /// + /// A JSON representation of the edited premier add-on. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOnSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/premieraddons/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var premierAddOnName = _match.Groups["premierAddOnName"].Value; + var slot = _match.Groups["slot"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/slots/" + + slot + + "/premieraddons/" + + premierAddOnName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdatePremierAddOnSlot_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOnSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.PremierAddOn.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -116459,7 +116790,7 @@ public partial class Functions } } - /// Description for Updates a named add-on of an app. + /// Updates a named add-on of an app. /// /// A JSON representation of the edited premier add-on. /// a delegate that is called when the remote service returns 200 (OK). @@ -116570,19 +116901,419 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Add-on name. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// A JSON representation of the edited premier add-on. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOn_Validate(string resourceGroupName, string name, string premierAddOnName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(premierAddOnName),premierAddOnName); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Name of the hybrid connection configuration. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// Details of the hybrid connection configuration. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnection(string resourceGroupName, string name, string entityName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/hybridconnection/" + + global::System.Uri.EscapeDataString(entityName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdateRelayServiceConnection_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Name of the hybrid connection configuration. + /// Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection + /// for the production slot. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// Details of the hybrid connection configuration. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlot(string resourceGroupName, string name, string entityName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.Web/sites/" + + global::System.Uri.EscapeDataString(name) + + "/slots/" + + global::System.Uri.EscapeDataString(slot) + + "/hybridconnection/" + + global::System.Uri.EscapeDataString(entityName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdateRelayServiceConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// + /// + /// Details of the hybrid connection configuration. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/hybridconnection/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var entityName = _match.Groups["entityName"].Value; + var slot = _match.Groups["slot"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/slots/" + + slot + + "/hybridconnection/" + + entityName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdateRelayServiceConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// + /// Actual wire call for method. + /// + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RelayServiceConnectionEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but + /// you will get validation events back. + /// + /// Name of the resource group to which the resource belongs. + /// Name of the app. + /// Name of the hybrid connection configuration. + /// Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection + /// for the production slot. + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// Details of the hybrid connection configuration. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlot_Validate(string resourceGroupName, string name, string entityName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); + await eventListener.AssertNotNull(nameof(name),name); + await eventListener.AssertNotNull(nameof(entityName),entityName); + await eventListener.AssertNotNull(nameof(slot),slot); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// + /// Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + /// + /// + /// Details of the hybrid connection configuration. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + var apiVersion = @"2019-08-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/hybridconnection/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}'"); + } + + // replace URI parameters with values from identity + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var name = _match.Groups["name"].Value; + var entityName = _match.Groups["entityName"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.Web/sites/" + + name + + "/hybridconnection/" + + entityName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.WebAppsUpdateRelayServiceConnection_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RelayServiceConnectionEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// /// Name of the resource group to which the resource belongs. /// Name of the app. - /// Add-on name. + /// Name of the hybrid connection configuration. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// A JSON representation of the edited premier add-on. + /// Details of the hybrid connection configuration. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdatePremierAddOn_Validate(string resourceGroupName, string name, string premierAddOnName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IPremierAddOnPatchResource body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnection_Validate(string resourceGroupName, string name, string entityName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -116591,21 +117322,18 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(premierAddOnName),premierAddOnName); + await eventListener.AssertNotNull(nameof(entityName),entityName); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - /// + /// Updates whether user publishing credentials are allowed on the site or not. /// Name of the resource group to which the resource belongs. /// Name of the app. - /// Name of the hybrid connection configuration. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Details of the hybrid connection configuration. + /// Publishing Credentials Policies parameters. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -116614,7 +117342,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnection(string resourceGroupName, string name, string entityName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateScmAllowed(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -116628,131 +117356,7 @@ public partial class Functions + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.Web/sites/" + global::System.Uri.EscapeDataString(name) - + "/hybridconnection/" - + global::System.Uri.EscapeDataString(entityName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.WebAppsUpdateRelayServiceConnection_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - /// - /// Name of the resource group to which the resource belongs. - /// Name of the app. - /// Name of the hybrid connection configuration. - /// Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection - /// for the production slot. - /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Details of the hybrid connection configuration. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlot(string resourceGroupName, string name, string entityName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - var apiVersion = @"2019-08-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.Web/sites/" - + global::System.Uri.EscapeDataString(name) - + "/slots/" - + global::System.Uri.EscapeDataString(slot) - + "/hybridconnection/" - + global::System.Uri.EscapeDataString(entityName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.WebAppsUpdateRelayServiceConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - /// - /// - /// Details of the hybrid connection configuration. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlotViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - var apiVersion = @"2019-08-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/slots/(?[^/]+)/hybridconnection/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}'"); - } - - // replace URI parameters with values from identity - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var name = _match.Groups["name"].Value; - var entityName = _match.Groups["entityName"].Value; - var slot = _match.Groups["slot"].Value; - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.Web/sites/" - + name - + "/slots/" - + slot - + "/hybridconnection/" - + entityName + + "/basicPublishingCredentialsPolicies/scm" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -116761,7 +117365,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -116770,98 +117374,13 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateRelayServiceConnectionSlot_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// - /// Actual wire call for method. - /// - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlot_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RelayServiceConnectionEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DefaultErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } + await this.WebAppsUpdateScmAllowed_Call(request,onOk,onDefault,eventListener,sender); } } - /// - /// Validation method for method. Call this like the actual call, but - /// you will get validation events back. - /// - /// Name of the resource group to which the resource belongs. - /// Name of the app. - /// Name of the hybrid connection configuration. - /// Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection - /// for the production slot. - /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Details of the hybrid connection configuration. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionSlot_Validate(string resourceGroupName, string name, string entityName, string slot, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) - { - using( NoSynchronizationContext ) - { - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); - await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(entityName),entityName); - await eventListener.AssertNotNull(nameof(slot),slot); - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// - /// Description for Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - /// + /// Updates whether user publishing credentials are allowed on the site or not. /// - /// Details of the hybrid connection configuration. + /// Publishing Credentials Policies parameters. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -116870,7 +117389,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnectionViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task WebAppsUpdateScmAllowedViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { var apiVersion = @"2019-08-01"; // Constant Parameters @@ -116878,16 +117397,15 @@ public partial class Functions { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/hybridconnection/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.Web/sites/(?[^/]+)/basicPublishingCredentialsPolicies/scm$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hybridconnection/{entityName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm'"); } // replace URI parameters with values from identity var resourceGroupName = _match.Groups["resourceGroupName"].Value; var name = _match.Groups["name"].Value; - var entityName = _match.Groups["entityName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( @@ -116897,8 +117415,7 @@ public partial class Functions + resourceGroupName + "/providers/Microsoft.Web/sites/" + name - + "/hybridconnection/" - + entityName + + "/basicPublishingCredentialsPolicies/scm" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -116907,7 +117424,7 @@ public partial class Functions // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -116916,11 +117433,11 @@ public partial class Functions request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.WebAppsUpdateRelayServiceConnection_Call(request,onOk,onDefault,eventListener,sender); + await this.WebAppsUpdateScmAllowed_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -116930,7 +117447,7 @@ public partial class Functions /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task WebAppsUpdateScmAllowed_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -116948,7 +117465,7 @@ public partial class Functions case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RelayServiceConnectionEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity.FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -116970,19 +117487,18 @@ public partial class Functions } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// Name of the resource group to which the resource belongs. /// Name of the app. - /// Name of the hybrid connection configuration. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - /// Details of the hybrid connection configuration. + /// Publishing Credentials Policies parameters. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task WebAppsUpdateRelayServiceConnection_Validate(string resourceGroupName, string name, string entityName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRelayServiceConnectionEntity body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task WebAppsUpdateScmAllowed_Validate(string resourceGroupName, string name, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity body, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -116991,14 +117507,13 @@ public partial class Functions await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertRegEx(nameof(resourceGroupName),resourceGroupName,@"^[-\w\._\(\)]+[^\.]$"); await eventListener.AssertNotNull(nameof(name),name); - await eventListener.AssertNotNull(nameof(entityName),entityName); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Description for Updates the Push settings associated with web app. + /// Updates the Push settings associated with web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -117047,7 +117562,7 @@ public partial class Functions } } - /// Description for Updates the Push settings associated with web app. + /// Updates the Push settings associated with web app. /// Name of the resource group to which the resource belongs. /// Name of web app. /// Name of web app slot. If not specified then will default to production slot. @@ -117099,7 +117614,7 @@ public partial class Functions } } - /// Description for Updates the Push settings associated with web app. + /// Updates the Push settings associated with web app. /// /// Push settings associated with web app. /// a delegate that is called when the remote service returns 200 (OK). @@ -117239,7 +117754,7 @@ public partial class Functions } } - /// Description for Updates the Push settings associated with web app. + /// Updates the Push settings associated with web app. /// /// Push settings associated with web app. /// a delegate that is called when the remote service returns 200 (OK). @@ -117375,12 +117890,11 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// Name of the resource group to which the resource belongs. /// Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - /// Name of the deployment slot to create or update. By default, this API attempts to create or modify - /// the production slot. + /// Name of the deployment slot to create or update. The name 'production' is reserved. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// A JSON representation of the app properties. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -117430,8 +117944,7 @@ public partial class Functions } /// - /// Description for Updates the names of application settings and connection string that remain with the slot during swap - /// operation. + /// Updates the names of application settings and connection string that remain with the slot during swap operation. /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -117482,8 +117995,7 @@ public partial class Functions } /// - /// Description for Updates the names of application settings and connection string that remain with the slot during swap - /// operation. + /// Updates the names of application settings and connection string that remain with the slot during swap operation. /// /// /// Names of application settings and connection strings. See example. @@ -117620,7 +118132,7 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// A JSON representation of the app properties. See example. @@ -117745,8 +118257,7 @@ public partial class Functions /// /// Name of the resource group to which the resource belongs. /// Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - /// Name of the deployment slot to create or update. By default, this API attempts to create or modify - /// the production slot. + /// Name of the deployment slot to create or update. The name 'production' is reserved. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). /// A JSON representation of the app properties. See example. /// an instance that will receive events. @@ -117769,7 +118280,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). @@ -117820,7 +118331,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the deployment slot. If a slot is not specified, the API will update the source control configuration @@ -117875,7 +118386,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// /// JSON representation of a SiteSourceControl object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -118032,7 +118543,7 @@ public partial class Functions } } - /// Description for Updates the source control configuration of an app. + /// Updates the source control configuration of an app. /// /// JSON representation of a SiteSourceControl object. See example. /// a delegate that is called when the remote service returns 200 (OK). @@ -118184,8 +118695,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// Name of the resource group to which the resource belongs. @@ -118237,8 +118748,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// Name of the resource group to which the resource belongs. @@ -118294,8 +118805,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// @@ -118441,8 +118952,8 @@ public partial class Functions } /// - /// Description for Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing - /// a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + /// Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against + /// this resource, and 2) that the target Subnet has already been delegated, and is not /// in use by another App Service Plan other than the one this App is in. /// /// @@ -118582,7 +119093,7 @@ public partial class Functions } /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// A JSON representation of the app properties. See example. @@ -118643,7 +119154,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -118695,9 +119206,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the Virtual Network. @@ -118751,9 +119260,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// Name of the resource group to which the resource belongs. /// Name of the app. /// Name of the Virtual Network. @@ -118811,9 +119318,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// /// The properties to update this gateway with. /// a delegate that is called when the remote service returns 200 (OK). @@ -118965,9 +119470,7 @@ public partial class Functions } } - /// - /// Description for Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). - /// + /// Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH). /// /// The properties to update this gateway with. /// a delegate that is called when the remote service returns 200 (OK). @@ -119112,7 +119615,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// Name of the resource group to which the resource belongs. /// Name of the app. @@ -119169,7 +119672,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// /// Properties of the Virtual Network connection. See example. @@ -119316,7 +119819,7 @@ public partial class Functions } /// - /// Description for Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). + /// Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH). /// /// /// Properties of the Virtual Network connection. See example. diff --git a/src/Functions/generated/api/Models/Any.PowerShell.cs b/src/Functions/generated/api/Models/Any.PowerShell.cs index 86c95dbf5571..5b24b53283a5 100644 --- a/src/Functions/generated/api/Models/Any.PowerShell.cs +++ b/src/Functions/generated/api/Models/Any.PowerShell.cs @@ -116,7 +116,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny Deseriali /// 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.Functions.Models.IAny FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Any.TypeConverter.cs b/src/Functions/generated/api/Models/Any.TypeConverter.cs index 19d6dcc81558..12165aa5cbf7 100644 --- a/src/Functions/generated/api/Models/Any.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Any.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AnyTypeConverter : global::System.Management.Automation.PST 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Any.json.cs b/src/Functions/generated/api/Models/Any.json.cs index 7b47520461c3..431e2434c9ed 100644 --- a/src/Functions/generated/api/Models/Any.json.cs +++ b/src/Functions/generated/api/Models/Any.json.cs @@ -20,7 +20,7 @@ public partial class Any partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Any /// /// 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 Any /// /// 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/Functions/generated/api/Models/Api10/AzureEntityResource.PowerShell.cs b/src/Functions/generated/api/Models/Api10/AzureEntityResource.PowerShell.cs index e447c8eca185..ff2f542dd20c 100644 --- a/src/Functions/generated/api/Models/Api10/AzureEntityResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api10/AzureEntityResource.PowerShell.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; /// - /// The resource model definition for a Azure Resource Manager resource with an etag. + /// The resource model definition for an Azure Resource Manager resource with an etag. /// [System.ComponentModel.TypeConverter(typeof(AzureEntityResourceTypeConverter))] public partial class AzureEntityResource @@ -150,7 +150,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEn /// 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.Functions.Models.Api10.IAzureEntityResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -158,7 +158,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEn /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); } - /// The resource model definition for a Azure Resource Manager resource with an etag. + /// The resource model definition for an Azure Resource Manager resource with an etag. [System.ComponentModel.TypeConverter(typeof(AzureEntityResourceTypeConverter))] public partial interface IAzureEntityResource diff --git a/src/Functions/generated/api/Models/Api10/AzureEntityResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api10/AzureEntityResource.TypeConverter.cs index 4105613534ed..b919e38a38e2 100644 --- a/src/Functions/generated/api/Models/Api10/AzureEntityResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api10/AzureEntityResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AzureEntityResourceTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api10/AzureEntityResource.cs b/src/Functions/generated/api/Models/Api10/AzureEntityResource.cs index 9053248ffd99..ee66de391505 100644 --- a/src/Functions/generated/api/Models/Api10/AzureEntityResource.cs +++ b/src/Functions/generated/api/Models/Api10/AzureEntityResource.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// - /// The resource model definition for a Azure Resource Manager resource with an etag. + /// The resource model definition for an Azure Resource Manager resource with an etag. /// public partial class AzureEntityResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEntityResource, @@ -29,7 +29,7 @@ public partial class AzureEntityResource : public string Etag { get => this._etag; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -51,7 +51,7 @@ public partial class AzureEntityResource : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -66,7 +66,7 @@ public AzureEntityResource() /// 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.Functions.Runtime.IEventListener eventListener) { @@ -74,7 +74,7 @@ public AzureEntityResource() await eventListener.AssertObjectIsValid(nameof(__resourceAutoGenerated), __resourceAutoGenerated); } } - /// The resource model definition for a Azure Resource Manager resource with an etag. + /// The resource model definition for an Azure Resource Manager resource with an etag. public partial interface IAzureEntityResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated @@ -89,7 +89,7 @@ public partial interface IAzureEntityResource : string Etag { get; } } - /// The resource model definition for a Azure Resource Manager resource with an etag. + /// The resource model definition for an Azure Resource Manager resource with an etag. internal partial interface IAzureEntityResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal { diff --git a/src/Functions/generated/api/Models/Api10/AzureEntityResource.json.cs b/src/Functions/generated/api/Models/Api10/AzureEntityResource.json.cs index 1f33127bf737..59777d7f1657 100644 --- a/src/Functions/generated/api/Models/Api10/AzureEntityResource.json.cs +++ b/src/Functions/generated/api/Models/Api10/AzureEntityResource.json.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// - /// The resource model definition for a Azure Resource Manager resource with an etag. + /// The resource model definition for an Azure Resource Manager resource with an etag. /// public partial class AzureEntityResource { @@ -22,7 +22,7 @@ public partial class AzureEntityResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureEntityResource /// /// 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 AzureEntityResource /// /// 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/Functions/generated/api/Models/Api10/ProxyResource.PowerShell.cs b/src/Functions/generated/api/Models/Api10/ProxyResource.PowerShell.cs index 5682e154e848..aa2b12e89dcf 100644 --- a/src/Functions/generated/api/Models/Api10/ProxyResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api10/ProxyResource.PowerShell.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; /// - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location /// [System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))] public partial class ProxyResource @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IProxyRe /// 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.Functions.Models.Api10.IProxyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -150,7 +150,7 @@ internal ProxyResource(global::System.Management.Automation.PSObject content) /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); } - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location [System.ComponentModel.TypeConverter(typeof(ProxyResourceTypeConverter))] public partial interface IProxyResource diff --git a/src/Functions/generated/api/Models/Api10/ProxyResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api10/ProxyResource.TypeConverter.cs index 331c2753c844..e9e7fa7a17c3 100644 --- a/src/Functions/generated/api/Models/Api10/ProxyResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api10/ProxyResource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ProxyResourceTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api10/ProxyResource.cs b/src/Functions/generated/api/Models/Api10/ProxyResource.cs index d72959be622c..51d9d07f01ce 100644 --- a/src/Functions/generated/api/Models/Api10/ProxyResource.cs +++ b/src/Functions/generated/api/Models/Api10/ProxyResource.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location /// public partial class ProxyResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IProxyResource, @@ -22,7 +22,7 @@ public partial class ProxyResource : private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated __resourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ResourceAutoGenerated(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -41,7 +41,7 @@ public partial class ProxyResource : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -56,7 +56,7 @@ public ProxyResource() /// 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.Functions.Runtime.IEventListener eventListener) { @@ -64,14 +64,14 @@ public ProxyResource() await eventListener.AssertObjectIsValid(nameof(__resourceAutoGenerated), __resourceAutoGenerated); } } - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location public partial interface IProxyResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated { } - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location internal partial interface IProxyResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal { diff --git a/src/Functions/generated/api/Models/Api10/ProxyResource.json.cs b/src/Functions/generated/api/Models/Api10/ProxyResource.json.cs index fb894f0a90da..c6121a32b460 100644 --- a/src/Functions/generated/api/Models/Api10/ProxyResource.json.cs +++ b/src/Functions/generated/api/Models/Api10/ProxyResource.json.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; /// - /// The resource model definition for a ARM proxy resource. It will have everything other than required location and tags + /// The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location /// public partial class ProxyResource { @@ -22,7 +22,7 @@ public partial class ProxyResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProxyResource /// /// 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 ProxyResource /// /// 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/Functions/generated/api/Models/Api10/ResourceAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.PowerShell.cs index b385900b48de..72fc452ab55f 100644 --- a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.PowerShell.cs @@ -7,6 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 { using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + /// + /// Common fields that are returned in the response for all Azure Resource Manager resources + /// [System.ComponentModel.TypeConverter(typeof(ResourceAutoGeneratedTypeConverter))] public partial class ResourceAutoGenerated { @@ -81,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.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.Functions.Models.Api10.IResourceAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -147,6 +150,7 @@ internal ResourceAutoGenerated(global::System.Management.Automation.PSObject con /// a containing this model serialized to JSON text. public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); } + /// Common fields that are returned in the response for all Azure Resource Manager resources [System.ComponentModel.TypeConverter(typeof(ResourceAutoGeneratedTypeConverter))] public partial interface IResourceAutoGenerated diff --git a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.TypeConverter.cs index cd4e42162eca..e6406f13ceff 100644 --- a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceAutoGeneratedTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.cs b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.cs index 280288174c2f..d0f6590a5114 100644 --- a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.cs +++ b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.cs @@ -7,6 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + /// + /// Common fields that are returned in the response for all Azure Resource Manager resources + /// public partial class ResourceAutoGenerated : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal @@ -16,7 +19,7 @@ public partial class ResourceAutoGenerated : private string _id; /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] public string Id { get => this._id; } @@ -41,7 +44,7 @@ public partial class ResourceAutoGenerated : private string _type; /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] public string Type { get => this._type; } @@ -52,16 +55,17 @@ public ResourceAutoGenerated() } } + /// Common fields that are returned in the response for all Azure Resource Manager resources public partial interface IResourceAutoGenerated : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable { /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, ReadOnly = true, - Description = @"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + Description = @"Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] string Id { get; } @@ -74,28 +78,29 @@ public partial interface IResourceAutoGenerated : PossibleTypes = new [] { typeof(string) })] string Name { get; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, ReadOnly = true, - Description = @"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.", + Description = @"The type of the resource. E.g. ""Microsoft.Compute/virtualMachines"" or ""Microsoft.Storage/storageAccounts""", SerializedName = @"type", PossibleTypes = new [] { typeof(string) })] string Type { get; } } + /// Common fields that are returned in the response for all Azure Resource Manager resources internal partial interface IResourceAutoGeneratedInternal { /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// string Id { get; set; } /// The name of the resource string Name { get; set; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// string Type { get; set; } diff --git a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.json.cs index 9105fc89e8ec..64ca575cea3d 100644 --- a/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api10/ResourceAutoGenerated.json.cs @@ -7,6 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + /// + /// Common fields that are returned in the response for all Azure Resource Manager resources + /// public partial class ResourceAutoGenerated { @@ -19,7 +22,7 @@ public partial class ResourceAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 +32,8 @@ public partial class ResourceAutoGenerated /// /// 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 +45,8 @@ public partial class ResourceAutoGenerated /// /// 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/Functions/generated/api/Models/Api10/TrackedResource.PowerShell.cs b/src/Functions/generated/api/Models/Api10/TrackedResource.PowerShell.cs index 568fe118077e..462dfb1a6b91 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResource.PowerShell.cs @@ -7,7 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 { using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; - /// The resource model definition for a ARM tracked top level resource + /// + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + /// [System.ComponentModel.TypeConverter(typeof(TrackedResourceTypeConverter))] public partial class TrackedResource { @@ -82,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITracked /// 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.Functions.Models.Api10.ITrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -164,7 +166,7 @@ internal TrackedResource(global::System.Management.Automation.PSObject content) AfterDeserializePSObject(content); } } - /// The resource model definition for a ARM tracked top level resource + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' [System.ComponentModel.TypeConverter(typeof(TrackedResourceTypeConverter))] public partial interface ITrackedResource diff --git a/src/Functions/generated/api/Models/Api10/TrackedResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api10/TrackedResource.TypeConverter.cs index 17ea911e6676..4f2aae831a59 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TrackedResourceTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api10/TrackedResource.cs b/src/Functions/generated/api/Models/Api10/TrackedResource.cs index 337b7e29ff66..58b075efc621 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResource.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResource.cs @@ -7,7 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; - /// The resource model definition for a ARM tracked top level resource + /// + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + /// public partial class TrackedResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResource, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceInternal, @@ -20,7 +22,7 @@ public partial class TrackedResource : private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated __resourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ResourceAutoGenerated(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -53,7 +55,7 @@ public partial class TrackedResource : public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.TrackedResourceTags()); set => this._tag = value; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -68,7 +70,7 @@ public TrackedResource() /// 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.Functions.Runtime.IEventListener eventListener) { @@ -76,7 +78,7 @@ public TrackedResource() await eventListener.AssertObjectIsValid(nameof(__resourceAutoGenerated), __resourceAutoGenerated); } } - /// The resource model definition for a ARM tracked top level resource + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' public partial interface ITrackedResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated @@ -99,7 +101,7 @@ public partial interface ITrackedResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get; set; } } - /// The resource model definition for a ARM tracked top level resource + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' internal partial interface ITrackedResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal { diff --git a/src/Functions/generated/api/Models/Api10/TrackedResource.json.cs b/src/Functions/generated/api/Models/Api10/TrackedResource.json.cs index f71f3d668278..132378552726 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResource.json.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResource.json.cs @@ -7,7 +7,9 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10 { using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; - /// The resource model definition for a ARM tracked top level resource + /// + /// The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + /// public partial class TrackedResource { @@ -20,7 +22,7 @@ public partial class TrackedResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 +32,8 @@ public partial class TrackedResource /// /// 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 +45,8 @@ public partial class TrackedResource /// /// 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/Functions/generated/api/Models/Api10/TrackedResourceTags.PowerShell.cs b/src/Functions/generated/api/Models/Api10/TrackedResourceTags.PowerShell.cs index 93575e482bfa..1546dd61546e 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResourceTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResourceTags.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITracked /// 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.Functions.Models.Api10.ITrackedResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api10/TrackedResourceTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api10/TrackedResourceTags.TypeConverter.cs index aa736d6efa21..3248e661744b 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResourceTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResourceTags.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TrackedResourceTagsTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api10/TrackedResourceTags.json.cs b/src/Functions/generated/api/Models/Api10/TrackedResourceTags.json.cs index 35bfe8fc9594..579137a97f37 100644 --- a/src/Functions/generated/api/Models/Api10/TrackedResourceTags.json.cs +++ b/src/Functions/generated/api/Models/Api10/TrackedResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class TrackedResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TrackedResourceTags /// /// 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 TrackedResourceTags /// /// 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/Functions/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs index ed6c61e49adf..58345ec6e36b 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.PowerShell.cs @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IA /// 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.Functions.Models.Api20150501.IApiKeyRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs index b061164f644e..90853ea34fb9 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ApiKeyRequestTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.json.cs b/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.json.cs index 1d2399198191..12b0853b7ab0 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApiKeyRequest.json.cs @@ -20,7 +20,7 @@ public partial class ApiKeyRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApiKeyRequest /// /// 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 ApiKeyRequest /// /// 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/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.PowerShell.cs index 892998b2e506..bac8a3169eb7 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.PowerShell.cs @@ -270,7 +270,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IA /// 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.Functions.Models.Api20150501.IApplicationInsightsComponent FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.TypeConverter.cs index 4198c496c2a3..0a81ec088efd 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ApplicationInsightsComponentTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.cs index cb5dab295716..76db728999d3 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.cs @@ -168,7 +168,7 @@ public ApplicationInsightsComponent() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.json.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.json.cs index fe895fd2503f..0fd4af534420 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponent.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponent partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationInsightsComponent /// /// 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 ApplicationInsightsComponent /// /// 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/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs index 1f932a758984..3088bac1c53b 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.PowerShell.cs @@ -166,7 +166,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IA /// 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.Functions.Models.Api20150501.IApplicationInsightsComponentApiKey FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs index c989285af887..7f0af7e8c093 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ApplicationInsightsComponentApiKeyTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs index 3d51bf5b6532..38fbb123d1da 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKey.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentApiKey partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationInsightsComponentApiKey /// /// 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 ApplicationInsightsComponentApiKey /// /// 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/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs index 9ec989f45123..7ad20c542c26 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.PowerShell.cs @@ -127,7 +127,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IA /// 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.Functions.Models.Api20150501.IApplicationInsightsComponentApiKeyListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs index fa4c6b3f3d0f..a4ff410732d9 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ApplicationInsightsComponentApiKeyListResultTypeConverter : 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs index c77f3bccf543..7966f9976c58 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentApiKeyListResult.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentApiKeyListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationInsightsComponentApiKeyListResult /// /// 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 ApplicationInsightsComponentApiKeyListResult /// /// 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/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.PowerShell.cs index ba08cc361048..c4cb7b2fa50f 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.PowerShell.cs @@ -135,7 +135,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IA /// 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.Functions.Models.Api20150501.IApplicationInsightsComponentListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.TypeConverter.cs index ef74c0b1f24a..59b79afcd847 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ApplicationInsightsComponentListResultTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.json.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.json.cs index 8e6e7b742eb2..416287d03f35 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentListResult.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationInsightsComponentListResult /// /// 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 ApplicationInsightsComponentListResult /// /// 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/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.PowerShell.cs index 5fdbded6b9cb..849245654098 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.PowerShell.cs @@ -215,7 +215,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IA /// 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.Functions.Models.Api20150501.IApplicationInsightsComponentProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.TypeConverter.cs index 65d9ebe0b115..88f5b5800883 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ApplicationInsightsComponentPropertiesTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.json.cs b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.json.cs index 3bfb602fd926..4ec636250c8c 100644 --- a/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ApplicationInsightsComponentProperties.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationInsightsComponentProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationInsightsComponentProperties /// /// 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 ApplicationInsightsComponentProperties /// /// 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/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.PowerShell.cs index fd944148b601..b22994d900b6 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IC /// 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.Functions.Models.Api20150501.IComponentPurgeBody FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.TypeConverter.cs index 63d63e96ee20..88b1389d793c 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ComponentPurgeBodyTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.json.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.json.cs index 4592027c7b8c..f7268429d173 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBody.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeBody partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ComponentPurgeBody /// /// 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 ComponentPurgeBody /// /// 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/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.PowerShell.cs index 166de42d8bb1..d8bbbff26059 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.PowerShell.cs @@ -150,7 +150,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IC /// 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.Functions.Models.Api20150501.IComponentPurgeBodyFilters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.TypeConverter.cs index 09ffffea75cd..df85cf3c68c9 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ComponentPurgeBodyFiltersTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.json.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.json.cs index 5ffb864db205..af3139b917ce 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeBodyFilters.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeBodyFilters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ComponentPurgeBodyFilters /// /// 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 ComponentPurgeBodyFilters /// /// 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/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.PowerShell.cs index 1240fc95bfc1..edcb16c980b4 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IC /// 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.Functions.Models.Api20150501.IComponentPurgeResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.TypeConverter.cs index 9eebae9766be..10fa72b6ac18 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ComponentPurgeResponseTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.json.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.json.cs index e066350fc993..a18929aa2bf3 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeResponse.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ComponentPurgeResponse /// /// 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 ComponentPurgeResponse /// /// 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/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.PowerShell.cs index 5f30dc703f6f..cd496c331311 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.PowerShell.cs @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IC /// 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.Functions.Models.Api20150501.IComponentPurgeStatusResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.TypeConverter.cs index 794be93f1252..76c46d3dd8e9 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ComponentPurgeStatusResponseTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.json.cs b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.json.cs index 3dc0c160958f..6e8c2847ec61 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentPurgeStatusResponse.json.cs @@ -20,7 +20,7 @@ public partial class ComponentPurgeStatusResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ComponentPurgeStatusResponse /// /// 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 ComponentPurgeStatusResponse /// /// 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/Functions/generated/api/Models/Api20150501/ComponentsResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ComponentsResource.PowerShell.cs index 8f01dd3a0c97..44eae76516e2 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentsResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentsResource.PowerShell.cs @@ -156,7 +156,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IC /// 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.Functions.Models.Api20150501.IComponentsResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentsResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ComponentsResource.TypeConverter.cs index 68848f96db2b..773b6d2b4af0 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentsResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentsResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ComponentsResourceTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentsResource.json.cs b/src/Functions/generated/api/Models/Api20150501/ComponentsResource.json.cs index 570f6893d34a..69389e703305 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentsResource.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentsResource.json.cs @@ -20,7 +20,7 @@ public partial class ComponentsResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ComponentsResource /// /// 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 ComponentsResource /// /// 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/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.PowerShell.cs index c85be69ffe55..328d839049e8 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.PowerShell.cs @@ -120,7 +120,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IC /// 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.Functions.Models.Api20150501.IComponentsResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.TypeConverter.cs index 87fd9fae1e39..d98210053010 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ComponentsResourceTagsTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.json.cs b/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.json.cs index 827d3cf025e3..f1cb7369f456 100644 --- a/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/ComponentsResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class ComponentsResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ComponentsResourceTags /// /// 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 ComponentsResourceTags /// /// 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/Functions/generated/api/Models/Api20150501/TagsResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/TagsResource.PowerShell.cs index ae2b93592d0b..3bf81dcc9970 100644 --- a/src/Functions/generated/api/Models/Api20150501/TagsResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/TagsResource.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IT /// 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.Functions.Models.Api20150501.ITagsResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20150501/TagsResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/TagsResource.TypeConverter.cs index e865d616c0bc..b202969cf076 100644 --- a/src/Functions/generated/api/Models/Api20150501/TagsResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/TagsResource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TagsResourceTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/TagsResource.json.cs b/src/Functions/generated/api/Models/Api20150501/TagsResource.json.cs index 111b3a3c31f5..a90e52813e34 100644 --- a/src/Functions/generated/api/Models/Api20150501/TagsResource.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/TagsResource.json.cs @@ -22,7 +22,7 @@ public partial class TagsResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TagsResource /// /// 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 TagsResource /// /// 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/Functions/generated/api/Models/Api20150501/TagsResourceTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.PowerShell.cs index a1a45e8fd9ae..9db7e1adfd3b 100644 --- a/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IT /// 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.Functions.Models.Api20150501.ITagsResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.TypeConverter.cs index d6df4e4fe8e3..530ce35607bf 100644 --- a/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TagsResourceTagsTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.json.cs b/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.json.cs index a1128ae1a7f1..8382fbb34838 100644 --- a/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.json.cs +++ b/src/Functions/generated/api/Models/Api20150501/TagsResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class TagsResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TagsResourceTags /// /// 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 TagsResourceTags /// /// 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/Functions/generated/api/Models/Api20181130/CloudError.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/CloudError.PowerShell.cs index fc9e750e5328..4982cd31a888 100644 --- a/src/Functions/generated/api/Models/Api20181130/CloudError.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/CloudError.PowerShell.cs @@ -156,7 +156,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IC /// 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.Functions.Models.Api20181130.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20181130/CloudError.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/CloudError.TypeConverter.cs index f9ac66bbc4c7..f6ab21f64638 100644 --- a/src/Functions/generated/api/Models/Api20181130/CloudError.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/CloudError.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CloudErrorTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/CloudError.json.cs b/src/Functions/generated/api/Models/Api20181130/CloudError.json.cs index ed209d390eac..151dfbd2259f 100644 --- a/src/Functions/generated/api/Models/Api20181130/CloudError.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/CloudError.json.cs @@ -20,7 +20,7 @@ public partial class CloudError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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/Functions/generated/api/Models/Api20181130/CloudErrorBody.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.PowerShell.cs index 8d4a1efe886e..03b1b0e6c1d2 100644 --- a/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.PowerShell.cs @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IC /// 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.Functions.Models.Api20181130.ICloudErrorBody FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.TypeConverter.cs index 1863f5060132..a98c4b7706df 100644 --- a/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CloudErrorBodyTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.json.cs b/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.json.cs index 30b3b587efa4..d587f4a33c15 100644 --- a/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/CloudErrorBody.json.cs @@ -20,7 +20,7 @@ public partial class CloudErrorBody partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.PowerShell.cs index d90f4b997f03..e6876c0aa59f 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.II /// 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.Functions.Models.Api20181130.IIdentityAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.TypeConverter.cs index e18c120439a4..8def7f997d71 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class IdentityAutoGeneratedTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.cs b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.cs index 7f3deb364cfc..04ed3ade7494 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.cs @@ -26,7 +26,7 @@ public partial class IdentityAutoGenerated : public string ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IUserAssignedIdentityPropertiesInternal)Property).ClientId; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__trackedResource).Id; } @@ -80,7 +80,7 @@ public partial class IdentityAutoGenerated : public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IUserAssignedIdentityPropertiesInternal)Property).TenantId; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__trackedResource).Type; } @@ -95,7 +95,7 @@ public IdentityAutoGenerated() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.json.cs index ae09a36b96c9..1bdca33d8c8d 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class IdentityAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IdentityAutoGenerated /// /// 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 IdentityAutoGenerated /// /// 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/Functions/generated/api/Models/Api20181130/IdentityUpdate.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.PowerShell.cs index 12c9048e9be0..55e06ed8c6cf 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.II /// 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.Functions.Models.Api20181130.IIdentityUpdate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.TypeConverter.cs index 6c16108fa5e6..2ebea69209a2 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class IdentityUpdateTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.cs index 21227686de67..da61fc4fab14 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.cs @@ -26,7 +26,7 @@ public partial class IdentityUpdate : public string ClientId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IUserAssignedIdentityPropertiesInternal)Property).ClientId; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -86,7 +86,7 @@ public partial class IdentityUpdate : public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IUserAssignedIdentityPropertiesInternal)Property).TenantId; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -101,7 +101,7 @@ public IdentityUpdate() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.json.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.json.cs index 27c7a0d674dc..0ed7598be73e 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdate.json.cs @@ -20,7 +20,7 @@ public partial class IdentityUpdate partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IdentityUpdate /// /// 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 IdentityUpdate /// /// 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/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.PowerShell.cs index e693becf8cb6..fb02bcf90b3c 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.II /// 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.Functions.Models.Api20181130.IIdentityUpdateTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.TypeConverter.cs index 961f54a06036..6bf403efe341 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class IdentityUpdateTagsTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.json.cs b/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.json.cs index 57cd815c9be4..3369c5b93644 100644 --- a/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/IdentityUpdateTags.json.cs @@ -20,7 +20,7 @@ public partial class IdentityUpdateTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IdentityUpdateTags /// /// 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 IdentityUpdateTags /// /// 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/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.PowerShell.cs index d0983e8a0f57..358588ac243e 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IO /// 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.Functions.Models.Api20181130.IOperationAutoGenerated2 FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.TypeConverter.cs index 11673eabe8d3..21ea60da6a23 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OperationAutoGenerated2TypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.json.cs b/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.json.cs index 85c3205e39c6..ff60e2d18599 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationAutoGenerated2.json.cs @@ -20,7 +20,7 @@ public partial class OperationAutoGenerated2 partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OperationAutoGenerated2 /// /// 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 OperationAutoGenerated2 /// /// 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/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.PowerShell.cs index e91e5476b115..2813739be1f6 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IO /// 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.Functions.Models.Api20181130.IOperationDisplayAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.TypeConverter.cs index 1f8deaaff796..c392141ae84f 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OperationDisplayAutoGeneratedTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.json.cs index a65d9ca70ab9..f79c534f6b82 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationDisplayAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class OperationDisplayAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OperationDisplayAutoGenerated /// /// 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 OperationDisplayAutoGenerated /// /// 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/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.PowerShell.cs index 8c483aa9b84e..6c558a3926ec 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IO /// 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.Functions.Models.Api20181130.IOperationListResultAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.TypeConverter.cs index c25177c3038d..03367678abd4 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OperationListResultAutoGeneratedTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.json.cs index 83cc3ce63629..1d9c78310eae 100644 --- a/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/OperationListResultAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class OperationListResultAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OperationListResultAutoGenerated /// /// 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 OperationListResultAutoGenerated /// /// 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/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.PowerShell.cs index 26e6a3cb6ec8..cfb646510fc6 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IS /// 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.Functions.Models.Api20181130.ISystemAssignedIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.TypeConverter.cs index 0d5f0adcbe43..0077091b04a5 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SystemAssignedIdentityTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.cs index 79aacfec6d87..9c84bfd0af9b 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.cs @@ -32,7 +32,7 @@ public partial class SystemAssignedIdentity : public string ClientSecretUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.ISystemAssignedIdentityPropertiesInternal)Property).ClientSecretUrl; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -95,7 +95,7 @@ public partial class SystemAssignedIdentity : public string TenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.ISystemAssignedIdentityPropertiesInternal)Property).TenantId; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -110,7 +110,7 @@ public SystemAssignedIdentity() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.json.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.json.cs index 5cc3b3f8da1c..609f5b718af5 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentity.json.cs @@ -20,7 +20,7 @@ public partial class SystemAssignedIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SystemAssignedIdentity /// /// 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 SystemAssignedIdentity /// /// 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/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.PowerShell.cs index 7d27dc324372..660b2c2af000 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IS /// 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.Functions.Models.Api20181130.ISystemAssignedIdentityProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.TypeConverter.cs index 01bd3ec25548..28905fe069c5 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SystemAssignedIdentityPropertiesTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.json.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.json.cs index 14909873c840..1147d41054f0 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityProperties.json.cs @@ -20,7 +20,7 @@ public partial class SystemAssignedIdentityProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SystemAssignedIdentityProperties /// /// 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 SystemAssignedIdentityProperties /// /// 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/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.PowerShell.cs index b5b7395f1c2f..4c17d07b2c7e 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IS /// 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.Functions.Models.Api20181130.ISystemAssignedIdentityTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.TypeConverter.cs index 0e6a29a6f3aa..60b6daf164b3 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SystemAssignedIdentityTagsTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.json.cs b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.json.cs index ada2bea24d8c..d0105e00f234 100644 --- a/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/SystemAssignedIdentityTags.json.cs @@ -20,7 +20,7 @@ public partial class SystemAssignedIdentityTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SystemAssignedIdentityTags /// /// 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 SystemAssignedIdentityTags /// /// 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/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.PowerShell.cs index a9e6e2b649b5..fa4801df9218 100644 --- a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IU /// 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.Functions.Models.Api20181130.IUserAssignedIdentitiesListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.TypeConverter.cs index 2c8cd168dacb..93286e833bc4 100644 --- a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class UserAssignedIdentitiesListResultTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.json.cs b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.json.cs index c6042c15dadb..f7897e096cfe 100644 --- a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentitiesListResult.json.cs @@ -20,7 +20,7 @@ public partial class UserAssignedIdentitiesListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UserAssignedIdentitiesListResult /// /// 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 UserAssignedIdentitiesListResult /// /// 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/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.PowerShell.cs index 0f7cade87ff0..7dec2242ddbe 100644 --- a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IU /// 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.Functions.Models.Api20181130.IUserAssignedIdentityProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.TypeConverter.cs index a39aaa0e1d33..215319fc7a63 100644 --- a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class UserAssignedIdentityPropertiesTypeConverter : global::Syste 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.json.cs b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.json.cs index 07c2f5311720..12fc45ecc168 100644 --- a/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20181130/UserAssignedIdentityProperties.json.cs @@ -20,7 +20,7 @@ public partial class UserAssignedIdentityProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UserAssignedIdentityProperties /// /// 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 UserAssignedIdentityProperties /// /// 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/Functions/generated/api/Models/Api20190401/AccountSasParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.PowerShell.cs index e336ade07c91..b713d51fb50e 100644 --- a/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.PowerShell.cs @@ -180,7 +180,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IA /// 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.Functions.Models.Api20190401.IAccountSasParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.TypeConverter.cs index 5db976d6ba6e..e2c645eb3945 100644 --- a/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AccountSasParametersTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.json.cs index 638b33665c88..0fdeb1735224 100644 --- a/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/AccountSasParameters.json.cs @@ -20,7 +20,7 @@ public partial class AccountSasParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AccountSasParameters /// /// 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 AccountSasParameters /// /// 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/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.PowerShell.cs index 485dcad7d78d..9cad79a2bc72 100644 --- a/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.PowerShell.cs @@ -166,7 +166,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IA /// 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.Functions.Models.Api20190401.IActiveDirectoryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.TypeConverter.cs index f163a8ff47e6..6f2e64d2e3bd 100644 --- a/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ActiveDirectoryPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.json.cs index c91035a30b01..0dc1d9524781 100644 --- a/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ActiveDirectoryProperties.json.cs @@ -20,7 +20,7 @@ public partial class ActiveDirectoryProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ActiveDirectoryProperties /// /// 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 ActiveDirectoryProperties /// /// 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/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.PowerShell.cs index 9ed8ecfa519a..f4a6285ea642 100644 --- a/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.PowerShell.cs @@ -183,7 +183,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IA /// 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.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthentication FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.TypeConverter.cs index 73381822b3fa..6f8997879fab 100644 --- a/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AzureFilesIdentityBasedAuthenticationTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.json.cs b/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.json.cs index 648fc3a115c4..7ce8ef4402d5 100644 --- a/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/AzureFilesIdentityBasedAuthentication.json.cs @@ -20,7 +20,7 @@ public partial class AzureFilesIdentityBasedAuthentication partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureFilesIdentityBasedAuthentication /// /// 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 AzureFilesIdentityBasedAuthentication /// /// 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/Functions/generated/api/Models/Api20190401/BlobContainer.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/BlobContainer.PowerShell.cs index 3f192b4bbde5..2f82630a1562 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobContainer.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobContainer.PowerShell.cs @@ -294,7 +294,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IB /// 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.Functions.Models.Api20190401.IBlobContainer FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobContainer.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/BlobContainer.TypeConverter.cs index 75a63aac867b..e5ad3c4892db 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobContainer.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobContainer.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class BlobContainerTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobContainer.cs b/src/Functions/generated/api/Models/Api20190401/BlobContainer.cs index 5a00c6a2416c..8ba4524e1aa4 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobContainer.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobContainer.cs @@ -76,7 +76,7 @@ public partial class BlobContainer : public string Etag { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEntityResourceInternal)__azureEntityResource).Etag; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__azureEntityResource).Id; } @@ -172,7 +172,7 @@ public partial class BlobContainer : public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyState? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IContainerPropertiesInternal)ContainerProperty).State; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__azureEntityResource).Type; } @@ -187,7 +187,7 @@ public BlobContainer() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190401/BlobContainer.json.cs b/src/Functions/generated/api/Models/Api20190401/BlobContainer.json.cs index a3b0c697d3f4..b78bd4214d8b 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobContainer.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobContainer.json.cs @@ -22,7 +22,7 @@ public partial class BlobContainer partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BlobContainer /// /// 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 BlobContainer /// /// 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/Functions/generated/api/Models/Api20190401/BlobServiceItems.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.PowerShell.cs index 12209f539e5a..a00bab229e36 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.PowerShell.cs @@ -123,7 +123,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IB /// 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.Functions.Models.Api20190401.IBlobServiceItems FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.TypeConverter.cs index 12f73d8d39fa..fb06cbf8d9f1 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class BlobServiceItemsTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.json.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.json.cs index 98ce5c19c3ff..044e45af3fb5 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceItems.json.cs @@ -19,7 +19,7 @@ public partial class BlobServiceItems partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BlobServiceItems /// /// 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 BlobServiceItems /// /// 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/Functions/generated/api/Models/Api20190401/BlobServiceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.PowerShell.cs index 79211c3d19c5..b7a8f093ac1b 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.PowerShell.cs @@ -220,7 +220,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IB /// 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.Functions.Models.Api20190401.IBlobServiceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.TypeConverter.cs index 6d4276aefd07..109ad6e93414 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BlobServicePropertiesTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.cs index 0736edb0e242..739573991621 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.cs @@ -59,7 +59,7 @@ public partial class BlobServiceProperties : public bool? DeleteRetentionPolicyEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IBlobServicePropertiesAutoGeneratedInternal)BlobServiceProperty).DeleteRetentionPolicyEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IBlobServicePropertiesAutoGeneratedInternal)BlobServiceProperty).DeleteRetentionPolicyEnabled = value ?? default(bool); } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -90,7 +90,7 @@ public partial class BlobServiceProperties : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Name; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -105,7 +105,7 @@ public BlobServiceProperties() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.json.cs index 1dc68bdf4d9e..6aedf6f3091b 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServiceProperties.json.cs @@ -20,7 +20,7 @@ public partial class BlobServiceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BlobServiceProperties /// /// 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 BlobServiceProperties /// /// 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/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.PowerShell.cs index 0be0f8a8e4cc..f16b646e4c78 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.PowerShell.cs @@ -190,7 +190,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IB /// 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.Functions.Models.Api20190401.IBlobServicePropertiesAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.TypeConverter.cs index cbefb7113938..aa190e7ee1de 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BlobServicePropertiesAutoGeneratedTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.json.cs index b58485f9b8e8..d64c28518e5c 100644 --- a/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/BlobServicePropertiesAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class BlobServicePropertiesAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BlobServicePropertiesAutoGenerated /// /// 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 BlobServicePropertiesAutoGenerated /// /// 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/Functions/generated/api/Models/Api20190401/ChangeFeed.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ChangeFeed.PowerShell.cs index 8e9692f7cc59..d5c25ec3f3e7 100644 --- a/src/Functions/generated/api/Models/Api20190401/ChangeFeed.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ChangeFeed.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.IChangeFeed FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/ChangeFeed.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ChangeFeed.TypeConverter.cs index b57a6baf124c..e2c0a83e2e5b 100644 --- a/src/Functions/generated/api/Models/Api20190401/ChangeFeed.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ChangeFeed.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ChangeFeedTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ChangeFeed.json.cs b/src/Functions/generated/api/Models/Api20190401/ChangeFeed.json.cs index 1d783f901bf6..cfcaf122bf45 100644 --- a/src/Functions/generated/api/Models/Api20190401/ChangeFeed.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ChangeFeed.json.cs @@ -20,7 +20,7 @@ public partial class ChangeFeed partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ChangeFeed /// /// 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 ChangeFeed /// /// 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/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.PowerShell.cs index 657a412bf526..7d10f9b0d87b 100644 --- a/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.PowerShell.cs @@ -142,7 +142,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.ICheckNameAvailabilityResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.TypeConverter.cs index 466bb515e33c..cd7e617e33e2 100644 --- a/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CheckNameAvailabilityResultTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.json.cs b/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.json.cs index 84249b430726..1771390af18f 100644 --- a/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/CheckNameAvailabilityResult.json.cs @@ -20,7 +20,7 @@ public partial class CheckNameAvailabilityResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CheckNameAvailabilityResult /// /// 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 CheckNameAvailabilityResult /// /// 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/Functions/generated/api/Models/Api20190401/ContainerProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ContainerProperties.PowerShell.cs index 4c84f163cc8f..3d25692011ee 100644 --- a/src/Functions/generated/api/Models/Api20190401/ContainerProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ContainerProperties.PowerShell.cs @@ -252,7 +252,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.IContainerProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/ContainerProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ContainerProperties.TypeConverter.cs index 2e134633e51f..c2d28154f5b2 100644 --- a/src/Functions/generated/api/Models/Api20190401/ContainerProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ContainerProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContainerPropertiesTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ContainerProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/ContainerProperties.json.cs index dd52e21a12bf..17b54e6ded29 100644 --- a/src/Functions/generated/api/Models/Api20190401/ContainerProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ContainerProperties.json.cs @@ -20,7 +20,7 @@ public partial class ContainerProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerProperties /// /// 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 ContainerProperties /// /// 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/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.PowerShell.cs index a2e1344f1d7a..f6daabd23ae6 100644 --- a/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.PowerShell.cs @@ -122,7 +122,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.IContainerPropertiesMetadata FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.TypeConverter.cs index 29ff0fa3a313..14dd763fea68 100644 --- a/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContainerPropertiesMetadataTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.json.cs b/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.json.cs index bc68fe520dba..c28420d7cc3d 100644 --- a/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ContainerPropertiesMetadata.json.cs @@ -20,7 +20,7 @@ public partial class ContainerPropertiesMetadata partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerPropertiesMetadata /// /// 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 ContainerPropertiesMetadata /// /// 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/Functions/generated/api/Models/Api20190401/CorsRule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/CorsRule.PowerShell.cs index aca5662ba997..61734ca9d9cb 100644 --- a/src/Functions/generated/api/Models/Api20190401/CorsRule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/CorsRule.PowerShell.cs @@ -156,7 +156,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.ICorsRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/CorsRule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/CorsRule.TypeConverter.cs index 5614040d2c07..49905e96c490 100644 --- a/src/Functions/generated/api/Models/Api20190401/CorsRule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/CorsRule.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CorsRuleTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/CorsRule.json.cs b/src/Functions/generated/api/Models/Api20190401/CorsRule.json.cs index 3d479eb7f5cc..bcfdece134cf 100644 --- a/src/Functions/generated/api/Models/Api20190401/CorsRule.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/CorsRule.json.cs @@ -20,7 +20,7 @@ public partial class CorsRule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CorsRule /// /// 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 CorsRule /// /// 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/Functions/generated/api/Models/Api20190401/CorsRules.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/CorsRules.PowerShell.cs index 0f957f24d9d8..f3ffeb4029d5 100644 --- a/src/Functions/generated/api/Models/Api20190401/CorsRules.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/CorsRules.PowerShell.cs @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.ICorsRules FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/CorsRules.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/CorsRules.TypeConverter.cs index e01aadabca3f..770bfecc330b 100644 --- a/src/Functions/generated/api/Models/Api20190401/CorsRules.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/CorsRules.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CorsRulesTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/CorsRules.json.cs b/src/Functions/generated/api/Models/Api20190401/CorsRules.json.cs index e38bcd0caa0f..b376bc30e0c9 100644 --- a/src/Functions/generated/api/Models/Api20190401/CorsRules.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/CorsRules.json.cs @@ -22,7 +22,7 @@ public partial class CorsRules partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CorsRules /// /// 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 CorsRules /// /// 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/Functions/generated/api/Models/Api20190401/CustomDomain.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/CustomDomain.PowerShell.cs index d20e3eb3f51f..86de75d76b04 100644 --- a/src/Functions/generated/api/Models/Api20190401/CustomDomain.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/CustomDomain.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IC /// 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.Functions.Models.Api20190401.ICustomDomain FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/CustomDomain.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/CustomDomain.TypeConverter.cs index cb265e7872f0..c3223dc3a027 100644 --- a/src/Functions/generated/api/Models/Api20190401/CustomDomain.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/CustomDomain.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CustomDomainTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/CustomDomain.json.cs b/src/Functions/generated/api/Models/Api20190401/CustomDomain.json.cs index f76264fef1e3..49015fbeb6ad 100644 --- a/src/Functions/generated/api/Models/Api20190401/CustomDomain.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/CustomDomain.json.cs @@ -20,7 +20,7 @@ public partial class CustomDomain partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CustomDomain /// /// 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 CustomDomain /// /// 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/Functions/generated/api/Models/Api20190401/DateAfterCreation.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.PowerShell.cs index d9c1fb1088ed..a80645a8753c 100644 --- a/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ID /// 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.Functions.Models.Api20190401.IDateAfterCreation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.TypeConverter.cs index 0bc62153ee05..afc235980783 100644 --- a/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DateAfterCreationTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.json.cs b/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.json.cs index 53a4a6a95ba6..2442378f2261 100644 --- a/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/DateAfterCreation.json.cs @@ -20,7 +20,7 @@ public partial class DateAfterCreation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DateAfterCreation /// /// 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 DateAfterCreation /// /// 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/Functions/generated/api/Models/Api20190401/DateAfterModification.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/DateAfterModification.PowerShell.cs index 8b22514ac0eb..370099069fc8 100644 --- a/src/Functions/generated/api/Models/Api20190401/DateAfterModification.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/DateAfterModification.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ID /// 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.Functions.Models.Api20190401.IDateAfterModification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/DateAfterModification.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/DateAfterModification.TypeConverter.cs index 05432e13e0bc..fa0d413ae5de 100644 --- a/src/Functions/generated/api/Models/Api20190401/DateAfterModification.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/DateAfterModification.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DateAfterModificationTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/DateAfterModification.json.cs b/src/Functions/generated/api/Models/Api20190401/DateAfterModification.json.cs index beed0cb40f8d..e794bb3f9607 100644 --- a/src/Functions/generated/api/Models/Api20190401/DateAfterModification.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/DateAfterModification.json.cs @@ -20,7 +20,7 @@ public partial class DateAfterModification partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DateAfterModification /// /// 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 DateAfterModification /// /// 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/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.PowerShell.cs index 177f7ab2b1dc..618d8516192b 100644 --- a/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ID /// 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.Functions.Models.Api20190401.IDeleteRetentionPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.TypeConverter.cs index 5e9b1ed9e971..85722f8496fd 100644 --- a/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeleteRetentionPolicyTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.json.cs b/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.json.cs index 113c00b395d3..605621bad0bb 100644 --- a/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/DeleteRetentionPolicy.json.cs @@ -20,7 +20,7 @@ public partial class DeleteRetentionPolicy partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeleteRetentionPolicy /// /// 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 DeleteRetentionPolicy /// /// 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/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.PowerShell.cs index 73f0d318abcb..fafbd0792fa8 100644 --- a/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.PowerShell.cs @@ -132,7 +132,7 @@ internal DimensionAutoGenerated(global::System.Management.Automation.PSObject co /// 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.Functions.Models.Api20190401.IDimensionAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.TypeConverter.cs index 7c1da5e98ffd..09aabc29a4b5 100644 --- a/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DimensionAutoGeneratedTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.json.cs index 9152ecf1f30c..1ba14863d1c5 100644 --- a/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/DimensionAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class DimensionAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DimensionAutoGenerated /// /// 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 DimensionAutoGenerated /// /// 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/Functions/generated/api/Models/Api20190401/Encryption.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/Encryption.PowerShell.cs index 87cf7be29225..608febd338f8 100644 --- a/src/Functions/generated/api/Models/Api20190401/Encryption.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/Encryption.PowerShell.cs @@ -260,7 +260,7 @@ internal Encryption(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190401.IEncryption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/Encryption.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/Encryption.TypeConverter.cs index 100bef29ed8a..45c7607fedc9 100644 --- a/src/Functions/generated/api/Models/Api20190401/Encryption.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/Encryption.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class EncryptionTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/Encryption.json.cs b/src/Functions/generated/api/Models/Api20190401/Encryption.json.cs index 6337b19d805a..d14b8e792535 100644 --- a/src/Functions/generated/api/Models/Api20190401/Encryption.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/Encryption.json.cs @@ -20,7 +20,7 @@ public partial class Encryption partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Encryption /// /// 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 Encryption /// /// 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/Functions/generated/api/Models/Api20190401/EncryptionService.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/EncryptionService.PowerShell.cs index e293f4466f08..1aa8269ac9f8 100644 --- a/src/Functions/generated/api/Models/Api20190401/EncryptionService.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/EncryptionService.PowerShell.cs @@ -132,7 +132,7 @@ internal EncryptionService(global::System.Management.Automation.PSObject content /// 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.Functions.Models.Api20190401.IEncryptionService FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/EncryptionService.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/EncryptionService.TypeConverter.cs index 8bb9a6dbaed8..98879d084b80 100644 --- a/src/Functions/generated/api/Models/Api20190401/EncryptionService.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/EncryptionService.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class EncryptionServiceTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/EncryptionService.json.cs b/src/Functions/generated/api/Models/Api20190401/EncryptionService.json.cs index 4420c36b9a76..91eb39405a2b 100644 --- a/src/Functions/generated/api/Models/Api20190401/EncryptionService.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/EncryptionService.json.cs @@ -20,7 +20,7 @@ public partial class EncryptionService partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 EncryptionService /// /// 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 EncryptionService /// /// 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/Functions/generated/api/Models/Api20190401/EncryptionServices.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/EncryptionServices.PowerShell.cs index adadc7bc0efb..27d0f539642b 100644 --- a/src/Functions/generated/api/Models/Api20190401/EncryptionServices.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/EncryptionServices.PowerShell.cs @@ -212,7 +212,7 @@ internal EncryptionServices(global::System.Management.Automation.PSObject conten /// 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.Functions.Models.Api20190401.IEncryptionServices FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/EncryptionServices.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/EncryptionServices.TypeConverter.cs index c37cd9247396..6f633f99988c 100644 --- a/src/Functions/generated/api/Models/Api20190401/EncryptionServices.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/EncryptionServices.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class EncryptionServicesTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/EncryptionServices.json.cs b/src/Functions/generated/api/Models/Api20190401/EncryptionServices.json.cs index a9aacc1c0da5..73535bfdcb84 100644 --- a/src/Functions/generated/api/Models/Api20190401/EncryptionServices.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/EncryptionServices.json.cs @@ -20,7 +20,7 @@ public partial class EncryptionServices partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 EncryptionServices /// /// 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 EncryptionServices /// /// 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/Functions/generated/api/Models/Api20190401/Endpoints.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/Endpoints.PowerShell.cs index a32c90e9b31b..d6cb04421695 100644 --- a/src/Functions/generated/api/Models/Api20190401/Endpoints.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/Endpoints.PowerShell.cs @@ -166,7 +166,7 @@ internal Endpoints(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190401.IEndpoints FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/Endpoints.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/Endpoints.TypeConverter.cs index 59d60874800e..dec26020d03c 100644 --- a/src/Functions/generated/api/Models/Api20190401/Endpoints.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/Endpoints.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class EndpointsTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/Endpoints.json.cs b/src/Functions/generated/api/Models/Api20190401/Endpoints.json.cs index 6e359d9159de..6d2ded17536f 100644 --- a/src/Functions/generated/api/Models/Api20190401/Endpoints.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/Endpoints.json.cs @@ -22,7 +22,7 @@ public partial class Endpoints partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Endpoints /// /// 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 Endpoints /// /// 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/Functions/generated/api/Models/Api20190401/GeoReplicationStats.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.PowerShell.cs index 71e0683d5c1b..30e8748b3a43 100644 --- a/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.PowerShell.cs @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IG /// 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.Functions.Models.Api20190401.IGeoReplicationStats FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.TypeConverter.cs index 4ee9827980d8..b38e3c6d3ca2 100644 --- a/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class GeoReplicationStatsTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.json.cs b/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.json.cs index 10d94f56de56..8d004d6b3c15 100644 --- a/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/GeoReplicationStats.json.cs @@ -23,7 +23,7 @@ public partial class GeoReplicationStats partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 GeoReplicationStats /// /// 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 GeoReplicationStats /// /// 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/Functions/generated/api/Models/Api20190401/IPRule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/IPRule.PowerShell.cs index e75bf34c1e36..b5a794fccf5c 100644 --- a/src/Functions/generated/api/Models/Api20190401/IPRule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/IPRule.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.II /// 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.Functions.Models.Api20190401.IIPRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/IPRule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/IPRule.TypeConverter.cs index ba316e1c1d27..e1c0e94019e2 100644 --- a/src/Functions/generated/api/Models/Api20190401/IPRule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/IPRule.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class IPRuleTypeConverter : global::System.Management.Automation. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/IPRule.json.cs b/src/Functions/generated/api/Models/Api20190401/IPRule.json.cs index fcd6e11df9f6..615a3cb7dc15 100644 --- a/src/Functions/generated/api/Models/Api20190401/IPRule.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/IPRule.json.cs @@ -20,7 +20,7 @@ public partial class IPRule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IPRule /// /// 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 IPRule /// /// 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/Functions/generated/api/Models/Api20190401/Identity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/Identity.PowerShell.cs index e8599bce4cc2..e17f5fc808cb 100644 --- a/src/Functions/generated/api/Models/Api20190401/Identity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/Identity.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.II /// 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.Functions.Models.Api20190401.IIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/Identity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/Identity.TypeConverter.cs index ce93f0c31972..c040151a14a5 100644 --- a/src/Functions/generated/api/Models/Api20190401/Identity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/Identity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class IdentityTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/Identity.json.cs b/src/Functions/generated/api/Models/Api20190401/Identity.json.cs index d9e957b0bb05..637842ffb7cd 100644 --- a/src/Functions/generated/api/Models/Api20190401/Identity.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/Identity.json.cs @@ -20,7 +20,7 @@ public partial class Identity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Identity /// /// 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 Identity /// /// 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/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.PowerShell.cs index 40223d166f6a..6eb67c71e20b 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.II /// 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.Functions.Models.Api20190401.IImmutabilityPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.TypeConverter.cs index fac4909329c4..440ac22553db 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ImmutabilityPolicyTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.cs index 74887191359a..b6ad3cfb4a9f 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.cs @@ -33,7 +33,7 @@ public partial class ImmutabilityPolicy : public string Etag { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEntityResourceInternal)__azureEntityResource).Etag; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__azureEntityResource).Id; } @@ -80,7 +80,7 @@ public partial class ImmutabilityPolicy : public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyState? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IImmutabilityPolicyPropertyInternal)Property).State; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__azureEntityResource).Type; } @@ -104,7 +104,7 @@ void Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IHeaderSerializable.Re /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.json.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.json.cs index 161d22c96ba5..8b5e13c30da6 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicy.json.cs @@ -22,7 +22,7 @@ public partial class ImmutabilityPolicy partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ImmutabilityPolicy /// /// 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 ImmutabilityPolicy /// /// 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/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.PowerShell.cs index 5e81944aaf6d..26e7d1ee2797 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.II /// 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.Functions.Models.Api20190401.IImmutabilityPolicyProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.TypeConverter.cs index 92e453e2da9f..10f8cb1c1750 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ImmutabilityPolicyPropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.json.cs index c87f9cebfeb8..55161752c1cc 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperties.json.cs @@ -20,7 +20,7 @@ public partial class ImmutabilityPolicyProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ImmutabilityPolicyProperties /// /// 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 ImmutabilityPolicyProperties /// /// 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/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.PowerShell.cs index f117cea6db56..096ec5da0903 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.II /// 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.Functions.Models.Api20190401.IImmutabilityPolicyProperty FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.TypeConverter.cs index acf8477b2b0c..cb0d74fc48be 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ImmutabilityPolicyPropertyTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.json.cs b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.json.cs index 43c3f9bba142..31981fb3cf3c 100644 --- a/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ImmutabilityPolicyProperty.json.cs @@ -20,7 +20,7 @@ public partial class ImmutabilityPolicyProperty partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ImmutabilityPolicyProperty /// /// 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 ImmutabilityPolicyProperty /// /// 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/Functions/generated/api/Models/Api20190401/KeyVaultProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.PowerShell.cs index 9bc68ecab98d..20633363c3cc 100644 --- a/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IK /// 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.Functions.Models.Api20190401.IKeyVaultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.TypeConverter.cs index 332b1cdf1380..cd489130beec 100644 --- a/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class KeyVaultPropertiesTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.json.cs index 1edce749e5d9..9f1922a157a8 100644 --- a/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/KeyVaultProperties.json.cs @@ -20,7 +20,7 @@ public partial class KeyVaultProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 KeyVaultProperties /// /// 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 KeyVaultProperties /// /// 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/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.PowerShell.cs index f180ef6b5e0f..ac40513e6783 100644 --- a/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.ILeaseContainerRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.TypeConverter.cs index 7fca9db16541..2b7f9504a36a 100644 --- a/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class LeaseContainerRequestTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.json.cs b/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.json.cs index e96ac55a260f..f7be54063dae 100644 --- a/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/LeaseContainerRequest.json.cs @@ -20,7 +20,7 @@ public partial class LeaseContainerRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 LeaseContainerRequest /// /// 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 LeaseContainerRequest /// /// 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/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.PowerShell.cs index ffd2f5cf07c1..6f6e0566cab7 100644 --- a/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.ILeaseContainerResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.TypeConverter.cs index b9112b2b6b3d..7bd5909cc13f 100644 --- a/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class LeaseContainerResponseTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.json.cs b/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.json.cs index eb064e5d0116..9cbaffffc5a8 100644 --- a/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/LeaseContainerResponse.json.cs @@ -20,7 +20,7 @@ public partial class LeaseContainerResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 LeaseContainerResponse /// /// 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 LeaseContainerResponse /// /// 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/Functions/generated/api/Models/Api20190401/LegalHold.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/LegalHold.PowerShell.cs index ca8945aa35d4..1d1049790718 100644 --- a/src/Functions/generated/api/Models/Api20190401/LegalHold.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/LegalHold.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.ILegalHold FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/LegalHold.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/LegalHold.TypeConverter.cs index 66c21339ac35..7ce83772d15b 100644 --- a/src/Functions/generated/api/Models/Api20190401/LegalHold.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/LegalHold.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class LegalHoldTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/LegalHold.json.cs b/src/Functions/generated/api/Models/Api20190401/LegalHold.json.cs index 69bb400548db..4f9e8accbcba 100644 --- a/src/Functions/generated/api/Models/Api20190401/LegalHold.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/LegalHold.json.cs @@ -20,7 +20,7 @@ public partial class LegalHold partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 LegalHold /// /// 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 LegalHold /// /// 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/Functions/generated/api/Models/Api20190401/LegalHoldProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.PowerShell.cs index d4941da4beee..89f936c333f9 100644 --- a/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.ILegalHoldProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.TypeConverter.cs index f7975db062eb..b8aa85a9805b 100644 --- a/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class LegalHoldPropertiesTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.json.cs index bb99c1b32404..1876795eee32 100644 --- a/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/LegalHoldProperties.json.cs @@ -20,7 +20,7 @@ public partial class LegalHoldProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 LegalHoldProperties /// /// 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 LegalHoldProperties /// /// 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/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.PowerShell.cs index 90950e1bfd16..8d0f30af9c9b 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.IListAccountSasResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.TypeConverter.cs index b1c7fa5dabe5..f90aea4646f2 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ListAccountSasResponseTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.json.cs b/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.json.cs index 1afcf2267556..78594c959798 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListAccountSasResponse.json.cs @@ -20,7 +20,7 @@ public partial class ListAccountSasResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ListAccountSasResponse /// /// 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 ListAccountSasResponse /// /// 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/Functions/generated/api/Models/Api20190401/ListContainerItem.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.PowerShell.cs index c1f8b2da6d17..f31337053cb8 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.IListContainerItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.TypeConverter.cs index 1fb46a886299..f51d1639eb08 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ListContainerItemTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.cs index 2fa7ba1aabf2..6315051c0f73 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.cs @@ -39,7 +39,7 @@ public partial class ListContainerItem : public bool? HasLegalHold { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IContainerPropertiesInternal)Property).HasLegalHold; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__azureEntityResource).Id; } @@ -170,7 +170,7 @@ public partial class ListContainerItem : public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyState? State { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IContainerPropertiesInternal)Property).State; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__azureEntityResource).Type; } @@ -185,7 +185,7 @@ public ListContainerItem() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.json.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.json.cs index 1753ac69700e..c27b17b3156a 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItem.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItem.json.cs @@ -20,7 +20,7 @@ public partial class ListContainerItem partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ListContainerItem /// /// 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 ListContainerItem /// /// 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/Functions/generated/api/Models/Api20190401/ListContainerItems.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItems.PowerShell.cs index c2a602a2bffe..33c0b20f7ab2 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItems.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItems.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.IListContainerItems FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ListContainerItems.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItems.TypeConverter.cs index ce68b66c0c59..7312c5ad3dbf 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItems.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItems.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ListContainerItemsTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ListContainerItems.json.cs b/src/Functions/generated/api/Models/Api20190401/ListContainerItems.json.cs index 9c51ee3db62f..c87d76d31b70 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListContainerItems.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListContainerItems.json.cs @@ -22,7 +22,7 @@ public partial class ListContainerItems partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ListContainerItems /// /// 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 ListContainerItems /// /// 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/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.PowerShell.cs index f0611ff57657..bd3d60429d26 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IL /// 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.Functions.Models.Api20190401.IListServiceSasResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.TypeConverter.cs index badd83dac67c..c8da99842ad8 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ListServiceSasResponseTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.json.cs b/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.json.cs index ba1f9f328929..77b144d17f08 100644 --- a/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ListServiceSasResponse.json.cs @@ -20,7 +20,7 @@ public partial class ListServiceSasResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ListServiceSasResponse /// /// 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 ListServiceSasResponse /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicy.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.PowerShell.cs index 24b51554d99a..ccf4a52090f0 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.TypeConverter.cs index 15e2f1ebb921..3722872f1cf8 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ManagementPolicyTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.cs index de499602f6d7..1c71ece7f328 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicy : private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGenerated __resourceAutoGenerated = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ResourceAutoGenerated(); /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Id; } @@ -65,7 +65,7 @@ public partial class ManagementPolicy : internal Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IManagementPolicyProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.ManagementPolicyProperties()); set => this._property = value; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__resourceAutoGenerated).Type; } @@ -80,7 +80,7 @@ public ManagementPolicy() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.json.cs index d5995bf1056a..04db822367b8 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicy.json.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicy partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicy /// /// 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 ManagementPolicy /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.PowerShell.cs index f54672e7109d..5e5ccac2cd94 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicyAction FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.TypeConverter.cs index ffe5c750bae8..f0c34c111fb0 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicyActionTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.json.cs index 1549e7916010..58b4b52adbb3 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyAction.json.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicyAction partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicyAction /// /// 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 ManagementPolicyAction /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.PowerShell.cs index 7cd62703feaf..f57ac9e0008f 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicyBaseBlob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.TypeConverter.cs index 180354ca7e68..f75acee4912a 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicyBaseBlobTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.json.cs index 6ddf5841ac47..4dba5d013dab 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyBaseBlob.json.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicyBaseBlob partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicyBaseBlob /// /// 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 ManagementPolicyBaseBlob /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.PowerShell.cs index eeeac54076d8..4f62bc8dd408 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.PowerShell.cs @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicyDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.TypeConverter.cs index d0564521a8de..92d5d8664152 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicyDefinitionTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.json.cs index d2bb7f021038..c185a5190f24 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyDefinition.json.cs @@ -22,7 +22,7 @@ public partial class ManagementPolicyDefinition partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicyDefinition /// /// 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 ManagementPolicyDefinition /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.PowerShell.cs index 58ecc0936c42..447ec38d216d 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.PowerShell.cs @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicyFilter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.TypeConverter.cs index c50ad0becec6..0eea48031665 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicyFilterTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.json.cs index a0dcd92ff239..0dd81df407a9 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyFilter.json.cs @@ -23,7 +23,7 @@ public partial class ManagementPolicyFilter partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicyFilter /// /// 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 ManagementPolicyFilter /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.PowerShell.cs index 76e9d344fc76..50690295217e 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicyProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.TypeConverter.cs index d7dcc4b6d8cd..19e6879ba0bf 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicyPropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.json.cs index b02c7e713269..16aa0550026d 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyProperties.json.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicyProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicyProperties /// /// 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 ManagementPolicyProperties /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.PowerShell.cs index 75a28dfc24b6..a922390012a7 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicyRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.TypeConverter.cs index c55d58ffe4f8..8413e32337f1 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicyRuleTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.json.cs index 16300935a30f..14270477b383 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicyRule.json.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicyRule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicyRule /// /// 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 ManagementPolicyRule /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.PowerShell.cs index 8c73b5c97d94..c5dbec012f87 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicySchema FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.TypeConverter.cs index 465133c8b524..1a64a81b2022 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicySchemaTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.json.cs index a1c256635f14..b5624f14a5b0 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySchema.json.cs @@ -22,7 +22,7 @@ public partial class ManagementPolicySchema partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicySchema /// /// 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 ManagementPolicySchema /// /// 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/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.PowerShell.cs index ddd91b58a133..0fbea8b24a8b 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IManagementPolicySnapShot FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.TypeConverter.cs index 78c36055f8e1..ba5d2944d20b 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagementPolicySnapShotTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.json.cs b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.json.cs index 899633a49f5a..850c422a7a43 100644 --- a/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ManagementPolicySnapShot.json.cs @@ -20,7 +20,7 @@ public partial class ManagementPolicySnapShot partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagementPolicySnapShot /// /// 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 ManagementPolicySnapShot /// /// 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/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.PowerShell.cs index 0f407eacaf6e..b61697743544 100644 --- a/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IM /// 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.Functions.Models.Api20190401.IMetricSpecificationAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.TypeConverter.cs index 0be5ae3ec5ee..d0a53f94b626 100644 --- a/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MetricSpecificationAutoGeneratedTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.json.cs index 59b3912d76f3..219d2b48e633 100644 --- a/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/MetricSpecificationAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class MetricSpecificationAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MetricSpecificationAutoGenerated /// /// 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 MetricSpecificationAutoGenerated /// /// 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/Functions/generated/api/Models/Api20190401/NetworkRuleSet.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.PowerShell.cs index 1ef43a173984..bcb4d574298a 100644 --- a/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IN /// 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.Functions.Models.Api20190401.INetworkRuleSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.TypeConverter.cs index 6c6b7b17bd30..bcdbc48a5573 100644 --- a/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class NetworkRuleSetTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.json.cs b/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.json.cs index d20ea23e261a..a31d3fefc841 100644 --- a/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/NetworkRuleSet.json.cs @@ -20,7 +20,7 @@ public partial class NetworkRuleSet partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NetworkRuleSet /// /// 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 NetworkRuleSet /// /// 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/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.PowerShell.cs index 4c8281844a22..9b90ce63d327 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IO /// 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.Functions.Models.Api20190401.IOperationAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.TypeConverter.cs index 8706d6cb4743..276edfaa005a 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OperationAutoGeneratedTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.json.cs index d818f47934cb..e444559a95ea 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class OperationAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OperationAutoGenerated /// /// 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 OperationAutoGenerated /// /// 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/Functions/generated/api/Models/Api20190401/OperationDisplay.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/OperationDisplay.PowerShell.cs index 89991ce6262f..a835374e36de 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationDisplay.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationDisplay.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IO /// 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.Functions.Models.Api20190401.IOperationDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/OperationDisplay.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/OperationDisplay.TypeConverter.cs index 3f4c6653f695..103dc736022a 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationDisplay.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationDisplay.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class OperationDisplayTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/OperationDisplay.json.cs b/src/Functions/generated/api/Models/Api20190401/OperationDisplay.json.cs index bbd4eb405a37..ccbf8ded183a 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationDisplay.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationDisplay.json.cs @@ -20,7 +20,7 @@ public partial class OperationDisplay partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OperationDisplay /// /// 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 OperationDisplay /// /// 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/Functions/generated/api/Models/Api20190401/OperationListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/OperationListResult.PowerShell.cs index b65e15d997c6..f8f65c4ebfec 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationListResult.PowerShell.cs @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IO /// 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.Functions.Models.Api20190401.IOperationListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/OperationListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/OperationListResult.TypeConverter.cs index 86825706573e..8f2709b40476 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationListResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OperationListResultTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/OperationListResult.json.cs b/src/Functions/generated/api/Models/Api20190401/OperationListResult.json.cs index 574d8b0364b3..7069703f7ce6 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationListResult.json.cs @@ -23,7 +23,7 @@ public partial class OperationListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 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. @@ -45,7 +46,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/Functions/generated/api/Models/Api20190401/OperationProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/OperationProperties.PowerShell.cs index 8cb4a6f75006..583a054d8ef5 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IO /// 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.Functions.Models.Api20190401.IOperationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/OperationProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/OperationProperties.TypeConverter.cs index 11f36d5eba74..995b6c1477e1 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OperationPropertiesTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/OperationProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/OperationProperties.json.cs index e8efc1643d37..0dcb995e6150 100644 --- a/src/Functions/generated/api/Models/Api20190401/OperationProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/OperationProperties.json.cs @@ -20,7 +20,7 @@ public partial class OperationProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OperationProperties /// /// 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 OperationProperties /// /// 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/Functions/generated/api/Models/Api20190401/Restriction.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/Restriction.PowerShell.cs index 70b2734ac719..b9c7fa9a86ee 100644 --- a/src/Functions/generated/api/Models/Api20190401/Restriction.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/Restriction.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IR /// 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.Functions.Models.Api20190401.IRestriction FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/Restriction.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/Restriction.TypeConverter.cs index 303e6b862d39..f853146b661e 100644 --- a/src/Functions/generated/api/Models/Api20190401/Restriction.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/Restriction.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class RestrictionTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/Restriction.json.cs b/src/Functions/generated/api/Models/Api20190401/Restriction.json.cs index 2ce0f4b685c7..c542bf492c0e 100644 --- a/src/Functions/generated/api/Models/Api20190401/Restriction.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/Restriction.json.cs @@ -20,7 +20,7 @@ public partial class Restriction partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Restriction /// /// 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 Restriction /// /// 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/Functions/generated/api/Models/Api20190401/ServiceSasParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.PowerShell.cs index cd1458e2fb04..0d27ef7eeaf8 100644 --- a/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IServiceSasParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.TypeConverter.cs index afd8919f97fa..46c35ae738b0 100644 --- a/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ServiceSasParametersTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.json.cs index f61409957aa7..da2cfe69bdb6 100644 --- a/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ServiceSasParameters.json.cs @@ -20,7 +20,7 @@ public partial class ServiceSasParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ServiceSasParameters /// /// 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 ServiceSasParameters /// /// 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/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.PowerShell.cs index 7efe76b14bbb..2834c89fecf7 100644 --- a/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IServiceSpecificationAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.TypeConverter.cs index 561b8d432ce3..c9195177b710 100644 --- a/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ServiceSpecificationAutoGeneratedTypeConverter : global::Sy 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.json.cs index 57c96e65df94..66b4109bbc86 100644 --- a/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/ServiceSpecificationAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class ServiceSpecificationAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ServiceSpecificationAutoGenerated /// /// 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 ServiceSpecificationAutoGenerated /// /// 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/Functions/generated/api/Models/Api20190401/Sku.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/Sku.PowerShell.cs index 1e9d34b1894a..44adba343a00 100644 --- a/src/Functions/generated/api/Models/Api20190401/Sku.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/Sku.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.ISku FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/Sku.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/Sku.TypeConverter.cs index 8940b410908b..618bbc46a758 100644 --- a/src/Functions/generated/api/Models/Api20190401/Sku.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/Sku.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuTypeConverter : global::System.Management.Automation.PST 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/Sku.json.cs b/src/Functions/generated/api/Models/Api20190401/Sku.json.cs index cc1328efcb56..bfb34d8770ee 100644 --- a/src/Functions/generated/api/Models/Api20190401/Sku.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/Sku.json.cs @@ -20,7 +20,7 @@ public partial class Sku partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Sku /// /// 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 Sku /// /// 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/Functions/generated/api/Models/Api20190401/SkuCapability.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/SkuCapability.PowerShell.cs index 5920fb787579..5c29a6b88d79 100644 --- a/src/Functions/generated/api/Models/Api20190401/SkuCapability.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/SkuCapability.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.ISkuCapability FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/SkuCapability.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/SkuCapability.TypeConverter.cs index 93b364450818..3af7d4944784 100644 --- a/src/Functions/generated/api/Models/Api20190401/SkuCapability.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/SkuCapability.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuCapabilityTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/SkuCapability.json.cs b/src/Functions/generated/api/Models/Api20190401/SkuCapability.json.cs index 6868665f1b00..5df7624caa8c 100644 --- a/src/Functions/generated/api/Models/Api20190401/SkuCapability.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/SkuCapability.json.cs @@ -22,7 +22,7 @@ public partial class SkuCapability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SkuCapability /// /// 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 SkuCapability /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccount.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccount.PowerShell.cs index 52200b6f8aeb..04db3a43a0a8 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccount.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccount.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccount FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -251,6 +251,18 @@ internal StorageAccount(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).CustomDomainName, global::System.Convert.ToString); @@ -608,6 +620,18 @@ internal StorageAccount(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal)this).CustomDomainName, global::System.Convert.ToString); diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccount.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccount.TypeConverter.cs index 231e20c3ccba..6def5bc4bfa8 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccount.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccount.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StorageAccountTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccount.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccount.cs index 1507bdd3b1e3..a43a1528ffa8 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccount.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccount.cs @@ -49,6 +49,21 @@ public partial class StorageAccount : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public string ActiveDirectoryPropertyNetBiosDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).ActiveDirectoryPropertyNetBiosDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).ActiveDirectoryPropertyNetBiosDomainName = value ?? null; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AllowBlobPublicAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).AllowBlobPublicAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).AllowBlobPublicAccess = value ?? default(bool); } + + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AllowSharedKeyAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).AllowSharedKeyAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).AllowSharedKeyAccess = value ?? default(bool); } + /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions? AzureFileIdentityBasedAuthenticationDirectoryServiceOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).AzureFileIdentityBasedAuthenticationDirectoryServiceOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).AzureFileIdentityBasedAuthenticationDirectoryServiceOption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions)""); } @@ -135,7 +150,7 @@ public partial class StorageAccount : public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.GeoReplicationStatus? GeoReplicationStatStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).GeoReplicationStatStatus; } /// - /// Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__trackedResource).Id; } @@ -373,6 +388,12 @@ public partial class StorageAccount : /// Internal Acessors for TableLastEnabledTime global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountInternal.TableLastEnabledTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).TableLastEnabledTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).TableLastEnabledTime = value; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).MinimumTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)Property).MinimumTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion)""); } + /// The name of the resource [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__trackedResource).Name; } @@ -555,7 +576,7 @@ public partial class StorageAccount : public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceInternal)__trackedResource).Tag = value ?? null /* model class */; } /// - /// The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IResourceAutoGeneratedInternal)__trackedResource).Type; } @@ -570,7 +591,7 @@ public StorageAccount() /// 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.Functions.Runtime.IEventListener eventListener) { @@ -641,6 +662,29 @@ public partial interface IStorageAccount : SerializedName = @"netBiosDomainName", PossibleTypes = new [] { typeof(string) })] string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.", + SerializedName = @"allowBlobPublicAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.", + SerializedName = @"allowSharedKeyAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowSharedKeyAccess { get; set; } /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, @@ -869,6 +913,16 @@ public partial interface IStorageAccount : PossibleTypes = new [] { typeof(global::System.DateTime) })] global::System.DateTime? LastGeoFailoverTime { get; } /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + SerializedName = @"minimumTlsVersion", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion) })] + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. /// @@ -1177,6 +1231,17 @@ internal partial interface IStorageAccountInternal : string ActiveDirectoryPropertyForestName { get; set; } /// Specifies the NetBIOS domain name. string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + bool? AllowSharedKeyAccess { get; set; } /// Required if choose AD. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IActiveDirectoryProperties AzureFileIdentityBasedAuthenticationActiveDirectoryProperty { get; set; } /// Indicates the directory service used. @@ -1278,6 +1343,10 @@ internal partial interface IStorageAccountInternal : /// is Standard_GRS or Standard_RAGRS. /// global::System.DateTime? LastGeoFailoverTime { get; set; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } /// Network rule set Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet NetworkRuleSet { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccount.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccount.json.cs index 2a704e73ad33..c07d7ddc0b06 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccount.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccount.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccount partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccount /// /// 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 StorageAccount /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.PowerShell.cs index b093a46cd65d..03612db893d8 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountCheckNameAvailabilityParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.TypeConverter.cs index 26a9525190f3..c369a2aa182e 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StorageAccountCheckNameAvailabilityParametersTypeConverter 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.json.cs index 6025282e64fc..e44f00bed157 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCheckNameAvailabilityParameters.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountCheckNameAvailabilityParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountCheckNameAvailabilityParameters /// /// 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 StorageAccountCheckNameAvailabilityParameters /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.PowerShell.cs index d6ba95551955..e1ae06270c13 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountCreateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -197,6 +197,18 @@ internal StorageAccountCreateParameters(global::System.Collections.IDictionary c { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); @@ -438,6 +450,18 @@ internal StorageAccountCreateParameters(global::System.Management.Automation.PSO { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.TypeConverter.cs index f6d005091bfa..e000001bf087 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountCreateParametersTypeConverter : global::Syste 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.cs index da7aaa0e2e2e..ce238dddf750 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.cs @@ -43,6 +43,21 @@ public partial class StorageAccountCreateParameters : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public string ActiveDirectoryPropertyNetBiosDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).ActiveDirectoryPropertyNetBiosDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).ActiveDirectoryPropertyNetBiosDomainName = value ?? null; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AllowBlobPublicAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).AllowBlobPublicAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).AllowBlobPublicAccess = value ?? default(bool); } + + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AllowSharedKeyAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).AllowSharedKeyAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).AllowSharedKeyAccess = value ?? default(bool); } + /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions? AzureFileIdentityBasedAuthenticationDirectoryServiceOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).AzureFileIdentityBasedAuthenticationDirectoryServiceOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).AzureFileIdentityBasedAuthenticationDirectoryServiceOption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions)""); } @@ -236,6 +251,12 @@ public partial class StorageAccountCreateParameters : /// Internal Acessors for TableLastEnabledTime global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountCreateParametersInternal.TableLastEnabledTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).TableLastEnabledTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).TableLastEnabledTime = value; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).MinimumTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)Property).MinimumTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion)""); } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. @@ -412,6 +433,29 @@ public partial interface IStorageAccountCreateParameters : SerializedName = @"netBiosDomainName", PossibleTypes = new [] { typeof(string) })] string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.", + SerializedName = @"allowBlobPublicAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.", + SerializedName = @"allowSharedKeyAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowSharedKeyAccess { get; set; } /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, @@ -589,6 +633,16 @@ public partial interface IStorageAccountCreateParameters : PossibleTypes = new [] { typeof(string) })] string Location { get; set; } /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + SerializedName = @"minimumTlsVersion", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion) })] + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. /// @@ -765,6 +819,17 @@ internal partial interface IStorageAccountCreateParametersInternal string ActiveDirectoryPropertyForestName { get; set; } /// Specifies the NetBIOS domain name. string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + bool? AllowSharedKeyAccess { get; set; } /// Required if choose AD. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IActiveDirectoryProperties AzureFileIdentityBasedAuthenticationActiveDirectoryProperty { get; set; } /// Indicates the directory service used. @@ -846,6 +911,10 @@ internal partial interface IStorageAccountCreateParametersInternal /// if an identical geo region is specified on update, the request will succeed. /// string Location { get; set; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } /// Network rule set Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet NetworkRuleSet { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.json.cs index ca9551d72845..671d0cc3a8db 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParameters.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountCreateParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountCreateParameters /// /// 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 StorageAccountCreateParameters /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.PowerShell.cs index 1adf5001d685..7e3f0c2b102d 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.PowerShell.cs @@ -88,7 +88,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountCreateParametersTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.TypeConverter.cs index 777596030b21..ba208c5c5465 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountCreateParametersTagsTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.json.cs index 2ed02fc8c8d0..87746471d2f6 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountCreateParametersTags.json.cs @@ -24,7 +24,7 @@ public partial class StorageAccountCreateParametersTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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. @@ -34,7 +34,8 @@ public partial class StorageAccountCreateParametersTags /// /// 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. @@ -46,7 +47,8 @@ public partial class StorageAccountCreateParametersTags /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountKey.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.PowerShell.cs index d2da3250b8fc..fc67ecdbed52 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountKey FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.TypeConverter.cs index 095fe47e09e9..e3fdbc13365a 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StorageAccountKeyTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.json.cs index 69e6bc6cb25b..d419448340cb 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountKey.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountKey partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountKey /// /// 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 StorageAccountKey /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.PowerShell.cs index 0daf883ebb3a..788faeef8b44 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountListKeysResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.TypeConverter.cs index 6320121926b2..87835895473c 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountListKeysResultTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.json.cs index 040a5b666227..688d9d8be3c5 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountListKeysResult.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountListKeysResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountListKeysResult /// /// 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 StorageAccountListKeysResult /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.PowerShell.cs index 117f947c16df..f172a2e8ef59 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.TypeConverter.cs index eaf485d11217..c425e3611a96 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountListResultTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.json.cs index fcfedb6a4b7b..ead1911f515a 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountListResult.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountListResult /// /// 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 StorageAccountListResult /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.PowerShell.cs index 6c2bff0fa1c4..e10572042a9d 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -175,6 +175,18 @@ internal StorageAccountProperties(global::System.Collections.IDictionary content { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).CustomDomainName, global::System.Convert.ToString); @@ -456,6 +468,18 @@ internal StorageAccountProperties(global::System.Management.Automation.PSObject { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal)this).CustomDomainName, global::System.Convert.ToString); diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.TypeConverter.cs index 7c0707131615..5a6160b815d5 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.cs index b33c558138a9..6bedf28b2b31 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.cs @@ -46,6 +46,27 @@ public partial class StorageAccountProperties : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public string ActiveDirectoryPropertyNetBiosDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).ActiveDirectoryPropertyNetBiosDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).ActiveDirectoryPropertyNetBiosDomainName = value ?? null; } + /// Backing field for property. + private bool? _allowBlobPublicAccess; + + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AllowBlobPublicAccess { get => this._allowBlobPublicAccess; set => this._allowBlobPublicAccess = value; } + + /// Backing field for property. + private bool? _allowSharedKeyAccess; + + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AllowSharedKeyAccess { get => this._allowSharedKeyAccess; set => this._allowSharedKeyAccess = value; } + /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions? AzureFileIdentityBasedAuthenticationDirectoryServiceOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).DirectoryServiceOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).DirectoryServiceOption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions)""); } @@ -339,6 +360,15 @@ public partial class StorageAccountProperties : /// Internal Acessors for TableLastEnabledTime global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesInternal.TableLastEnabledTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IEncryptionInternal)Encryption).TableLastEnabledTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IEncryptionInternal)Encryption).TableLastEnabledTime = value; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? _minimumTlsVersion; + + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get => this._minimumTlsVersion; set => this._minimumTlsVersion = value; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet _networkRuleSet; @@ -570,6 +600,29 @@ public partial interface IStorageAccountProperties : SerializedName = @"netBiosDomainName", PossibleTypes = new [] { typeof(string) })] string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.", + SerializedName = @"allowBlobPublicAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.", + SerializedName = @"allowSharedKeyAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowSharedKeyAccess { get; set; } /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, @@ -766,6 +819,16 @@ public partial interface IStorageAccountProperties : PossibleTypes = new [] { typeof(global::System.DateTime) })] global::System.DateTime? LastGeoFailoverTime { get; } /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + SerializedName = @"minimumTlsVersion", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion) })] + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. /// @@ -1008,6 +1071,17 @@ internal partial interface IStorageAccountPropertiesInternal string ActiveDirectoryPropertyForestName { get; set; } /// Specifies the NetBIOS domain name. string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + bool? AllowSharedKeyAccess { get; set; } /// Required if choose AD. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IActiveDirectoryProperties AzureFileIdentityBasedAuthenticationActiveDirectoryProperty { get; set; } /// Indicates the directory service used. @@ -1099,6 +1173,10 @@ internal partial interface IStorageAccountPropertiesInternal /// is Standard_GRS or Standard_RAGRS. /// global::System.DateTime? LastGeoFailoverTime { get; set; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } /// Network rule set Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet NetworkRuleSet { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.json.cs index c57eceb5e510..1d8919fc1d56 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountProperties.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountProperties /// /// 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 StorageAccountProperties /// /// 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. @@ -94,6 +96,9 @@ internal StorageAccountProperties(Microsoft.Azure.PowerShell.Cmdlets.Functions.R {_isHnsEnabled = If( json?.PropertyT("isHnsEnabled"), out var __jsonIsHnsEnabled) ? (bool?)__jsonIsHnsEnabled : IsHnsEnabled;} {_failoverInProgress = If( json?.PropertyT("failoverInProgress"), out var __jsonFailoverInProgress) ? (bool?)__jsonFailoverInProgress : FailoverInProgress;} {_largeFileSharesState = If( json?.PropertyT("largeFileSharesState"), out var __jsonLargeFileSharesState) ? (string)__jsonLargeFileSharesState : (string)LargeFileSharesState;} + {_allowBlobPublicAccess = If( json?.PropertyT("allowBlobPublicAccess"), out var __jsonAllowBlobPublicAccess) ? (bool?)__jsonAllowBlobPublicAccess : AllowBlobPublicAccess;} + {_minimumTlsVersion = If( json?.PropertyT("minimumTlsVersion"), out var __jsonMinimumTlsVersion) ? (string)__jsonMinimumTlsVersion : (string)MinimumTlsVersion;} + {_allowSharedKeyAccess = If( json?.PropertyT("allowSharedKeyAccess"), out var __jsonAllowSharedKeyAccess) ? (bool?)__jsonAllowSharedKeyAccess : AllowSharedKeyAccess;} AfterFromJson(json); } @@ -180,6 +185,9 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson AddIf( null != this._failoverInProgress ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._failoverInProgress) : null, "failoverInProgress" ,container.Add ); } AddIf( null != (((object)this._largeFileSharesState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._largeFileSharesState.ToString()) : null, "largeFileSharesState" ,container.Add ); + AddIf( null != this._allowBlobPublicAccess ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._allowBlobPublicAccess) : null, "allowBlobPublicAccess" ,container.Add ); + AddIf( null != (((object)this._minimumTlsVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._minimumTlsVersion.ToString()) : null, "minimumTlsVersion" ,container.Add ); + AddIf( null != this._allowSharedKeyAccess ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._allowSharedKeyAccess) : null, "allowSharedKeyAccess" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.PowerShell.cs index 417d7c205759..181023595816 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -134,6 +136,18 @@ internal StorageAccountPropertiesCreateParameters(global::System.Collections.IDi { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); @@ -311,6 +325,18 @@ internal StorageAccountPropertiesCreateParameters(global::System.Management.Auto { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.TypeConverter.cs index b11585316890..f3ca8365c202 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StorageAccountPropertiesCreateParametersTypeConverter : glo 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.cs index 5ba41c7a9abe..1a260260a31b 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.cs @@ -46,6 +46,27 @@ public partial class StorageAccountPropertiesCreateParameters : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public string ActiveDirectoryPropertyNetBiosDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).ActiveDirectoryPropertyNetBiosDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).ActiveDirectoryPropertyNetBiosDomainName = value ?? null; } + /// Backing field for property. + private bool? _allowBlobPublicAccess; + + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AllowBlobPublicAccess { get => this._allowBlobPublicAccess; set => this._allowBlobPublicAccess = value; } + + /// Backing field for property. + private bool? _allowSharedKeyAccess; + + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AllowSharedKeyAccess { get => this._allowSharedKeyAccess; set => this._allowSharedKeyAccess = value; } + /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions? AzureFileIdentityBasedAuthenticationDirectoryServiceOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).DirectoryServiceOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).DirectoryServiceOption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions)""); } @@ -206,6 +227,15 @@ public partial class StorageAccountPropertiesCreateParameters : /// Internal Acessors for TableLastEnabledTime global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesCreateParametersInternal.TableLastEnabledTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IEncryptionInternal)Encryption).TableLastEnabledTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IEncryptionInternal)Encryption).TableLastEnabledTime = value; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? _minimumTlsVersion; + + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get => this._minimumTlsVersion; set => this._minimumTlsVersion = value; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet _networkRuleSet; @@ -328,6 +358,29 @@ public partial interface IStorageAccountPropertiesCreateParameters : SerializedName = @"netBiosDomainName", PossibleTypes = new [] { typeof(string) })] string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.", + SerializedName = @"allowBlobPublicAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.", + SerializedName = @"allowSharedKeyAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowSharedKeyAccess { get; set; } /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, @@ -461,6 +514,16 @@ public partial interface IStorageAccountPropertiesCreateParameters : PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState) })] Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState? LargeFileSharesState { get; set; } /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + SerializedName = @"minimumTlsVersion", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion) })] + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. /// @@ -559,6 +622,17 @@ internal partial interface IStorageAccountPropertiesCreateParametersInternal string ActiveDirectoryPropertyForestName { get; set; } /// Specifies the NetBIOS domain name. string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + bool? AllowSharedKeyAccess { get; set; } /// Required if choose AD. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IActiveDirectoryProperties AzureFileIdentityBasedAuthenticationActiveDirectoryProperty { get; set; } /// Indicates the directory service used. @@ -624,6 +698,10 @@ internal partial interface IStorageAccountPropertiesCreateParametersInternal /// Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. /// Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState? LargeFileSharesState { get; set; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } /// Network rule set Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet NetworkRuleSet { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.json.cs index 314d67472bc1..08d5c4a61d87 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesCreateParameters.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountPropertiesCreateParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountPropertiesCreateParameters /// /// 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 StorageAccountPropertiesCreateParameters /// /// 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. @@ -83,6 +85,9 @@ internal StorageAccountPropertiesCreateParameters(Microsoft.Azure.PowerShell.Cmd {_enableHttpsTrafficOnly = If( json?.PropertyT("supportsHttpsTrafficOnly"), out var __jsonSupportsHttpsTrafficOnly) ? (bool?)__jsonSupportsHttpsTrafficOnly : EnableHttpsTrafficOnly;} {_isHnsEnabled = If( json?.PropertyT("isHnsEnabled"), out var __jsonIsHnsEnabled) ? (bool?)__jsonIsHnsEnabled : IsHnsEnabled;} {_largeFileSharesState = If( json?.PropertyT("largeFileSharesState"), out var __jsonLargeFileSharesState) ? (string)__jsonLargeFileSharesState : (string)LargeFileSharesState;} + {_allowBlobPublicAccess = If( json?.PropertyT("allowBlobPublicAccess"), out var __jsonAllowBlobPublicAccess) ? (bool?)__jsonAllowBlobPublicAccess : AllowBlobPublicAccess;} + {_minimumTlsVersion = If( json?.PropertyT("minimumTlsVersion"), out var __jsonMinimumTlsVersion) ? (string)__jsonMinimumTlsVersion : (string)MinimumTlsVersion;} + {_allowSharedKeyAccess = If( json?.PropertyT("allowSharedKeyAccess"), out var __jsonAllowSharedKeyAccess) ? (bool?)__jsonAllowSharedKeyAccess : AllowSharedKeyAccess;} AfterFromJson(json); } @@ -115,6 +120,9 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson AddIf( null != this._enableHttpsTrafficOnly ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._enableHttpsTrafficOnly) : null, "supportsHttpsTrafficOnly" ,container.Add ); AddIf( null != this._isHnsEnabled ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._isHnsEnabled) : null, "isHnsEnabled" ,container.Add ); AddIf( null != (((object)this._largeFileSharesState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._largeFileSharesState.ToString()) : null, "largeFileSharesState" ,container.Add ); + AddIf( null != this._allowBlobPublicAccess ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._allowBlobPublicAccess) : null, "allowBlobPublicAccess" ,container.Add ); + AddIf( null != (((object)this._minimumTlsVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._minimumTlsVersion.ToString()) : null, "minimumTlsVersion" ,container.Add ); + AddIf( null != this._allowSharedKeyAccess ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._allowSharedKeyAccess) : null, "allowSharedKeyAccess" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.PowerShell.cs index 0141e9dcd188..573612ac4294 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -130,6 +132,18 @@ internal StorageAccountPropertiesUpdateParameters(global::System.Collections.IDi { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); @@ -303,6 +317,18 @@ internal StorageAccountPropertiesUpdateParameters(global::System.Management.Auto { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.TypeConverter.cs index 9e9da6dd4c39..adfc8555e8d4 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StorageAccountPropertiesUpdateParametersTypeConverter : glo 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.cs index 9dea432d5eac..96d06ad5093c 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.cs @@ -46,6 +46,27 @@ public partial class StorageAccountPropertiesUpdateParameters : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public string ActiveDirectoryPropertyNetBiosDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).ActiveDirectoryPropertyNetBiosDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).ActiveDirectoryPropertyNetBiosDomainName = value ?? null; } + /// Backing field for property. + private bool? _allowBlobPublicAccess; + + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AllowBlobPublicAccess { get => this._allowBlobPublicAccess; set => this._allowBlobPublicAccess = value; } + + /// Backing field for property. + private bool? _allowSharedKeyAccess; + + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AllowSharedKeyAccess { get => this._allowSharedKeyAccess; set => this._allowSharedKeyAccess = value; } + /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions? AzureFileIdentityBasedAuthenticationDirectoryServiceOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).DirectoryServiceOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IAzureFilesIdentityBasedAuthenticationInternal)AzureFilesIdentityBasedAuthentication).DirectoryServiceOption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions)""); } @@ -198,6 +219,15 @@ public partial class StorageAccountPropertiesUpdateParameters : /// Internal Acessors for TableLastEnabledTime global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal.TableLastEnabledTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IEncryptionInternal)Encryption).TableLastEnabledTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IEncryptionInternal)Encryption).TableLastEnabledTime = value; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? _minimumTlsVersion; + + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get => this._minimumTlsVersion; set => this._minimumTlsVersion = value; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet _networkRuleSet; @@ -320,6 +350,29 @@ public partial interface IStorageAccountPropertiesUpdateParameters : SerializedName = @"netBiosDomainName", PossibleTypes = new [] { typeof(string) })] string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.", + SerializedName = @"allowBlobPublicAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.", + SerializedName = @"allowSharedKeyAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowSharedKeyAccess { get; set; } /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, @@ -443,6 +496,16 @@ public partial interface IStorageAccountPropertiesUpdateParameters : PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState) })] Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState? LargeFileSharesState { get; set; } /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + SerializedName = @"minimumTlsVersion", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion) })] + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. /// @@ -541,6 +604,17 @@ internal partial interface IStorageAccountPropertiesUpdateParametersInternal string ActiveDirectoryPropertyForestName { get; set; } /// Specifies the NetBIOS domain name. string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + bool? AllowSharedKeyAccess { get; set; } /// Required if choose AD. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IActiveDirectoryProperties AzureFileIdentityBasedAuthenticationActiveDirectoryProperty { get; set; } /// Indicates the directory service used. @@ -603,6 +677,10 @@ internal partial interface IStorageAccountPropertiesUpdateParametersInternal /// Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. /// Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState? LargeFileSharesState { get; set; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } /// Network rule set Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet NetworkRuleSet { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.json.cs index 5e2dd87573f1..c3c5411790b1 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountPropertiesUpdateParameters.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountPropertiesUpdateParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountPropertiesUpdateParameters /// /// 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 StorageAccountPropertiesUpdateParameters /// /// 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. @@ -82,6 +84,9 @@ internal StorageAccountPropertiesUpdateParameters(Microsoft.Azure.PowerShell.Cmd {_accessTier = If( json?.PropertyT("accessTier"), out var __jsonAccessTier) ? (string)__jsonAccessTier : (string)AccessTier;} {_enableHttpsTrafficOnly = If( json?.PropertyT("supportsHttpsTrafficOnly"), out var __jsonSupportsHttpsTrafficOnly) ? (bool?)__jsonSupportsHttpsTrafficOnly : EnableHttpsTrafficOnly;} {_largeFileSharesState = If( json?.PropertyT("largeFileSharesState"), out var __jsonLargeFileSharesState) ? (string)__jsonLargeFileSharesState : (string)LargeFileSharesState;} + {_allowBlobPublicAccess = If( json?.PropertyT("allowBlobPublicAccess"), out var __jsonAllowBlobPublicAccess) ? (bool?)__jsonAllowBlobPublicAccess : AllowBlobPublicAccess;} + {_minimumTlsVersion = If( json?.PropertyT("minimumTlsVersion"), out var __jsonMinimumTlsVersion) ? (string)__jsonMinimumTlsVersion : (string)MinimumTlsVersion;} + {_allowSharedKeyAccess = If( json?.PropertyT("allowSharedKeyAccess"), out var __jsonAllowSharedKeyAccess) ? (bool?)__jsonAllowSharedKeyAccess : AllowSharedKeyAccess;} AfterFromJson(json); } @@ -113,6 +118,9 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson AddIf( null != (((object)this._accessTier)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._accessTier.ToString()) : null, "accessTier" ,container.Add ); AddIf( null != this._enableHttpsTrafficOnly ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._enableHttpsTrafficOnly) : null, "supportsHttpsTrafficOnly" ,container.Add ); AddIf( null != (((object)this._largeFileSharesState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._largeFileSharesState.ToString()) : null, "largeFileSharesState" ,container.Add ); + AddIf( null != this._allowBlobPublicAccess ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._allowBlobPublicAccess) : null, "allowBlobPublicAccess" ,container.Add ); + AddIf( null != (((object)this._minimumTlsVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._minimumTlsVersion.ToString()) : null, "minimumTlsVersion" ,container.Add ); + AddIf( null != this._allowSharedKeyAccess ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._allowSharedKeyAccess) : null, "allowSharedKeyAccess" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.PowerShell.cs index 58b639d385e5..39a666134a73 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountRegenerateKeyParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.TypeConverter.cs index fa45aed24077..97e3beaf1f52 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StorageAccountRegenerateKeyParametersTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.json.cs index c4d30282d229..fc5c08c91eae 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountRegenerateKeyParameters.json.cs @@ -20,7 +20,7 @@ public partial class StorageAccountRegenerateKeyParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountRegenerateKeyParameters /// /// 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 StorageAccountRegenerateKeyParameters /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.PowerShell.cs index e4dec9264ab5..77c1a6c7380f 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.PowerShell.cs @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -191,6 +191,18 @@ internal StorageAccountUpdateParameters(global::System.Collections.IDictionary c { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); @@ -424,6 +436,18 @@ internal StorageAccountUpdateParameters(global::System.Management.Automation.PSO { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).LargeFileSharesState = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState?) content.GetValueForProperty("LargeFileSharesState",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).LargeFileSharesState, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState.CreateFrom); } + if (content.Contains("AllowBlobPublicAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowBlobPublicAccess = (bool?) content.GetValueForProperty("AllowBlobPublicAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowBlobPublicAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("MinimumTlsVersion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).MinimumTlsVersion = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion?) content.GetValueForProperty("MinimumTlsVersion",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).MinimumTlsVersion, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion.CreateFrom); + } + if (content.Contains("AllowSharedKeyAccess")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowSharedKeyAccess = (bool?) content.GetValueForProperty("AllowSharedKeyAccess",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).AllowSharedKeyAccess, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } if (content.Contains("CustomDomainName")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).CustomDomainName = (string) content.GetValueForProperty("CustomDomainName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal)this).CustomDomainName, global::System.Convert.ToString); diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.TypeConverter.cs index ac6a4f67bb81..556eb3c6da67 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountUpdateParametersTypeConverter : global::Syste 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.cs index c9baa1c0a5e1..2113f30e0fc1 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.cs @@ -45,6 +45,21 @@ public partial class StorageAccountUpdateParameters : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public string ActiveDirectoryPropertyNetBiosDomainName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).ActiveDirectoryPropertyNetBiosDomainName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).ActiveDirectoryPropertyNetBiosDomainName = value ?? null; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AllowBlobPublicAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).AllowBlobPublicAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).AllowBlobPublicAccess = value ?? default(bool); } + + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AllowSharedKeyAccess { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).AllowSharedKeyAccess; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).AllowSharedKeyAccess = value ?? default(bool); } + /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions? AzureFileIdentityBasedAuthenticationDirectoryServiceOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).AzureFileIdentityBasedAuthenticationDirectoryServiceOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).AzureFileIdentityBasedAuthenticationDirectoryServiceOption = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions)""); } @@ -223,6 +238,12 @@ public partial class StorageAccountUpdateParameters : /// Internal Acessors for TableLastEnabledTime global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountUpdateParametersInternal.TableLastEnabledTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).TableLastEnabledTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).TableLastEnabledTime = value; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).MinimumTlsVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountPropertiesUpdateParametersInternal)Property).MinimumTlsVersion = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion)""); } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. @@ -402,6 +423,29 @@ public partial interface IStorageAccountUpdateParameters : SerializedName = @"netBiosDomainName", PossibleTypes = new [] { typeof(string) })] string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.", + SerializedName = @"allowBlobPublicAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.", + SerializedName = @"allowSharedKeyAccess", + PossibleTypes = new [] { typeof(bool) })] + bool? AllowSharedKeyAccess { get; set; } /// Indicates the directory service used. [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, @@ -559,6 +603,16 @@ public partial interface IStorageAccountUpdateParameters : PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState) })] Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState? LargeFileSharesState { get; set; } /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.", + SerializedName = @"minimumTlsVersion", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion) })] + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } + /// /// Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices /// (For example, "Logging, Metrics"), or None to bypass none of those traffics. /// @@ -735,6 +789,17 @@ internal partial interface IStorageAccountUpdateParametersInternal string ActiveDirectoryPropertyForestName { get; set; } /// Specifies the NetBIOS domain name. string ActiveDirectoryPropertyNetBiosDomainName { get; set; } + /// + /// Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true + /// for this property. + /// + bool? AllowBlobPublicAccess { get; set; } + /// + /// Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If + /// false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). + /// The default value is null, which is equivalent to true. + /// + bool? AllowSharedKeyAccess { get; set; } /// Required if choose AD. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IActiveDirectoryProperties AzureFileIdentityBasedAuthenticationActiveDirectoryProperty { get; set; } /// Indicates the directory service used. @@ -809,6 +874,10 @@ internal partial interface IStorageAccountUpdateParametersInternal /// Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. /// Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState? LargeFileSharesState { get; set; } + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion? MinimumTlsVersion { get; set; } /// Network rule set Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.INetworkRuleSet NetworkRuleSet { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.json.cs index cdcc475790b4..8a94b4db5900 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParameters.json.cs @@ -22,7 +22,7 @@ public partial class StorageAccountUpdateParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageAccountUpdateParameters /// /// 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 StorageAccountUpdateParameters /// /// 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/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.PowerShell.cs index 3b2faff57225..b3af923af208 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.PowerShell.cs @@ -88,7 +88,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageAccountUpdateParametersTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.TypeConverter.cs index 6e5bc2cc14eb..a178cc6c8c73 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageAccountUpdateParametersTagsTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.json.cs index 7ddc6c76701a..825af4f82842 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageAccountUpdateParametersTags.json.cs @@ -24,7 +24,7 @@ public partial class StorageAccountUpdateParametersTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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. @@ -34,7 +34,8 @@ public partial class StorageAccountUpdateParametersTags /// /// 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. @@ -46,7 +47,8 @@ public partial class StorageAccountUpdateParametersTags /// /// 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/Functions/generated/api/Models/Api20190401/StorageSkuListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.PowerShell.cs index 2bb040a4da5b..f69393c8ab2b 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IS /// 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.Functions.Models.Api20190401.IStorageSkuListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.TypeConverter.cs index 27bd4cdda013..2d1136e3f800 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageSkuListResultTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.json.cs b/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.json.cs index e68dc1bfe7bf..88e3b3d7a556 100644 --- a/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/StorageSkuListResult.json.cs @@ -20,7 +20,7 @@ public partial class StorageSkuListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageSkuListResult /// /// 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 StorageSkuListResult /// /// 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/Functions/generated/api/Models/Api20190401/TagProperty.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/TagProperty.PowerShell.cs index c042be61c5ba..4042470f037d 100644 --- a/src/Functions/generated/api/Models/Api20190401/TagProperty.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/TagProperty.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IT /// 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.Functions.Models.Api20190401.ITagProperty FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190401/TagProperty.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/TagProperty.TypeConverter.cs index b662e4295d8d..b89d1edc8e74 100644 --- a/src/Functions/generated/api/Models/Api20190401/TagProperty.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/TagProperty.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TagPropertyTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/TagProperty.json.cs b/src/Functions/generated/api/Models/Api20190401/TagProperty.json.cs index f9618e3ae179..7e4f4106ff62 100644 --- a/src/Functions/generated/api/Models/Api20190401/TagProperty.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/TagProperty.json.cs @@ -20,7 +20,7 @@ public partial class TagProperty partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TagProperty /// /// 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 TagProperty /// /// 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/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.PowerShell.cs index 2bc866288331..edcc811c9b39 100644 --- a/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IU /// 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.Functions.Models.Api20190401.IUpdateHistoryProperty FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.TypeConverter.cs index c1343b021a6a..db8eb7c79b74 100644 --- a/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class UpdateHistoryPropertyTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.json.cs b/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.json.cs index 8b67b4032e61..0beaff3772e4 100644 --- a/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/UpdateHistoryProperty.json.cs @@ -20,7 +20,7 @@ public partial class UpdateHistoryProperty partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UpdateHistoryProperty /// /// 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 UpdateHistoryProperty /// /// 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/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.PowerShell.cs index 60fdb670db3c..0c54ce8e7870 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IU /// 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.Functions.Models.Api20190401.IUsageAutoGenerated FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.TypeConverter.cs index 99a18155a4d0..7c72f61f4f21 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class UsageAutoGeneratedTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.json.cs b/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.json.cs index a186228d0f51..9253c443ae7a 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageAutoGenerated.json.cs @@ -20,7 +20,7 @@ public partial class UsageAutoGenerated partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UsageAutoGenerated /// /// 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 UsageAutoGenerated /// /// 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/Functions/generated/api/Models/Api20190401/UsageListResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/UsageListResult.PowerShell.cs index dd40bfa8882e..1988be9140e5 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageListResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageListResult.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IU /// 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.Functions.Models.Api20190401.IUsageListResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/UsageListResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/UsageListResult.TypeConverter.cs index 1df6b7666e92..bcb1d996983a 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageListResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageListResult.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UsageListResultTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/UsageListResult.json.cs b/src/Functions/generated/api/Models/Api20190401/UsageListResult.json.cs index fcd624745758..1d5e4c9536a2 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageListResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageListResult.json.cs @@ -20,7 +20,7 @@ public partial class UsageListResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UsageListResult /// /// 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 UsageListResult /// /// 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/Functions/generated/api/Models/Api20190401/UsageName.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/UsageName.PowerShell.cs index bb5d3c349832..39b268631065 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageName.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageName.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IU /// 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.Functions.Models.Api20190401.IUsageName FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/UsageName.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/UsageName.TypeConverter.cs index debd737efd5c..946645314260 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageName.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageName.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UsageNameTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/UsageName.json.cs b/src/Functions/generated/api/Models/Api20190401/UsageName.json.cs index f2919dff65ed..60425fcfbb25 100644 --- a/src/Functions/generated/api/Models/Api20190401/UsageName.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/UsageName.json.cs @@ -20,7 +20,7 @@ public partial class UsageName partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UsageName /// /// 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 UsageName /// /// 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/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.PowerShell.cs index 839a02f4ee85..b1c1b8ee0e72 100644 --- a/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IV /// 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.Functions.Models.Api20190401.IVirtualNetworkRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.TypeConverter.cs index 0ed60f456fa9..eaf89e767e75 100644 --- a/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VirtualNetworkRuleTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.json.cs b/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.json.cs index b8d6e39d2474..98cfbcdf4de5 100644 --- a/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.json.cs +++ b/src/Functions/generated/api/Models/Api20190401/VirtualNetworkRule.json.cs @@ -20,7 +20,7 @@ public partial class VirtualNetworkRule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VirtualNetworkRule /// /// 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 VirtualNetworkRule /// /// 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/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.PowerShell.cs index 18a828e7c772..3536416690a0 100644 --- a/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.PowerShell.cs @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAbnormalTimePeriod FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.TypeConverter.cs index faeac28935f2..9657ee49e5eb 100644 --- a/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AbnormalTimePeriodTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.json.cs b/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.json.cs index 7327920f5b76..8318f3f59b69 100644 --- a/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AbnormalTimePeriod.json.cs @@ -20,7 +20,7 @@ public partial class AbnormalTimePeriod partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AbnormalTimePeriod /// /// 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 AbnormalTimePeriod /// /// 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/Functions/generated/api/Models/Api20190801/Address.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Address.PowerShell.cs index ce1dcfd18168..fcc802ab4a2c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Address.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Address.PowerShell.cs @@ -164,7 +164,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAddress FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Address.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Address.TypeConverter.cs index 7bb50c2cb9cf..c81ffd60bf02 100644 --- a/src/Functions/generated/api/Models/Api20190801/Address.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Address.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AddressTypeConverter : global::System.Management.Automation 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Address.json.cs b/src/Functions/generated/api/Models/Api20190801/Address.json.cs index 5974ad6ba4e7..3b03fc1b2a86 100644 --- a/src/Functions/generated/api/Models/Api20190801/Address.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Address.json.cs @@ -20,7 +20,7 @@ public partial class Address partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Address /// /// 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 Address /// /// 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/Functions/generated/api/Models/Api20190801/AddressResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponse.PowerShell.cs index 1af0bec89f81..06f0226c135b 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponse.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAddressResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AddressResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponse.TypeConverter.cs index 399ce675bc5b..a1de6e7d500a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponse.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AddressResponseTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AddressResponse.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponse.cs index 477b58fd8c16..482b3b3a28fb 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponse.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponse.cs @@ -82,7 +82,7 @@ public AddressResponse() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AddressResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponse.json.cs index 57ffd6fc3c34..bcd9eaaba280 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponse.json.cs @@ -20,7 +20,7 @@ public partial class AddressResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AddressResponse /// /// 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 AddressResponse /// /// 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/Functions/generated/api/Models/Api20190801/AddressResponseProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.PowerShell.cs index 410dc1717fa0..2a1e7904dccd 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.PowerShell.cs @@ -150,7 +150,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAddressResponseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.TypeConverter.cs index 0810a9a5978a..a32981a1b252 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AddressResponsePropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.json.cs index 2b70c4024d21..f75e6aae5d92 100644 --- a/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AddressResponseProperties.json.cs @@ -20,7 +20,7 @@ public partial class AddressResponseProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AddressResponseProperties /// /// 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 AddressResponseProperties /// /// 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/Functions/generated/api/Models/Api20190801/AnalysisData.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisData.PowerShell.cs index c220014ec15c..fc425ff74560 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisData.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisData.PowerShell.cs @@ -252,7 +252,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAnalysisData FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisData.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisData.TypeConverter.cs index d64681e49d18..beece86fc948 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisData.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisData.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AnalysisDataTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisData.json.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisData.json.cs index f972fd56b23e..51b34acf9d3a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisData.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisData.json.cs @@ -20,7 +20,7 @@ public partial class AnalysisData partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AnalysisData /// /// 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 AnalysisData /// /// 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/Functions/generated/api/Models/Api20190801/AnalysisDefinition.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.PowerShell.cs index 84cbdb60343d..152c1745d013 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.PowerShell.cs @@ -164,7 +164,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAnalysisDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.TypeConverter.cs index c0e64968112e..cdc8548212cf 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AnalysisDefinitionTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.cs index f8b2b8113261..500c5d5442f1 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.cs @@ -71,7 +71,7 @@ public AnalysisDefinition() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.json.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.json.cs index 5a960101ce35..371438f72f58 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinition.json.cs @@ -20,7 +20,7 @@ public partial class AnalysisDefinition partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AnalysisDefinition /// /// 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 AnalysisDefinition /// /// 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/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.PowerShell.cs index ffe6072b5c58..a4df3936e459 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.PowerShell.cs @@ -126,7 +126,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAnalysisDefinitionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.TypeConverter.cs index 23a493c870f9..05f84206a9e8 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AnalysisDefinitionPropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.json.cs index 88701a4f572f..9f7f52422297 100644 --- a/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AnalysisDefinitionProperties.json.cs @@ -20,7 +20,7 @@ public partial class AnalysisDefinitionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AnalysisDefinitionProperties /// /// 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 AnalysisDefinitionProperties /// /// 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/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.PowerShell.cs index 9a3551a6198d..333839b75aaa 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApiDefinitionInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.TypeConverter.cs index 7416651aab1a..30d5a637dd1b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ApiDefinitionInfoTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.json.cs index 73c0f8a5b5ae..cc450fed8186 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiDefinitionInfo.json.cs @@ -20,7 +20,7 @@ public partial class ApiDefinitionInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApiDefinitionInfo /// /// 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 ApiDefinitionInfo /// /// 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/Functions/generated/api/Models/Api20190801/ApiKvReference.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApiKvReference.PowerShell.cs index afa41efbc0cc..0487d49fc248 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiKvReference.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiKvReference.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApiKvReference FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApiKvReference.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApiKvReference.TypeConverter.cs index acec0578dd35..567051d533c7 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiKvReference.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiKvReference.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ApiKvReferenceTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApiKvReference.json.cs b/src/Functions/generated/api/Models/Api20190801/ApiKvReference.json.cs index e7fc070ff6d1..d7f873caa355 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiKvReference.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiKvReference.json.cs @@ -20,7 +20,7 @@ public partial class ApiKvReference partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApiKvReference /// /// 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 ApiKvReference /// /// 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/Functions/generated/api/Models/Api20190801/ApiManagementConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.PowerShell.cs index eb46c6e8f9ba..c87791ed5a59 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApiManagementConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.TypeConverter.cs index 449ecd69ea13..ab6f37d2159e 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ApiManagementConfigTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.json.cs index 8e03e399ae8f..8309d0fdf1e3 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApiManagementConfig.json.cs @@ -20,7 +20,7 @@ public partial class ApiManagementConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApiManagementConfig /// /// 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 ApiManagementConfig /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificate.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.PowerShell.cs index 2e9cb6fb8bd3..79d228db7424 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.PowerShell.cs @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.TypeConverter.cs index bacaccc38db0..95384a144d1f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceCertificateTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.json.cs index dc2251baf874..3d924d19d9d1 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificate.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificate partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificate /// /// 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 AppServiceCertificate /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.PowerShell.cs index bc4f7dabed64..26f8664605ef 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.TypeConverter.cs index 54cdfbd8f1f5..3d21a7a491cf 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceCertificateCollectionTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.json.cs index 34564ef6415b..b0a4fa09c72a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateCollection.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateCollection /// /// 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 AppServiceCertificateCollection /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.PowerShell.cs index 7e81aa8baf03..f2a33f3d5f13 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.PowerShell.cs @@ -542,7 +542,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrder FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.TypeConverter.cs index c7bc81b4d040..9016e102a9d9 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceCertificateOrderTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.cs index 70de5da6dc76..c5c5faf9180e 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.cs @@ -363,7 +363,7 @@ public AppServiceCertificateOrder() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.json.cs index 5f89d6cdda6e..1d9d63f6afd7 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrder.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrder partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrder /// /// 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 AppServiceCertificateOrder /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.PowerShell.cs index 281f3b33eed2..e0595e8d8451 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.PowerShell.cs @@ -134,7 +134,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrderCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.TypeConverter.cs index 21847685fe95..7b8414b1c93e 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServiceCertificateOrderCollectionTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.json.cs index 7f43ae6cc84b..83b03ef1cfcb 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderCollection.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrderCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrderCollection /// /// 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 AppServiceCertificateOrderCollection /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.PowerShell.cs index ee6a99463d1e..7cedb767fe91 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.PowerShell.cs @@ -527,7 +527,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrderPatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.TypeConverter.cs index 939adac1d913..da9484b24642 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServiceCertificateOrderPatchResourceTypeConverter : glob 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.cs index 4c4a0e88856a..2e57561b749b 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.cs @@ -355,7 +355,7 @@ public AppServiceCertificateOrderPatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.json.cs index e696fb471b38..05ec02c79721 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResource.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrderPatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrderPatchResource /// /// 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 AppServiceCertificateOrderPatchResource /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.PowerShell.cs index 2c7b3a30ab0a..334c5f67210e 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.PowerShell.cs @@ -487,7 +487,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrderPatchResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.TypeConverter.cs index 16be708aade2..d61ef4f414b8 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServiceCertificateOrderPatchResourcePropertiesTypeConver 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.json.cs index c53fe837e073..39dfe8e8a28f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrderPatchResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrderPatchResourceProperties /// /// 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 AppServiceCertificateOrderPatchResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.PowerShell.cs index 304a74069484..9562c054d1ac 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.PowerShell.cs @@ -123,7 +123,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrderPatchResourcePropertiesCertificates FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.TypeConverter.cs index ec6e1fb7037a..65197e151a57 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServiceCertificateOrderPatchResourcePropertiesCertificat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.json.cs index c7b9f4ca6205..4c08d282843c 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPatchResourcePropertiesCertificates.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrderPatchResourcePropertiesCertificat partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrderPatchResourcePropertiesCertificat /// /// 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 AppServiceCertificateOrderPatchResourcePropertiesCertificat /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.PowerShell.cs index 8e9595b1e028..7987e8ce69d2 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.PowerShell.cs @@ -486,7 +486,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrderProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.TypeConverter.cs index 0abbe7ece16c..df6253072382 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServiceCertificateOrderPropertiesTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.json.cs index 0d707cabe1ee..6ca535a00d0f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderProperties.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrderProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrderProperties /// /// 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 AppServiceCertificateOrderProperties /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.PowerShell.cs index 9c93eae00dbd..8461785c1bcc 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.PowerShell.cs @@ -123,7 +123,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateOrderPropertiesCertificates FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.TypeConverter.cs index 1d2b7a247367..605e0da58ede 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServiceCertificateOrderPropertiesCertificatesTypeConvert 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.json.cs index 9b49d42c0ff4..8217f3fb5123 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateOrderPropertiesCertificates.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceCertificateOrderPropertiesCertificates partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateOrderPropertiesCertificates /// /// 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 AppServiceCertificateOrderPropertiesCertificates /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.PowerShell.cs index ac242a20cc2e..ee6c01b9c0a9 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.PowerShell.cs @@ -184,7 +184,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificatePatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.TypeConverter.cs index 26627293a194..cb09f94a1d2e 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceCertificatePatchResourceTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.cs index e7f4df0367f0..2c7e242bdc2d 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.cs @@ -81,7 +81,7 @@ public AppServiceCertificatePatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.json.cs index 693888f88ba9..1248ce002bea 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificatePatchResource.json.cs @@ -22,7 +22,7 @@ public partial class AppServiceCertificatePatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificatePatchResource /// /// 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 AppServiceCertificatePatchResource /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.PowerShell.cs index 87a6b0079046..f28fa7dbc8c4 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.PowerShell.cs @@ -200,7 +200,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceCertificateResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.TypeConverter.cs index 29f906c28c1c..e40c85f4c024 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceCertificateResourceTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.cs index 93d1de696010..c4551c321fe7 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.cs @@ -89,7 +89,7 @@ public AppServiceCertificateResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.json.cs index f6e3af9a879f..e390e69eab6b 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceCertificateResource.json.cs @@ -22,7 +22,7 @@ public partial class AppServiceCertificateResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceCertificateResource /// /// 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 AppServiceCertificateResource /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.PowerShell.cs index 3afed7c34a1e..b4d7b8160e82 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.PowerShell.cs @@ -460,7 +460,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceEnvironment FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.TypeConverter.cs index ff6670153c55..3b352a648638 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceEnvironmentTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.json.cs index d0625ff7a83e..5f147cb26a88 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironment.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceEnvironment partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceEnvironment /// /// 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 AppServiceEnvironment /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.PowerShell.cs index eb080d0704ea..d505baaa4119 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceEnvironmentCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.TypeConverter.cs index 0e4e7d53bdaf..b6ee3dbd96b5 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceEnvironmentCollectionTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.json.cs index 4807f423f20c..c8d7554aed39 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentCollection.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceEnvironmentCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceEnvironmentCollection /// /// 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 AppServiceEnvironmentCollection /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.PowerShell.cs index 78bcc1ca6fb4..e8dd0b316d0a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.PowerShell.cs @@ -502,7 +502,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceEnvironmentPatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.TypeConverter.cs index 75d5239853ee..3eeddf0df150 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceEnvironmentPatchResourceTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.cs index ba9ee59499a6..c90eb387451a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.cs @@ -314,7 +314,7 @@ public AppServiceEnvironmentPatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.json.cs index c0d61a98308c..33f3d6947da8 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentPatchResource.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceEnvironmentPatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceEnvironmentPatchResource /// /// 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 AppServiceEnvironmentPatchResource /// /// 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/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.PowerShell.cs index 111d40470231..ef82ad5ed82c 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.PowerShell.cs @@ -518,7 +518,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServiceEnvironmentResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.TypeConverter.cs index 51a26a1d8902..fed324028009 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServiceEnvironmentResourceTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.cs index 20ff77241c82..0756a2d31d63 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.cs @@ -322,7 +322,7 @@ public AppServiceEnvironmentResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.json.cs index 8d2c7dfbcb1d..c232dc0e0eb5 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServiceEnvironmentResource.json.cs @@ -20,7 +20,7 @@ public partial class AppServiceEnvironmentResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServiceEnvironmentResource /// /// 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 AppServiceEnvironmentResource /// /// 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/Functions/generated/api/Models/Api20190801/AppServicePlan.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.PowerShell.cs index a21c32e26699..a4eb8990e738 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.PowerShell.cs @@ -452,7 +452,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServicePlan FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.TypeConverter.cs index e10467091325..3ceaba15c55e 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AppServicePlanTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.cs index b3836c2a921b..2e8d6169efb0 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.cs @@ -253,7 +253,7 @@ public AppServicePlan() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.json.cs index 20d45423c93e..e1eb850532d1 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlan.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlan.json.cs @@ -20,7 +20,7 @@ public partial class AppServicePlan partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServicePlan /// /// 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 AppServicePlan /// /// 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/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.PowerShell.cs index 7fc253060bc1..2df1a86b0ffc 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServicePlanCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.TypeConverter.cs index 2b9415b591eb..a817af1b970a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServicePlanCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.json.cs index 05b16e726f24..ac048e4bc339 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanCollection.json.cs @@ -20,7 +20,7 @@ public partial class AppServicePlanCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServicePlanCollection /// /// 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 AppServicePlanCollection /// /// 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/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.PowerShell.cs index 09344dd98f6b..977c8668624f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.PowerShell.cs @@ -334,7 +334,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServicePlanPatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.TypeConverter.cs index c9e3d6aedcc2..a3037b778268 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServicePlanPatchResourceTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.cs index d27deac07741..4c4bde1049f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.cs @@ -141,7 +141,10 @@ public partial class AppServicePlanPatchResource : [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResourcePropertiesInternal)Property).ProvisioningState; } - /// If Linux app service plan true, false otherwise. + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] public bool? Reserved { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResourcePropertiesInternal)Property).Reserved; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResourcePropertiesInternal)Property).Reserved = value ?? default(bool); } @@ -187,7 +190,7 @@ public AppServicePlanPatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { @@ -314,11 +317,14 @@ public partial interface IAppServicePlanPatchResource : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState) })] Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState? ProvisioningState { get; } - /// If Linux app service plan true, false otherwise. + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, ReadOnly = false, - Description = @"If Linux app service plan true, false otherwise.", + Description = @"This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(bool) })] bool? Reserved { get; set; } @@ -423,7 +429,10 @@ internal partial interface IAppServicePlanPatchResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResourceProperties Property { get; set; } /// Provisioning state of the App Service Environment. Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState? ProvisioningState { get; set; } - /// If Linux app service plan true, false otherwise. + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// bool? Reserved { get; set; } /// Resource group of the App Service plan. string ResourceGroup { get; set; } diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.json.cs index c8e3107e98bd..a56a31eb849f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResource.json.cs @@ -20,7 +20,7 @@ public partial class AppServicePlanPatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServicePlanPatchResource /// /// 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 AppServicePlanPatchResource /// /// 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/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.PowerShell.cs index 53affa5e5b8d..d79dc31fd021 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.PowerShell.cs @@ -295,7 +295,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServicePlanPatchResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.TypeConverter.cs index 791b8e57e797..fa8285b23fd4 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AppServicePlanPatchResourcePropertiesTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.cs index 2bacbe5e5e15..4e29a27d8868 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.cs @@ -144,7 +144,10 @@ public partial class AppServicePlanPatchResourceProperties : /// Backing field for property. private bool? _reserved; - /// If Linux app service plan true, false otherwise. + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] public bool? Reserved { get => this._reserved; set => this._reserved = value; } @@ -321,11 +324,14 @@ public partial interface IAppServicePlanPatchResourceProperties : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState) })] Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState? ProvisioningState { get; } - /// If Linux app service plan true, false otherwise. + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, ReadOnly = false, - Description = @"If Linux app service plan true, false otherwise.", + Description = @"This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(bool) })] bool? Reserved { get; set; } @@ -428,7 +434,10 @@ internal partial interface IAppServicePlanPatchResourcePropertiesInternal bool? PerSiteScaling { get; set; } /// Provisioning state of the App Service Environment. Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState? ProvisioningState { get; set; } - /// If Linux app service plan true, false otherwise. + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// bool? Reserved { get; set; } /// Resource group of the App Service plan. string ResourceGroup { get; set; } diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.json.cs index 33e65401301a..e32830b7b351 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanPatchResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class AppServicePlanPatchResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServicePlanPatchResourceProperties /// /// 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 AppServicePlanPatchResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.PowerShell.cs index b62294861a75..69f54b322ae2 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.PowerShell.cs @@ -292,7 +292,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAppServicePlanProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.TypeConverter.cs index 5af6b90a48d8..7621fdb10815 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AppServicePlanPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.json.cs index cce8a4596d05..8b527b4eda75 100644 --- a/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AppServicePlanProperties.json.cs @@ -20,7 +20,7 @@ public partial class AppServicePlanProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AppServicePlanProperties /// /// 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 AppServicePlanProperties /// /// 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/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.PowerShell.cs index d185c9dffbeb..7322d8858194 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApplicationLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.TypeConverter.cs index 68ecae7e5853..126bdd23a750 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ApplicationLogsConfigTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.json.cs index 82d9766dc61f..91395596184a 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationLogsConfig /// /// 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 ApplicationLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/ApplicationStack.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStack.PowerShell.cs index 52a7076281e6..4b04f93e8eab 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStack.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStack.PowerShell.cs @@ -156,7 +156,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApplicationStack FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStack.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStack.TypeConverter.cs index 2f43b0cdcef4..7f9893897d7b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStack.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStack.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ApplicationStackTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStack.json.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStack.json.cs index 86c3122247d0..2ccbb9618640 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStack.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStack.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationStack partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationStack /// /// 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 ApplicationStack /// /// 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/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.PowerShell.cs index 629a3eb8a87e..eda11f030bbb 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApplicationStackCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.TypeConverter.cs index b57ef082f7ed..52a33820cd40 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ApplicationStackCollectionTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.json.cs index c31579fe4ce0..41aa9ff86a7e 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackCollection.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationStackCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationStackCollection /// /// 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 ApplicationStackCollection /// /// 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/Functions/generated/api/Models/Api20190801/ApplicationStackResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.PowerShell.cs index c60e2b977fec..b8b51643ea14 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.PowerShell.cs @@ -196,7 +196,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IApplicationStackResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.TypeConverter.cs index 85108fe7ba86..a89887c4d313 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ApplicationStackResourceTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.cs index 4feda7ce28ac..9aba441ac993 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.cs @@ -84,7 +84,7 @@ public ApplicationStackResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.json.cs b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.json.cs index 50e21ae6d1b1..65c004aa470d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ApplicationStackResource.json.cs @@ -20,7 +20,7 @@ public partial class ApplicationStackResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ApplicationStackResource /// /// 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 ApplicationStackResource /// /// 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/Functions/generated/api/Models/Api20190801/ArmIdWrapper.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.PowerShell.cs index 320fa6d776df..62df2b904ad7 100644 --- a/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.PowerShell.cs @@ -124,7 +124,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IArmIdWrapper FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.TypeConverter.cs index a6f69b4b4327..b4970ed6d956 100644 --- a/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ArmIdWrapperTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.json.cs b/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.json.cs index 182db2ea5745..593d3d7b3d4c 100644 --- a/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ArmIdWrapper.json.cs @@ -20,7 +20,7 @@ public partial class ArmIdWrapper partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ArmIdWrapper /// /// 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 ArmIdWrapper /// /// 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/Functions/generated/api/Models/Api20190801/AutoHealActions.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealActions.PowerShell.cs index e344d3f82a3f..b7dcb94a40a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealActions.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealActions.PowerShell.cs @@ -156,7 +156,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAutoHealActions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealActions.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealActions.TypeConverter.cs index 4a1f8c403fa6..8032e5108454 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealActions.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealActions.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AutoHealActionsTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealActions.json.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealActions.json.cs index 3c19a2b71027..bd8f49d3a310 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealActions.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealActions.json.cs @@ -20,7 +20,7 @@ public partial class AutoHealActions partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AutoHealActions /// /// 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 AutoHealActions /// /// 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/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.PowerShell.cs index 109eea5a28cf..c7525bf1999e 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.PowerShell.cs @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAutoHealCustomAction FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.TypeConverter.cs index 163c5a49e3e5..5fd9b33ca598 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AutoHealCustomActionTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.json.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.json.cs index 591f973fefc3..613955c63de1 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealCustomAction.json.cs @@ -23,7 +23,7 @@ public partial class AutoHealCustomAction partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AutoHealCustomAction /// /// 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 AutoHealCustomAction /// /// 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/Functions/generated/api/Models/Api20190801/AutoHealRules.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealRules.PowerShell.cs index ec9204da9861..816255e1825f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealRules.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealRules.PowerShell.cs @@ -244,7 +244,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAutoHealRules FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealRules.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealRules.TypeConverter.cs index 56a28ecf72c9..689f2a556abe 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealRules.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealRules.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AutoHealRulesTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealRules.json.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealRules.json.cs index cb00e1237143..f773ed545d18 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealRules.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealRules.json.cs @@ -20,7 +20,7 @@ public partial class AutoHealRules partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AutoHealRules /// /// 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 AutoHealRules /// /// 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/Functions/generated/api/Models/Api20190801/AutoHealTriggers.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.PowerShell.cs index 41fda3373c7f..8b73510701e7 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAutoHealTriggers FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.TypeConverter.cs index 8cd701bf9af8..2cf67ebb15ba 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class AutoHealTriggersTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.json.cs b/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.json.cs index e4fe69ef92dd..ca344180ec7b 100644 --- a/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AutoHealTriggers.json.cs @@ -20,7 +20,7 @@ public partial class AutoHealTriggers partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AutoHealTriggers /// /// 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 AutoHealTriggers /// /// 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/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.PowerShell.cs index 52249c33d38b..5088145821cf 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.PowerShell.cs @@ -143,7 +143,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAzureBlobStorageApplicationLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.TypeConverter.cs index 84422a35659a..fdb1025e0bbf 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AzureBlobStorageApplicationLogsConfigTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.json.cs index ee2167701ba5..d0e8e22f25fb 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageApplicationLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class AzureBlobStorageApplicationLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureBlobStorageApplicationLogsConfig /// /// 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 AzureBlobStorageApplicationLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.PowerShell.cs index 8000b112901c..ca4d5e1f93bc 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.PowerShell.cs @@ -142,7 +142,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAzureBlobStorageHttpLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.TypeConverter.cs index 9b567ed65bcf..6f447311e286 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AzureBlobStorageHttpLogsConfigTypeConverter : global::Syste 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.json.cs index ab6cd8b0994a..22abba6b1e64 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureBlobStorageHttpLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class AzureBlobStorageHttpLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureBlobStorageHttpLogsConfig /// /// 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 AzureBlobStorageHttpLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.PowerShell.cs index fb35e1c0b168..8cbe7ac65771 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.PowerShell.cs @@ -164,7 +164,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAzureStorageInfoValue FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.TypeConverter.cs index e350a976e58e..1df63f041ac0 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class AzureStorageInfoValueTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.json.cs b/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.json.cs index 1fb5bc914058..a54b71b684a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStorageInfoValue.json.cs @@ -20,7 +20,7 @@ public partial class AzureStorageInfoValue partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureStorageInfoValue /// /// 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 AzureStorageInfoValue /// /// 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/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.PowerShell.cs index e7cf7838962a..6ae678e66022 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.PowerShell.cs @@ -159,7 +159,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAzureStoragePropertyDictionaryResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.TypeConverter.cs index 17753c032650..765ccb74b258 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AzureStoragePropertyDictionaryResourceTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.cs index 8af642604542..ca769889e58a 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.cs @@ -61,7 +61,7 @@ public AzureStoragePropertyDictionaryResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.json.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.json.cs index fb376596b32b..d13fe406830f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResource.json.cs @@ -20,7 +20,7 @@ public partial class AzureStoragePropertyDictionaryResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureStoragePropertyDictionaryResource /// /// 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 AzureStoragePropertyDictionaryResource /// /// 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/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.PowerShell.cs index 6465f326cea6..d54865094f3f 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.PowerShell.cs @@ -123,7 +123,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAzureStoragePropertyDictionaryResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.TypeConverter.cs index 26c8131f71df..047b3c7a5275 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AzureStoragePropertyDictionaryResourcePropertiesTypeConvert 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.json.cs index fcdb00fa71cf..65c214d2183b 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureStoragePropertyDictionaryResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class AzureStoragePropertyDictionaryResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureStoragePropertyDictionaryResourceProperties /// /// 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 AzureStoragePropertyDictionaryResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.PowerShell.cs index 999fc332cf6b..75f8d3c1de19 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.PowerShell.cs @@ -135,7 +135,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IA /// 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.Functions.Models.Api20190801.IAzureTableStorageApplicationLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.TypeConverter.cs index 433adffe03ad..73cbbc761f90 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class AzureTableStorageApplicationLogsConfigTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.json.cs index 6ae3a06a9b4a..7ea7c720c9e1 100644 --- a/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/AzureTableStorageApplicationLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class AzureTableStorageApplicationLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 AzureTableStorageApplicationLogsConfig /// /// 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 AzureTableStorageApplicationLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/BackupItem.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BackupItem.PowerShell.cs index 79ddf776327c..2816a54de27e 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItem.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItem.PowerShell.cs @@ -268,7 +268,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBackupItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItem.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BackupItem.TypeConverter.cs index fa758f148dae..89fad6a938bf 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItem.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItem.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class BackupItemTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItem.cs b/src/Functions/generated/api/Models/Api20190801/BackupItem.cs index 78abd63376ad..9030c34fe9d9 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItem.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItem.cs @@ -164,7 +164,7 @@ public BackupItem() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItem.json.cs b/src/Functions/generated/api/Models/Api20190801/BackupItem.json.cs index 93a1c9e28331..7feb80c5f724 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItem.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItem.json.cs @@ -20,7 +20,7 @@ public partial class BackupItem partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BackupItem /// /// 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 BackupItem /// /// 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/Functions/generated/api/Models/Api20190801/BackupItemCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.PowerShell.cs index 9841096e1dc4..ed885162ba2d 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBackupItemCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.TypeConverter.cs index 8e6920843b82..6bcb3d28b109 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BackupItemCollectionTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.json.cs index eb16906f5d34..04ec3ba27710 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItemCollection.json.cs @@ -20,7 +20,7 @@ public partial class BackupItemCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BackupItemCollection /// /// 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 BackupItemCollection /// /// 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/Functions/generated/api/Models/Api20190801/BackupItemProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.PowerShell.cs index 8d7a9f676211..e97d2adab40d 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.PowerShell.cs @@ -228,7 +228,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBackupItemProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.TypeConverter.cs index 3b5d679944af..180654217afa 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BackupItemPropertiesTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.json.cs index d8d9df26d1cd..e8cc47c94ca0 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupItemProperties.json.cs @@ -20,7 +20,7 @@ public partial class BackupItemProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BackupItemProperties /// /// 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 BackupItemProperties /// /// 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/Functions/generated/api/Models/Api20190801/BackupRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequest.PowerShell.cs index ca90b328d228..9c5125f72e77 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequest.PowerShell.cs @@ -244,7 +244,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequest.TypeConverter.cs index b159b708b233..d2f8c9c975ce 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequest.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class BackupRequestTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupRequest.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequest.cs index 7802d07b57a2..bef4b983aaf1 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequest.cs @@ -121,7 +121,7 @@ public BackupRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/BackupRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequest.json.cs index a16baccdb258..1de63edad1da 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequest.json.cs @@ -20,7 +20,7 @@ public partial class BackupRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BackupRequest /// /// 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 BackupRequest /// /// 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/Functions/generated/api/Models/Api20190801/BackupRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.PowerShell.cs index 4286fc190c76..f102ef75123b 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.PowerShell.cs @@ -204,7 +204,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBackupRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.TypeConverter.cs index 464a64e1e43b..2985521fedf6 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BackupRequestPropertiesTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.json.cs index eb946c89863f..e76247296ba4 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class BackupRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BackupRequestProperties /// /// 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 BackupRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/BackupSchedule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BackupSchedule.PowerShell.cs index 714d0cf27e26..b33d7c535da6 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupSchedule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupSchedule.PowerShell.cs @@ -167,7 +167,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBackupSchedule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupSchedule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BackupSchedule.TypeConverter.cs index c533da91ed37..01b49e85a2d0 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupSchedule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupSchedule.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class BackupScheduleTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BackupSchedule.json.cs b/src/Functions/generated/api/Models/Api20190801/BackupSchedule.json.cs index b636db0a099d..4d37b0549931 100644 --- a/src/Functions/generated/api/Models/Api20190801/BackupSchedule.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BackupSchedule.json.cs @@ -23,7 +23,7 @@ public partial class BackupSchedule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BackupSchedule /// /// 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 BackupSchedule /// /// 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/Functions/generated/api/Models/Api20190801/BillingMeter.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeter.PowerShell.cs index ecf7ff23a7cb..749dd16754f6 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeter.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeter.PowerShell.cs @@ -207,7 +207,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBillingMeter FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeter.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeter.TypeConverter.cs index 1e154dcf39df..5f42fe081fe7 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeter.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeter.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class BillingMeterTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeter.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeter.cs index ba5289cb53e4..42080ea1a9a0 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeter.cs @@ -91,7 +91,7 @@ public BillingMeter() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeter.json.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeter.json.cs index b1b0eb25d64d..2644b275a189 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeter.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeter.json.cs @@ -23,7 +23,7 @@ public partial class BillingMeter partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BillingMeter /// /// 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 BillingMeter /// /// 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/Functions/generated/api/Models/Api20190801/BillingMeterCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.PowerShell.cs index 85ae7dbf30cd..7d0bf642765c 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBillingMeterCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.TypeConverter.cs index cb3cf4310df8..0edbb88dae30 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BillingMeterCollectionTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.json.cs index c19e3a1a04bd..fd543cc4cd28 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeterCollection.json.cs @@ -20,7 +20,7 @@ public partial class BillingMeterCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BillingMeterCollection /// /// 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 BillingMeterCollection /// /// 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/Functions/generated/api/Models/Api20190801/BillingMeterProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.PowerShell.cs index 586407991d9e..d280694374e2 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.PowerShell.cs @@ -164,7 +164,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IB /// 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.Functions.Models.Api20190801.IBillingMeterProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.TypeConverter.cs index d7dbb0cc2b25..c4dd5d52fc55 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class BillingMeterPropertiesTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.json.cs index 8b9a67bb6e4b..56fd8f142ee8 100644 --- a/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/BillingMeterProperties.json.cs @@ -20,7 +20,7 @@ public partial class BillingMeterProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 BillingMeterProperties /// /// 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 BillingMeterProperties /// /// 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/Functions/generated/api/Models/Api20190801/Capability.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Capability.PowerShell.cs index 84356d9b103c..e161abe6ab0f 100644 --- a/src/Functions/generated/api/Models/Api20190801/Capability.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Capability.PowerShell.cs @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICapability FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Capability.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Capability.TypeConverter.cs index ec961fd81ced..b51fbcd5e532 100644 --- a/src/Functions/generated/api/Models/Api20190801/Capability.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Capability.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CapabilityTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Capability.json.cs b/src/Functions/generated/api/Models/Api20190801/Capability.json.cs index 6c5bce3a0e19..8b233a596469 100644 --- a/src/Functions/generated/api/Models/Api20190801/Capability.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Capability.json.cs @@ -20,7 +20,7 @@ public partial class Capability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Capability /// /// 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 Capability /// /// 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/Functions/generated/api/Models/Api20190801/Certificate.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Certificate.PowerShell.cs index 7a70d605a1c5..5e579d337119 100644 --- a/src/Functions/generated/api/Models/Api20190801/Certificate.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Certificate.PowerShell.cs @@ -356,7 +356,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Certificate.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Certificate.TypeConverter.cs index d2ca3341bf6d..8be7ca6d86f3 100644 --- a/src/Functions/generated/api/Models/Api20190801/Certificate.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Certificate.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CertificateTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Certificate.cs b/src/Functions/generated/api/Models/Api20190801/Certificate.cs index 0de725737d55..1ee99c7141e2 100644 --- a/src/Functions/generated/api/Models/Api20190801/Certificate.cs +++ b/src/Functions/generated/api/Models/Api20190801/Certificate.cs @@ -207,7 +207,7 @@ public Certificate() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Certificate.json.cs b/src/Functions/generated/api/Models/Api20190801/Certificate.json.cs index bc732b36bced..d33fb0238448 100644 --- a/src/Functions/generated/api/Models/Api20190801/Certificate.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Certificate.json.cs @@ -20,7 +20,7 @@ public partial class Certificate partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Certificate /// /// 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 Certificate /// /// 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/Functions/generated/api/Models/Api20190801/CertificateCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateCollection.PowerShell.cs index 352b00ec8a7f..6a692ebc6707 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateCollection.TypeConverter.cs index 95b0543a4242..8ba82c3f5a6d 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificateCollectionTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateCollection.json.cs index 521b82e19915..a2c973acb4ee 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateCollection.json.cs @@ -20,7 +20,7 @@ public partial class CertificateCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateCollection /// /// 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 CertificateCollection /// /// 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/Functions/generated/api/Models/Api20190801/CertificateDetails.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateDetails.PowerShell.cs index a8231fe8b772..072ca6457adb 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateDetails.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateDetails.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateDetails.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateDetails.TypeConverter.cs index 742bb2614d11..dbc8ba5bf03b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateDetails.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateDetails.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificateDetailsTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateDetails.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateDetails.json.cs index 3ef036121fb3..dcdb7a538823 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateDetails.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateDetails.json.cs @@ -20,7 +20,7 @@ public partial class CertificateDetails partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateDetails /// /// 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 CertificateDetails /// /// 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/Functions/generated/api/Models/Api20190801/CertificateEmail.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.PowerShell.cs index 696765dfcd91..d3bca16f376c 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.PowerShell.cs @@ -172,7 +172,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateEmail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.TypeConverter.cs index f57cb944ff93..958f6ed0a583 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CertificateEmailTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.cs index fcc96c8aae9c..60ffc01bb820 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.cs @@ -72,7 +72,7 @@ public CertificateEmail() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.json.cs index 84fb4534c69c..7bce6578a8e2 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmail.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmail.json.cs @@ -20,7 +20,7 @@ public partial class CertificateEmail partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateEmail /// /// 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 CertificateEmail /// /// 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/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.PowerShell.cs index 4b9a9dfe3324..a802cbb12a6f 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateEmailProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.TypeConverter.cs index 640f8dd8fdd2..4dc774b4e009 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificateEmailPropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.json.cs index 3e45f4301301..c61d7466539f 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateEmailProperties.json.cs @@ -20,7 +20,7 @@ public partial class CertificateEmailProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateEmailProperties /// /// 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 CertificateEmailProperties /// /// 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/Functions/generated/api/Models/Api20190801/CertificateOrderAction.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.PowerShell.cs index 9d767572d99c..b91c5fcf0926 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.PowerShell.cs @@ -172,7 +172,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateOrderAction FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.TypeConverter.cs index 8e1010440ef9..e7d03b1545b3 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificateOrderActionTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.cs index 32b5742475f0..6d981e59fcef 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.cs @@ -78,7 +78,7 @@ public CertificateOrderAction() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.json.cs index d8c2673432de..80c99c6d788b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderAction.json.cs @@ -20,7 +20,7 @@ public partial class CertificateOrderAction partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateOrderAction /// /// 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 CertificateOrderAction /// /// 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/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.PowerShell.cs index 3a7f78fbd313..9534dfc997bb 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateOrderActionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.TypeConverter.cs index 7b776c8138dc..69e867d9773b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificateOrderActionPropertiesTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.json.cs index d8d89fc5e8cc..c66514d3b0b6 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateOrderActionProperties.json.cs @@ -20,7 +20,7 @@ public partial class CertificateOrderActionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateOrderActionProperties /// /// 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 CertificateOrderActionProperties /// /// 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/Functions/generated/api/Models/Api20190801/CertificatePatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.PowerShell.cs index 08a0ef484f31..691bbd39f689 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.PowerShell.cs @@ -340,7 +340,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificatePatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.TypeConverter.cs index 1fc54b50893c..01016f677a9f 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificatePatchResourceTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.cs index 4752d816d6c8..ab6db9034dc5 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.cs @@ -199,7 +199,7 @@ public CertificatePatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.json.cs index 574517ec8667..4e8f99d4e261 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResource.json.cs @@ -20,7 +20,7 @@ public partial class CertificatePatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificatePatchResource /// /// 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 CertificatePatchResource /// /// 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/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.PowerShell.cs index 0fe85bf46423..5cb130c032c0 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.PowerShell.cs @@ -302,7 +302,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificatePatchResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.TypeConverter.cs index bf810288608f..8b55c4779a39 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificatePatchResourcePropertiesTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.json.cs index 3c489bdbf3f8..5f1e25a425db 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificatePatchResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class CertificatePatchResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificatePatchResourceProperties /// /// 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 CertificatePatchResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/CertificateProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CertificateProperties.PowerShell.cs index d8a306e5dff0..3476d7074b1b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateProperties.PowerShell.cs @@ -300,7 +300,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICertificateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CertificateProperties.TypeConverter.cs index b1f7f496c897..46b253c37184 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CertificatePropertiesTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CertificateProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CertificateProperties.json.cs index 0a59990ecedf..15cb8b629eed 100644 --- a/src/Functions/generated/api/Models/Api20190801/CertificateProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CertificateProperties.json.cs @@ -20,7 +20,7 @@ public partial class CertificateProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CertificateProperties /// /// 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 CertificateProperties /// /// 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/Functions/generated/api/Models/Api20190801/CloningInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CloningInfo.PowerShell.cs index 3d183a4a5456..d3bd1d749431 100644 --- a/src/Functions/generated/api/Models/Api20190801/CloningInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CloningInfo.PowerShell.cs @@ -204,7 +204,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICloningInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CloningInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CloningInfo.TypeConverter.cs index 9a44b364bec0..b41658d90948 100644 --- a/src/Functions/generated/api/Models/Api20190801/CloningInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CloningInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CloningInfoTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CloningInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/CloningInfo.json.cs index 13f5ae798c49..4e31c05c6ea6 100644 --- a/src/Functions/generated/api/Models/Api20190801/CloningInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CloningInfo.json.cs @@ -20,7 +20,7 @@ public partial class CloningInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CloningInfo /// /// 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 CloningInfo /// /// 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/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.PowerShell.cs index 4e3c3f5724ad..b162eaa8628b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.PowerShell.cs @@ -125,7 +125,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.TypeConverter.cs index 262ae5f535c6..7d8e9a65c4b8 100644 --- a/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CloningInfoAppSettingsOverridesTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.json.cs b/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.json.cs index 48b76d897c9a..013b8beec1ec 100644 --- a/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CloningInfoAppSettingsOverrides.json.cs @@ -23,7 +23,7 @@ public partial class CloningInfoAppSettingsOverrides partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CloningInfoAppSettingsOverrides /// /// 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 CloningInfoAppSettingsOverrides /// /// 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/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs index afff12f41fbe..c8dec42a6c29 100644 --- a/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.PowerShell.cs @@ -134,7 +134,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// />, 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.Functions.Models.Api20190801.IComponents1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs index fea5409509db..b9544231f1b3 100644 --- a/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class Components1Jq1T4ISchemasManagedserviceidentityPropertiesUse 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs b/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs index 87a7cf700da7..0c4629c5fb5c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties.json.cs @@ -19,7 +19,7 @@ public partial class Components1Jq1T4ISchemasManagedserviceidentityPropertiesUse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Components1Jq1T4ISchemasManagedserviceidentityPropertiesUse /// /// 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 Components1Jq1T4ISchemasManagedserviceidentityPropertiesUse /// /// 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/Functions/generated/api/Models/Api20190801/ConnStringInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.PowerShell.cs index 1c21df77fba4..ebe87a983dc6 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.PowerShell.cs @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IConnStringInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.TypeConverter.cs index ef758efb62b7..dcc9b8e1341b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ConnStringInfoTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.json.cs index 3e986a553fa7..329243c77468 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnStringInfo.json.cs @@ -20,7 +20,7 @@ public partial class ConnStringInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ConnStringInfo /// /// 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 ConnStringInfo /// /// 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/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.PowerShell.cs index 65b6048a878a..f78bea5bc37f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IConnStringValueTypePair FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.TypeConverter.cs index 55a7fb04ea1b..933ee3738325 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ConnStringValueTypePairTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.json.cs b/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.json.cs index 7387a30e2a24..74929123da01 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnStringValueTypePair.json.cs @@ -20,7 +20,7 @@ public partial class ConnStringValueTypePair partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ConnStringValueTypePair /// /// 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 ConnStringValueTypePair /// /// 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/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.PowerShell.cs index 4cba38b4e50b..9e93e4d90d49 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.PowerShell.cs @@ -158,7 +158,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IConnectionStringDictionary FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.TypeConverter.cs index cf4bfe48f204..0a3d491990d8 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ConnectionStringDictionaryTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.cs index 6d6d513ecf80..1fed2968ff73 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.cs @@ -61,7 +61,7 @@ public ConnectionStringDictionary() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.json.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.json.cs index 4695656fc148..34357b78617f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionary.json.cs @@ -20,7 +20,7 @@ public partial class ConnectionStringDictionary partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ConnectionStringDictionary /// /// 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 ConnectionStringDictionary /// /// 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/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.PowerShell.cs index ab35207097de..78b34808967b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.PowerShell.cs @@ -122,7 +122,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IConnectionStringDictionaryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.TypeConverter.cs index 1a602473748f..de10988eb802 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ConnectionStringDictionaryPropertiesTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.json.cs index 775d3a01f012..537cc74bf28b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ConnectionStringDictionaryProperties.json.cs @@ -20,7 +20,7 @@ public partial class ConnectionStringDictionaryProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ConnectionStringDictionaryProperties /// /// 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 ConnectionStringDictionaryProperties /// /// 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/Functions/generated/api/Models/Api20190801/Contact.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Contact.PowerShell.cs index 7496cc285352..74315f0dc87c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Contact.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Contact.PowerShell.cs @@ -240,7 +240,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContact FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Contact.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Contact.TypeConverter.cs index 598996dc1813..f974e3724495 100644 --- a/src/Functions/generated/api/Models/Api20190801/Contact.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Contact.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ContactTypeConverter : global::System.Management.Automation 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Contact.json.cs b/src/Functions/generated/api/Models/Api20190801/Contact.json.cs index 336896f4a19f..fdda191f04c4 100644 --- a/src/Functions/generated/api/Models/Api20190801/Contact.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Contact.json.cs @@ -24,7 +24,7 @@ public partial class Contact partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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. @@ -34,7 +34,8 @@ public partial class Contact /// /// 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. @@ -46,7 +47,8 @@ public partial class Contact /// /// 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/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.PowerShell.cs index 00d9ea828049..cbd0726c9fed 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.PowerShell.cs @@ -203,7 +203,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContainerCpuStatistics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.TypeConverter.cs index c9776f91f570..0eee904175c2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContainerCpuStatisticsTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.json.cs b/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.json.cs index 9f0fcd62db04..264c988c1a04 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerCpuStatistics.json.cs @@ -19,7 +19,7 @@ public partial class ContainerCpuStatistics partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerCpuStatistics /// /// 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 ContainerCpuStatistics /// /// 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/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.PowerShell.cs index d45048864072..7cc1426e4082 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.PowerShell.cs @@ -147,7 +147,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContainerCpuUsage FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.TypeConverter.cs index 73f4f1dc4d16..301ee187734f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ContainerCpuUsageTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.json.cs b/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.json.cs index 69b43b2716d8..e7a4dbfb9410 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerCpuUsage.json.cs @@ -19,7 +19,7 @@ public partial class ContainerCpuUsage partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerCpuUsage /// /// 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 ContainerCpuUsage /// /// 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/Functions/generated/api/Models/Api20190801/ContainerInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContainerInfo.PowerShell.cs index fbda0da0d4ce..01403f4ff4dd 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerInfo.PowerShell.cs @@ -443,7 +443,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContainerInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContainerInfo.TypeConverter.cs index eb05079c6606..e4100212bcec 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ContainerInfoTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/ContainerInfo.json.cs index ce00edf504e4..ba75a3d4bf50 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerInfo.json.cs @@ -19,7 +19,7 @@ public partial class ContainerInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerInfo /// /// 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 ContainerInfo /// /// 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/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.PowerShell.cs index 0b692855bc71..96b7a68ccbda 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.PowerShell.cs @@ -141,7 +141,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContainerMemoryStatistics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.TypeConverter.cs index e6c73e3f4a1f..55d330c8e799 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContainerMemoryStatisticsTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.json.cs b/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.json.cs index accde832d4e0..067a376fa89c 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerMemoryStatistics.json.cs @@ -19,7 +19,7 @@ public partial class ContainerMemoryStatistics partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerMemoryStatistics /// /// 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 ContainerMemoryStatistics /// /// 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/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.PowerShell.cs index 831229e08532..4faf478e5730 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.PowerShell.cs @@ -181,7 +181,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContainerNetworkInterfaceStatistics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.TypeConverter.cs index 464e97f7c6e2..613e579941bd 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContainerNetworkInterfaceStatisticsTypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.json.cs b/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.json.cs index 079b49ae587a..669e24755f2f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerNetworkInterfaceStatistics.json.cs @@ -19,7 +19,7 @@ public partial class ContainerNetworkInterfaceStatistics partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerNetworkInterfaceStatistics /// /// 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 ContainerNetworkInterfaceStatistics /// /// 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/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.PowerShell.cs index 4a8afb9403d5..962ba6aab117 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.PowerShell.cs @@ -139,7 +139,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContainerThrottlingData FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.TypeConverter.cs index ccc89ce86889..ba5fa0e708ab 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContainerThrottlingDataTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.json.cs b/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.json.cs index 00ef22815a0e..4aaf8908ce24 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContainerThrottlingData.json.cs @@ -19,7 +19,7 @@ public partial class ContainerThrottlingData partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContainerThrottlingData /// /// 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 ContainerThrottlingData /// /// 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/Functions/generated/api/Models/Api20190801/ContinuousWebJob.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.PowerShell.cs index 477a8a651c92..3c674c7fb631 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.PowerShell.cs @@ -236,7 +236,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContinuousWebJob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.TypeConverter.cs index ba6521778d10..2227e2aaf9f5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ContinuousWebJobTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.cs index 819fede77798..c1b0e687e1bd 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.cs @@ -104,7 +104,7 @@ public ContinuousWebJob() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.json.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.json.cs index dd1ebf73ca5c..69ac5dbc1340 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJob.json.cs @@ -20,7 +20,7 @@ public partial class ContinuousWebJob partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContinuousWebJob /// /// 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 ContinuousWebJob /// /// 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/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.PowerShell.cs index 64d18486583a..0d19d8045677 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContinuousWebJobCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.TypeConverter.cs index 32259641b114..18610a74f374 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContinuousWebJobCollectionTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.json.cs index 01814ad60e68..fcdb333e1df2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobCollection.json.cs @@ -20,7 +20,7 @@ public partial class ContinuousWebJobCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContinuousWebJobCollection /// /// 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 ContinuousWebJobCollection /// /// 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/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.PowerShell.cs index da2a3b507866..c068b100a18e 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.PowerShell.cs @@ -198,7 +198,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContinuousWebJobProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.TypeConverter.cs index 65968fc1cf88..2f034bfa13c6 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContinuousWebJobPropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.json.cs index 92ac95b37ae0..bdb9562028d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobProperties.json.cs @@ -20,7 +20,7 @@ public partial class ContinuousWebJobProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContinuousWebJobProperties /// /// 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 ContinuousWebJobProperties /// /// 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/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.PowerShell.cs index 077f4d6b5029..5e7027fb37f9 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.PowerShell.cs @@ -122,7 +122,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.IContinuousWebJobPropertiesSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.TypeConverter.cs index 673c581bc619..aca5216cfda7 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ContinuousWebJobPropertiesSettingsTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.json.cs b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.json.cs index c4efa0e0e7a0..964c0f8f22d2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ContinuousWebJobPropertiesSettings.json.cs @@ -20,7 +20,7 @@ public partial class ContinuousWebJobPropertiesSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ContinuousWebJobPropertiesSettings /// /// 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 ContinuousWebJobPropertiesSettings /// /// 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/Functions/generated/api/Models/Api20190801/CorsSettings.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CorsSettings.PowerShell.cs index f99018b815cf..b5377b6a2bdd 100644 --- a/src/Functions/generated/api/Models/Api20190801/CorsSettings.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CorsSettings.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICorsSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CorsSettings.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CorsSettings.TypeConverter.cs index 53a4addc5687..a6ce50e0bdb2 100644 --- a/src/Functions/generated/api/Models/Api20190801/CorsSettings.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CorsSettings.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CorsSettingsTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CorsSettings.json.cs b/src/Functions/generated/api/Models/Api20190801/CorsSettings.json.cs index 55a48b92fd81..3106639ff7bc 100644 --- a/src/Functions/generated/api/Models/Api20190801/CorsSettings.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CorsSettings.json.cs @@ -20,7 +20,7 @@ public partial class CorsSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CorsSettings /// /// 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 CorsSettings /// /// 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/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.PowerShell.cs index b3baa6ffbe24..660fa9d89e07 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmCopySlotEntity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.TypeConverter.cs index 12f86e05dc56..7253a093f885 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CsmCopySlotEntityTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.json.cs index 6180ec17f3b3..d6120113170b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmCopySlotEntity.json.cs @@ -20,7 +20,7 @@ public partial class CsmCopySlotEntity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmCopySlotEntity /// /// 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 CsmCopySlotEntity /// /// 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/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.PowerShell.cs index 4cd74f5ae9c5..8c8b77212ead 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmMoveResourceEnvelope FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.TypeConverter.cs index 3bcdcf24e40d..e48352b4fc12 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmMoveResourceEnvelopeTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.json.cs index b2986dea305c..17e213a8acdd 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmMoveResourceEnvelope.json.cs @@ -22,7 +22,7 @@ public partial class CsmMoveResourceEnvelope partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmMoveResourceEnvelope /// /// 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 CsmMoveResourceEnvelope /// /// 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/Functions/generated/api/Models/Api20190801/CsmOperationCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.PowerShell.cs index a671519378cc..0235237df2c6 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmOperationCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.TypeConverter.cs index c2eb6119b913..ea4f0d359fc3 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmOperationCollectionTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.json.cs index 8fd61d197be0..345f6401455a 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationCollection.json.cs @@ -20,7 +20,7 @@ public partial class CsmOperationCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmOperationCollection /// /// 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 CsmOperationCollection /// /// 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/Functions/generated/api/Models/Api20190801/CsmOperationDescription.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.PowerShell.cs index 91e397fb0c16..152bb61c5540 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.PowerShell.cs @@ -204,7 +204,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmOperationDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.TypeConverter.cs index 32af46fe9781..77c331585d58 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmOperationDescriptionTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.json.cs index 04366ee69361..a00470ae8a90 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescription.json.cs @@ -20,7 +20,7 @@ public partial class CsmOperationDescription partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmOperationDescription /// /// 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 CsmOperationDescription /// /// 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/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.PowerShell.cs index b7481c5ffc8e..25c9b456fd28 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.PowerShell.cs @@ -142,7 +142,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmOperationDescriptionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.TypeConverter.cs index 147cf528683c..8b3e94521e24 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmOperationDescriptionPropertiesTypeConverter : global::Sy 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.json.cs index 9f86206897ff..33f2be3c34f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDescriptionProperties.json.cs @@ -20,7 +20,7 @@ public partial class CsmOperationDescriptionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmOperationDescriptionProperties /// /// 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 CsmOperationDescriptionProperties /// /// 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/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.PowerShell.cs index 14624232ebd6..9ecfccf62b3c 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.PowerShell.cs @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmOperationDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.TypeConverter.cs index bc9b8d27a65a..7a201e9daad6 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmOperationDisplayTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.json.cs index 8b285df1ddff..7824edba86dd 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmOperationDisplay.json.cs @@ -20,7 +20,7 @@ public partial class CsmOperationDisplay partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmOperationDisplay /// /// 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 CsmOperationDisplay /// /// 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/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.PowerShell.cs new file mode 100644 index 000000000000..7157fe630896 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.PowerShell.cs @@ -0,0 +1,291 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// Publishing Credentials Policies collection. + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesCollectionTypeConverter))] + public partial class CsmPublishingCredentialsPoliciesCollection + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CsmPublishingCredentialsPoliciesCollection(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollectionPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Kind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind = (string) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Ftp")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Ftp = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Ftp",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Ftp, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("Scm")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Scm = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Scm",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Scm, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("FtpId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpId = (string) content.GetValueForProperty("FtpId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpId, global::System.Convert.ToString); + } + if (content.Contains("FtpName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpName = (string) content.GetValueForProperty("FtpName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpName, global::System.Convert.ToString); + } + if (content.Contains("FtpKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpKind = (string) content.GetValueForProperty("FtpKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpKind, global::System.Convert.ToString); + } + if (content.Contains("FtpType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpType = (string) content.GetValueForProperty("FtpType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpType, global::System.Convert.ToString); + } + if (content.Contains("FtpProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("FtpProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("ScmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmId = (string) content.GetValueForProperty("ScmId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmId, global::System.Convert.ToString); + } + if (content.Contains("ScmName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmName = (string) content.GetValueForProperty("ScmName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmName, global::System.Convert.ToString); + } + if (content.Contains("ScmKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmKind = (string) content.GetValueForProperty("ScmKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmKind, global::System.Convert.ToString); + } + if (content.Contains("ScmType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmType = (string) content.GetValueForProperty("ScmType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmType, global::System.Convert.ToString); + } + if (content.Contains("ScmProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("ScmProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("FtpPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpPropertiesAllow = (bool) content.GetValueForProperty("FtpPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ScmPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmPropertiesAllow = (bool) content.GetValueForProperty("ScmPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CsmPublishingCredentialsPoliciesCollection(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollectionPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Kind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind = (string) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Ftp")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Ftp = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Ftp",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Ftp, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("Scm")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Scm = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Scm",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).Scm, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("FtpId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpId = (string) content.GetValueForProperty("FtpId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpId, global::System.Convert.ToString); + } + if (content.Contains("FtpName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpName = (string) content.GetValueForProperty("FtpName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpName, global::System.Convert.ToString); + } + if (content.Contains("FtpKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpKind = (string) content.GetValueForProperty("FtpKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpKind, global::System.Convert.ToString); + } + if (content.Contains("FtpType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpType = (string) content.GetValueForProperty("FtpType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpType, global::System.Convert.ToString); + } + if (content.Contains("FtpProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("FtpProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("ScmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmId = (string) content.GetValueForProperty("ScmId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmId, global::System.Convert.ToString); + } + if (content.Contains("ScmName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmName = (string) content.GetValueForProperty("ScmName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmName, global::System.Convert.ToString); + } + if (content.Contains("ScmKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmKind = (string) content.GetValueForProperty("ScmKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmKind, global::System.Convert.ToString); + } + if (content.Contains("ScmType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmType = (string) content.GetValueForProperty("ScmType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmType, global::System.Convert.ToString); + } + if (content.Contains("ScmProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("ScmProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("FtpPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpPropertiesAllow = (bool) content.GetValueForProperty("FtpPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).FtpPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ScmPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmPropertiesAllow = (bool) content.GetValueForProperty("ScmPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal)this).ScmPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CsmPublishingCredentialsPoliciesCollection(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CsmPublishingCredentialsPoliciesCollection(content); + } + + /// + /// 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. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Publishing Credentials Policies collection. + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesCollectionTypeConverter))] + public partial interface ICsmPublishingCredentialsPoliciesCollection + + { + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.TypeConverter.cs new file mode 100644 index 000000000000..40b8418b98f1 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.TypeConverter.cs @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CsmPublishingCredentialsPoliciesCollectionTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// 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. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the . + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// 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 + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + 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 + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CsmPublishingCredentialsPoliciesCollection.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesCollection.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesCollection.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.cs new file mode 100644 index 000000000000..e8269f834090 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.cs @@ -0,0 +1,282 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// Publishing Credentials Policies collection. + public partial class CsmPublishingCredentialsPoliciesCollection : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResource __proxyOnlyResource = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ProxyOnlyResource(); + + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpId; } + + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpKind = value ?? null; } + + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpName; } + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? FtpPropertiesAllow { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpPropertiesAllow; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpPropertiesAllow = value ?? default(bool); } + + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpType; } + + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Id; } + + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Kind = value ?? null; } + + /// Internal Acessors for Ftp + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.Ftp { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).Ftp; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).Ftp = value; } + + /// Internal Acessors for FtpId + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.FtpId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpId = value; } + + /// Internal Acessors for FtpName + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.FtpName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpName = value; } + + /// Internal Acessors for FtpProperty + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.FtpProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpProperty = value; } + + /// Internal Acessors for FtpType + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.FtpType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).FtpType = value; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollectionProperties()); set { {_property = value;} } } + + /// Internal Acessors for Scm + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.Scm { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).Scm; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).Scm = value; } + + /// Internal Acessors for ScmId + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.ScmId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmId = value; } + + /// Internal Acessors for ScmName + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.ScmName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmName; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmName = value; } + + /// Internal Acessors for ScmProperty + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.ScmProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmProperty = value; } + + /// Internal Acessors for ScmType + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionInternal.ScmType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmType; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmType = value; } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Id = value; } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Name = value; } + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Type = value; } + + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Name; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties _property; + + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollectionProperties()); set => this._property = value; } + + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmId; } + + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmKind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmKind = value ?? null; } + + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmName; } + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? ScmPropertiesAllow { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmPropertiesAllow; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmPropertiesAllow = value ?? default(bool); } + + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)Property).ScmType; } + + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Type; } + + /// + /// Creates an new instance. + /// + public CsmPublishingCredentialsPoliciesCollection() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__proxyOnlyResource), __proxyOnlyResource); + await eventListener.AssertObjectIsValid(nameof(__proxyOnlyResource), __proxyOnlyResource); + } + } + /// Publishing Credentials Policies collection. + public partial interface ICsmPublishingCredentialsPoliciesCollection : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResource + { + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Id.", + SerializedName = @"id", + PossibleTypes = new [] { typeof(string) })] + string FtpId { get; } + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Kind of resource.", + SerializedName = @"kind", + PossibleTypes = new [] { typeof(string) })] + string FtpKind { get; set; } + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string FtpName { get; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(bool) })] + bool? FtpPropertiesAllow { get; set; } + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource type.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(string) })] + string FtpType { get; } + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Id.", + SerializedName = @"id", + PossibleTypes = new [] { typeof(string) })] + string ScmId { get; } + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Kind of resource.", + SerializedName = @"kind", + PossibleTypes = new [] { typeof(string) })] + string ScmKind { get; set; } + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string ScmName { get; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(bool) })] + bool? ScmPropertiesAllow { get; set; } + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource type.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(string) })] + string ScmType { get; } + + } + /// Publishing Credentials Policies collection. + internal partial interface ICsmPublishingCredentialsPoliciesCollectionInternal : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal + { + /// Whether FTP is allowed. + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Ftp { get; set; } + /// Resource Id. + string FtpId { get; set; } + /// Kind of resource. + string FtpKind { get; set; } + /// Resource Name. + string FtpName { get; set; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + bool? FtpPropertiesAllow { get; set; } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties FtpProperty { get; set; } + /// Resource type. + string FtpType { get; set; } + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties Property { get; set; } + /// Whether Scm Basic Auth is allowed. + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Scm { get; set; } + /// Resource Id. + string ScmId { get; set; } + /// Kind of resource. + string ScmKind { get; set; } + /// Resource Name. + string ScmName { get; set; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + bool? ScmPropertiesAllow { get; set; } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties ScmProperty { get; set; } + /// Resource type. + string ScmType { get; set; } + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.json.cs new file mode 100644 index 000000000000..18b8b8e15da3 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollection.json.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// Publishing Credentials Policies collection. + public partial class CsmPublishingCredentialsPoliciesCollection + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json); + + /// + /// 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. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject instance to deserialize from. + internal CsmPublishingCredentialsPoliciesCollection(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __proxyOnlyResource = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ProxyOnlyResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesCollectionProperties.FromJson(__jsonProperties) : Property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json ? new CsmPublishingCredentialsPoliciesCollection(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __proxyOnlyResource?.ToJson(container, serializationMode); + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.PowerShell.cs new file mode 100644 index 000000000000..ae7f81a63547 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.PowerShell.cs @@ -0,0 +1,251 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesCollectionPropertiesTypeConverter))] + public partial class CsmPublishingCredentialsPoliciesCollectionProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CsmPublishingCredentialsPoliciesCollectionProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Ftp")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Ftp = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Ftp",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Ftp, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("Scm")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Scm = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Scm",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Scm, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("FtpId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpId = (string) content.GetValueForProperty("FtpId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpId, global::System.Convert.ToString); + } + if (content.Contains("FtpName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpName = (string) content.GetValueForProperty("FtpName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpName, global::System.Convert.ToString); + } + if (content.Contains("FtpKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpKind = (string) content.GetValueForProperty("FtpKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpKind, global::System.Convert.ToString); + } + if (content.Contains("FtpType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpType = (string) content.GetValueForProperty("FtpType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpType, global::System.Convert.ToString); + } + if (content.Contains("FtpProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("FtpProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("ScmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmId = (string) content.GetValueForProperty("ScmId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmId, global::System.Convert.ToString); + } + if (content.Contains("ScmName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmName = (string) content.GetValueForProperty("ScmName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmName, global::System.Convert.ToString); + } + if (content.Contains("ScmKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmKind = (string) content.GetValueForProperty("ScmKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmKind, global::System.Convert.ToString); + } + if (content.Contains("ScmType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmType = (string) content.GetValueForProperty("ScmType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmType, global::System.Convert.ToString); + } + if (content.Contains("ScmProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("ScmProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("FtpPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpPropertiesAllow = (bool) content.GetValueForProperty("FtpPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ScmPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmPropertiesAllow = (bool) content.GetValueForProperty("ScmPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CsmPublishingCredentialsPoliciesCollectionProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Ftp")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Ftp = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Ftp",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Ftp, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("Scm")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Scm = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) content.GetValueForProperty("Scm",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).Scm, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityTypeConverter.ConvertFrom); + } + if (content.Contains("FtpId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpId = (string) content.GetValueForProperty("FtpId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpId, global::System.Convert.ToString); + } + if (content.Contains("FtpName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpName = (string) content.GetValueForProperty("FtpName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpName, global::System.Convert.ToString); + } + if (content.Contains("FtpKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpKind = (string) content.GetValueForProperty("FtpKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpKind, global::System.Convert.ToString); + } + if (content.Contains("FtpType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpType = (string) content.GetValueForProperty("FtpType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpType, global::System.Convert.ToString); + } + if (content.Contains("FtpProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("FtpProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("ScmId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmId = (string) content.GetValueForProperty("ScmId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmId, global::System.Convert.ToString); + } + if (content.Contains("ScmName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmName = (string) content.GetValueForProperty("ScmName",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmName, global::System.Convert.ToString); + } + if (content.Contains("ScmKind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmKind = (string) content.GetValueForProperty("ScmKind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmKind, global::System.Convert.ToString); + } + if (content.Contains("ScmType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmType = (string) content.GetValueForProperty("ScmType",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmType, global::System.Convert.ToString); + } + if (content.Contains("ScmProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmProperty = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("ScmProperty",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmProperty, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("FtpPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpPropertiesAllow = (bool) content.GetValueForProperty("FtpPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).FtpPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("ScmPropertiesAllow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmPropertiesAllow = (bool) content.GetValueForProperty("ScmPropertiesAllow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal)this).ScmPropertiesAllow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CsmPublishingCredentialsPoliciesCollectionProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CsmPublishingCredentialsPoliciesCollectionProperties(content); + } + + /// + /// 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. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesCollectionPropertiesTypeConverter))] + public partial interface ICsmPublishingCredentialsPoliciesCollectionProperties + + { + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.TypeConverter.cs new file mode 100644 index 000000000000..e2160977c7fe --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.TypeConverter.cs @@ -0,0 +1,152 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CsmPublishingCredentialsPoliciesCollectionPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// 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. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the . + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a + /// type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// 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 + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + 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 + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CsmPublishingCredentialsPoliciesCollectionProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesCollectionProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesCollectionProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.cs new file mode 100644 index 000000000000..2a11b6223cc8 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.cs @@ -0,0 +1,240 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + public partial class CsmPublishingCredentialsPoliciesCollectionProperties : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity _ftp; + + /// Whether FTP is allowed. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Ftp { get => (this._ftp = this._ftp ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity()); set => this._ftp = value; } + + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Id; } + + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Kind = value ?? null; } + + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Name; } + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? FtpPropertiesAllow { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Ftp).Allow; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Ftp).Allow = value ?? default(bool); } + + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string FtpType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Type; } + + /// Internal Acessors for Ftp + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.Ftp { get => (this._ftp = this._ftp ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity()); set { {_ftp = value;} } } + + /// Internal Acessors for FtpId + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.FtpId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Id = value; } + + /// Internal Acessors for FtpName + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.FtpName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Name = value; } + + /// Internal Acessors for FtpProperty + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.FtpProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Ftp).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Ftp).Property = value; } + + /// Internal Acessors for FtpType + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.FtpType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Ftp).Type = value; } + + /// Internal Acessors for Scm + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.Scm { get => (this._scm = this._scm ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity()); set { {_scm = value;} } } + + /// Internal Acessors for ScmId + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.ScmId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Id = value; } + + /// Internal Acessors for ScmName + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.ScmName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Name = value; } + + /// Internal Acessors for ScmProperty + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.ScmProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Scm).Property; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Scm).Property = value; } + + /// Internal Acessors for ScmType + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal.ScmType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Type = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity _scm; + + /// Whether Scm Basic Auth is allowed. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Scm { get => (this._scm = this._scm ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity()); set => this._scm = value; } + + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Id; } + + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmKind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Kind = value ?? null; } + + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmName { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Name; } + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? ScmPropertiesAllow { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Scm).Allow; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)Scm).Allow = value ?? default(bool); } + + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string ScmType { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)Scm).Type; } + + /// + /// Creates an new instance. + /// + public CsmPublishingCredentialsPoliciesCollectionProperties() + { + + } + } + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + public partial interface ICsmPublishingCredentialsPoliciesCollectionProperties : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable + { + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Id.", + SerializedName = @"id", + PossibleTypes = new [] { typeof(string) })] + string FtpId { get; } + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Kind of resource.", + SerializedName = @"kind", + PossibleTypes = new [] { typeof(string) })] + string FtpKind { get; set; } + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string FtpName { get; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(bool) })] + bool? FtpPropertiesAllow { get; set; } + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource type.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(string) })] + string FtpType { get; } + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Id.", + SerializedName = @"id", + PossibleTypes = new [] { typeof(string) })] + string ScmId { get; } + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Kind of resource.", + SerializedName = @"kind", + PossibleTypes = new [] { typeof(string) })] + string ScmKind { get; set; } + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource Name.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + string ScmName { get; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(bool) })] + bool? ScmPropertiesAllow { get; set; } + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Resource type.", + SerializedName = @"type", + PossibleTypes = new [] { typeof(string) })] + string ScmType { get; } + + } + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + internal partial interface ICsmPublishingCredentialsPoliciesCollectionPropertiesInternal + + { + /// Whether FTP is allowed. + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Ftp { get; set; } + /// Resource Id. + string FtpId { get; set; } + /// Kind of resource. + string FtpKind { get; set; } + /// Resource Name. + string FtpName { get; set; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + bool? FtpPropertiesAllow { get; set; } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties FtpProperty { get; set; } + /// Resource type. + string FtpType { get; set; } + /// Whether Scm Basic Auth is allowed. + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity Scm { get; set; } + /// Resource Id. + string ScmId { get; set; } + /// Kind of resource. + string ScmKind { get; set; } + /// Resource Name. + string ScmName { get; set; } + /// + /// true to allow access to a publishing method; otherwise, false. + /// + bool? ScmPropertiesAllow { get; set; } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties ScmProperty { get; set; } + /// Resource type. + string ScmType { get; set; } + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.json.cs new file mode 100644 index 000000000000..37796fe204c0 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesCollectionProperties.json.cs @@ -0,0 +1,113 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// CsmPublishingCredentialsPoliciesCollection resource specific properties + public partial class CsmPublishingCredentialsPoliciesCollectionProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json); + + /// + /// 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. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject instance to deserialize from. + internal CsmPublishingCredentialsPoliciesCollectionProperties(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_ftp = If( json?.PropertyT("ftp"), out var __jsonFtp) ? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity.FromJson(__jsonFtp) : Ftp;} + {_scm = If( json?.PropertyT("scm"), out var __jsonScm) ? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity.FromJson(__jsonScm) : Scm;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollectionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json ? new CsmPublishingCredentialsPoliciesCollectionProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._ftp ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) this._ftp.ToJson(null,serializationMode) : null, "ftp" ,container.Add ); + AddIf( null != this._scm ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) this._scm.ToJson(null,serializationMode) : null, "scm" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.PowerShell.cs new file mode 100644 index 000000000000..59b43af14514 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.PowerShell.cs @@ -0,0 +1,187 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// Publishing Credentials Policies parameters. + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesEntityTypeConverter))] + public partial class CsmPublishingCredentialsPoliciesEntity + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CsmPublishingCredentialsPoliciesEntity(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Kind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind = (string) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Allow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Allow = (bool) content.GetValueForProperty("Allow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Allow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CsmPublishingCredentialsPoliciesEntity(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Property")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("Id")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Id, global::System.Convert.ToString); + } + if (content.Contains("Name")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Name, global::System.Convert.ToString); + } + if (content.Contains("Kind")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind = (string) content.GetValueForProperty("Kind",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Kind, global::System.Convert.ToString); + } + if (content.Contains("Type")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)this).Type, global::System.Convert.ToString); + } + if (content.Contains("Allow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Allow = (bool) content.GetValueForProperty("Allow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal)this).Allow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CsmPublishingCredentialsPoliciesEntity(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CsmPublishingCredentialsPoliciesEntity(content); + } + + /// + /// 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. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Publishing Credentials Policies parameters. + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesEntityTypeConverter))] + public partial interface ICsmPublishingCredentialsPoliciesEntity + + { + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.TypeConverter.cs new file mode 100644 index 000000000000..16aa6d2c8ecc --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.TypeConverter.cs @@ -0,0 +1,150 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CsmPublishingCredentialsPoliciesEntityTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// 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. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the . + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// 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 + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + 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 + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CsmPublishingCredentialsPoliciesEntity.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesEntity.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesEntity.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.cs new file mode 100644 index 000000000000..539201b704c4 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// Publishing Credentials Policies parameters. + public partial class CsmPublishingCredentialsPoliciesEntity : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResource __proxyOnlyResource = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ProxyOnlyResource(); + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? Allow { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal)Property).Allow; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal)Property).Allow = value ?? default(bool); } + + /// Resource Id. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Id; } + + /// Kind of resource. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Kind { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Kind; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Kind = value ?? null; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties()); set { {_property = value;} } } + + /// Internal Acessors for Id + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Id = value; } + + /// Internal Acessors for Name + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Name = value; } + + /// Internal Acessors for Type + string Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Type = value; } + + /// Resource Name. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Name; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties _property; + + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties()); set => this._property = value; } + + /// Resource type. + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inherited)] + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal)__proxyOnlyResource).Type; } + + /// Creates an new instance. + public CsmPublishingCredentialsPoliciesEntity() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__proxyOnlyResource), __proxyOnlyResource); + await eventListener.AssertObjectIsValid(nameof(__proxyOnlyResource), __proxyOnlyResource); + } + } + /// Publishing Credentials Policies parameters. + public partial interface ICsmPublishingCredentialsPoliciesEntity : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResource + { + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(bool) })] + bool? Allow { get; set; } + + } + /// Publishing Credentials Policies parameters. + internal partial interface ICsmPublishingCredentialsPoliciesEntityInternal : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal + { + /// + /// true to allow access to a publishing method; otherwise, false. + /// + bool? Allow { get; set; } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties Property { get; set; } + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.json.cs new file mode 100644 index 000000000000..bc808d95c645 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntity.json.cs @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// Publishing Credentials Policies parameters. + public partial class CsmPublishingCredentialsPoliciesEntity + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json); + + /// + /// 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. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject instance to deserialize from. + internal CsmPublishingCredentialsPoliciesEntity(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __proxyOnlyResource = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ProxyOnlyResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntityProperties.FromJson(__jsonProperties) : Property;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json ? new CsmPublishingCredentialsPoliciesEntity(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __proxyOnlyResource?.ToJson(container, serializationMode); + AddIf( null != this._property ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) this._property.ToJson(null,serializationMode) : null, "properties" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.PowerShell.cs new file mode 100644 index 000000000000..823b9aba66c9 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.PowerShell.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter))] + public partial class CsmPublishingCredentialsPoliciesEntityProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CsmPublishingCredentialsPoliciesEntityProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Allow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal)this).Allow = (bool) content.GetValueForProperty("Allow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal)this).Allow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CsmPublishingCredentialsPoliciesEntityProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Allow")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal)this).Allow = (bool) content.GetValueForProperty("Allow",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal)this).Allow, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CsmPublishingCredentialsPoliciesEntityProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CsmPublishingCredentialsPoliciesEntityProperties(content); + } + + /// + /// 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. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + [System.ComponentModel.TypeConverter(typeof(CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter))] + public partial interface ICsmPublishingCredentialsPoliciesEntityProperties + + { + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.TypeConverter.cs new file mode 100644 index 000000000000..a3ed4f21e917 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.TypeConverter.cs @@ -0,0 +1,152 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CsmPublishingCredentialsPoliciesEntityPropertiesTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// 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. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the . + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, + /// otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// 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 + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + 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 + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable + /// conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CsmPublishingCredentialsPoliciesEntityProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesEntityProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CsmPublishingCredentialsPoliciesEntityProperties.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.cs new file mode 100644 index 000000000000..6d113d1e9301 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.cs @@ -0,0 +1,59 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + public partial class CsmPublishingCredentialsPoliciesEntityProperties : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityPropertiesInternal + { + + /// Backing field for property. + private bool _allow; + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool Allow { get => this._allow; set => this._allow = value; } + + /// + /// Creates an new instance. + /// + public CsmPublishingCredentialsPoliciesEntityProperties() + { + + } + } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + public partial interface ICsmPublishingCredentialsPoliciesEntityProperties : + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable + { + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(bool) })] + bool Allow { get; set; } + + } + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + internal partial interface ICsmPublishingCredentialsPoliciesEntityPropertiesInternal + + { + /// + /// true to allow access to a publishing method; otherwise, false. + /// + bool Allow { get; set; } + + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.json.cs new file mode 100644 index 000000000000..bebea8dfbf77 --- /dev/null +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingCredentialsPoliciesEntityProperties.json.cs @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + + /// CsmPublishingCredentialsPoliciesEntity resource specific properties + public partial class CsmPublishingCredentialsPoliciesEntityProperties + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json); + + /// + /// 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. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// 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. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject instance to deserialize from. + internal CsmPublishingCredentialsPoliciesEntityProperties(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_allow = If( json?.PropertyT("allow"), out var __jsonAllow) ? (bool)__jsonAllow : Allow;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntityProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject json ? new CsmPublishingCredentialsPoliciesEntityProperties(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean(this._allow), "allow" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.PowerShell.cs index 39047567341a..01508a34ca92 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.PowerShell.cs @@ -134,7 +134,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmPublishingProfileOptions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.TypeConverter.cs index a8351af35a94..0039467b096e 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmPublishingProfileOptionsTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.json.cs index d65eb4459455..e5201c4661ff 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmPublishingProfileOptions.json.cs @@ -20,7 +20,7 @@ public partial class CsmPublishingProfileOptions partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmPublishingProfileOptions /// /// 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 CsmPublishingProfileOptions /// /// 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/Functions/generated/api/Models/Api20190801/CsmSlotEntity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.PowerShell.cs index 4ad2af5c72f3..11931cca856d 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmSlotEntity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.TypeConverter.cs index cec7515678f4..4dd275e25327 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CsmSlotEntityTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.json.cs index 271a90f82616..f0ff7e222b83 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmSlotEntity.json.cs @@ -20,7 +20,7 @@ public partial class CsmSlotEntity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmSlotEntity /// /// 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 CsmSlotEntity /// /// 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/Functions/generated/api/Models/Api20190801/CsmUsageQuota.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.PowerShell.cs index 63e27dce68eb..2691c679fc91 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.PowerShell.cs @@ -172,7 +172,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmUsageQuota FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.TypeConverter.cs index 5b0d5b43af86..eb1d4fb78928 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class CsmUsageQuotaTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.json.cs index d57f45dea605..591613548c88 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuota.json.cs @@ -20,7 +20,7 @@ public partial class CsmUsageQuota partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmUsageQuota /// /// 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 CsmUsageQuota /// /// 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/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.PowerShell.cs index 694cf6eaac58..328018203c62 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICsmUsageQuotaCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.TypeConverter.cs index 51f3ac9b6525..ba857a1d45e0 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CsmUsageQuotaCollectionTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.json.cs index 6e822d17319b..20092c958a41 100644 --- a/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CsmUsageQuotaCollection.json.cs @@ -20,7 +20,7 @@ public partial class CsmUsageQuotaCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CsmUsageQuotaCollection /// /// 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 CsmUsageQuotaCollection /// /// 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/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.PowerShell.cs index 4d8a3d91ccf2..887ea9f93498 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.PowerShell.cs @@ -294,7 +294,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICustomHostnameAnalysisResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.TypeConverter.cs index e5d48ffb3724..a12aa1aaf391 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class CustomHostnameAnalysisResultTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.cs index 83226d048ac3..75ba00a96648 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.cs @@ -152,7 +152,7 @@ public CustomHostnameAnalysisResult() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.json.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.json.cs index 2ffe7b4eed67..32611f5a6baf 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResult.json.cs @@ -20,7 +20,7 @@ public partial class CustomHostnameAnalysisResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CustomHostnameAnalysisResult /// /// 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 CustomHostnameAnalysisResult /// /// 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/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.PowerShell.cs index d36bd03a770b..c537618c2f32 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.PowerShell.cs @@ -255,7 +255,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IC /// 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.Functions.Models.Api20190801.ICustomHostnameAnalysisResultProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.TypeConverter.cs index 4ebb8bb57cb5..62773af3d56b 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class CustomHostnameAnalysisResultPropertiesTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.json.cs index 6e930867396d..14e5d33f2bb0 100644 --- a/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/CustomHostnameAnalysisResultProperties.json.cs @@ -20,7 +20,7 @@ public partial class CustomHostnameAnalysisResultProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 CustomHostnameAnalysisResultProperties /// /// 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 CustomHostnameAnalysisResultProperties /// /// 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/Functions/generated/api/Models/Api20190801/DataSource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DataSource.PowerShell.cs index c9837d93d1f6..fd2b70702456 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataSource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataSource.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDataSource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DataSource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DataSource.TypeConverter.cs index 7e674d67a621..ae16246ef541 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataSource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataSource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DataSourceTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DataSource.json.cs b/src/Functions/generated/api/Models/Api20190801/DataSource.json.cs index f5d06b56b961..f1708e4e87ef 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataSource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataSource.json.cs @@ -20,7 +20,7 @@ public partial class DataSource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DataSource /// /// 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 DataSource /// /// 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/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.PowerShell.cs index ddab02ee7fb0..632601c40dbc 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.PowerShell.cs @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDataTableResponseColumn FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.TypeConverter.cs index 062649dca035..b2c18a2569cc 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DataTableResponseColumnTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.json.cs b/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.json.cs index 4f2b2121d3a4..df09b6a21c22 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataTableResponseColumn.json.cs @@ -20,7 +20,7 @@ public partial class DataTableResponseColumn partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DataTableResponseColumn /// /// 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 DataTableResponseColumn /// /// 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/Functions/generated/api/Models/Api20190801/DataTableResponseObject.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.PowerShell.cs index 2f3988a15115..104ead918919 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.PowerShell.cs @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDataTableResponseObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.TypeConverter.cs index 483a507d9921..0b159b042638 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DataTableResponseObjectTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.json.cs b/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.json.cs index de615fd3eab4..3a3c2431c84a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DataTableResponseObject.json.cs @@ -20,7 +20,7 @@ public partial class DataTableResponseObject partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DataTableResponseObject /// /// 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 DataTableResponseObject /// /// 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/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.PowerShell.cs index e63cd6721c9d..458abb462cca 100644 --- a/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.PowerShell.cs @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDatabaseBackupSetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.TypeConverter.cs index b028d90c7bd9..188c79b7bbc1 100644 --- a/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DatabaseBackupSettingTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.json.cs b/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.json.cs index 9f7e687928d4..8b2291d068b0 100644 --- a/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DatabaseBackupSetting.json.cs @@ -20,7 +20,7 @@ public partial class DatabaseBackupSetting partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DatabaseBackupSetting /// /// 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 DatabaseBackupSetting /// /// 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/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.PowerShell.cs index cdedb3cfe6fc..768bc5d7502c 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.PowerShell.cs @@ -164,7 +164,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDefaultErrorResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.TypeConverter.cs index 43a2a18bfe90..55b2ab11578d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DefaultErrorResponseTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.json.cs index 904e8647b50e..42ff7e9fc528 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponse.json.cs @@ -20,7 +20,7 @@ public partial class DefaultErrorResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DefaultErrorResponse /// /// 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 DefaultErrorResponse /// /// 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/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.PowerShell.cs index da0e09f0aac8..cae6d8f2619f 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.PowerShell.cs @@ -158,7 +158,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDefaultErrorResponseError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.TypeConverter.cs index 285173bcbf9b..dc5a0e48f122 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DefaultErrorResponseErrorTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.json.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.json.cs index 4e9014d069f6..a76ddeb622c5 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseError.json.cs @@ -20,7 +20,7 @@ public partial class DefaultErrorResponseError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DefaultErrorResponseError /// /// 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 DefaultErrorResponseError /// /// 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/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.PowerShell.cs index b5eb36189f79..56fa00670b3c 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.PowerShell.cs @@ -142,7 +142,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDefaultErrorResponseErrorDetailsItem FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.TypeConverter.cs index 11e4d7df8f35..b6788c4595b3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class DefaultErrorResponseErrorDetailsItemTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.json.cs b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.json.cs index 3091533a0b8a..11f845ba024a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DefaultErrorResponseErrorDetailsItem.json.cs @@ -20,7 +20,7 @@ public partial class DefaultErrorResponseErrorDetailsItem partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DefaultErrorResponseErrorDetailsItem /// /// 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 DefaultErrorResponseErrorDetailsItem /// /// 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/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.PowerShell.cs index 79f8c45e8ae9..7c7fd67b124d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeletedAppRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.TypeConverter.cs index ebca578abd25..1274356cb5f3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeletedAppRestoreRequestTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.cs index 1f7b5718cb41..91e49fb03fa9 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.cs @@ -86,7 +86,7 @@ public DeletedAppRestoreRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.json.cs index bafc19a1b691..3daa2ec87787 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequest.json.cs @@ -20,7 +20,7 @@ public partial class DeletedAppRestoreRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeletedAppRestoreRequest /// /// 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 DeletedAppRestoreRequest /// /// 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/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.PowerShell.cs index b59f4fd48521..b1bddfcf3e68 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.PowerShell.cs @@ -150,7 +150,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeletedAppRestoreRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.TypeConverter.cs index d980f6b29377..1664894ced29 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeletedAppRestoreRequestPropertiesTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.json.cs index 69b2c87f5f95..be5527a307dd 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedAppRestoreRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class DeletedAppRestoreRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeletedAppRestoreRequestProperties /// /// 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 DeletedAppRestoreRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/DeletedSite.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSite.PowerShell.cs index d1381fb5c8f9..1333a18e1ae0 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSite.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSite.PowerShell.cs @@ -220,7 +220,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeletedSite FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedSite.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSite.TypeConverter.cs index a8531d0e49b0..a3f7db93d60a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSite.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSite.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DeletedSiteTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedSite.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSite.cs index 993891ea543c..9bde2fc5d481 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSite.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSite.cs @@ -120,7 +120,7 @@ public DeletedSite() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedSite.json.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSite.json.cs index 25235864d1ef..0855781da90e 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSite.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSite.json.cs @@ -20,7 +20,7 @@ public partial class DeletedSite partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeletedSite /// /// 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 DeletedSite /// /// 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/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.PowerShell.cs index bd6325bb84a8..b24b0b995325 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.PowerShell.cs @@ -180,7 +180,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeletedSiteProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.TypeConverter.cs index f0cf13656546..e0ec814baca8 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeletedSitePropertiesTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.json.cs index 3551679feb5c..c5f895be3857 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedSiteProperties.json.cs @@ -20,7 +20,7 @@ public partial class DeletedSiteProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeletedSiteProperties /// /// 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 DeletedSiteProperties /// /// 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/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.PowerShell.cs index 67b35cf757f6..092233ea3776 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeletedWebAppCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.TypeConverter.cs index 359482b1a37a..6e085f8b1e03 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeletedWebAppCollectionTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.json.cs index e51f3e4cfbed..e5c91c8dd41c 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeletedWebAppCollection.json.cs @@ -20,7 +20,7 @@ public partial class DeletedWebAppCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeletedWebAppCollection /// /// 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 DeletedWebAppCollection /// /// 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/Functions/generated/api/Models/Api20190801/Deployment.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Deployment.PowerShell.cs index 49c35bde8d7f..bf9968b4f89c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Deployment.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Deployment.PowerShell.cs @@ -228,7 +228,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeployment FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Deployment.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Deployment.TypeConverter.cs index 3c742d171d6f..0fb690ee2c96 100644 --- a/src/Functions/generated/api/Models/Api20190801/Deployment.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Deployment.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DeploymentTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Deployment.cs b/src/Functions/generated/api/Models/Api20190801/Deployment.cs index 3949cd58e8cd..133b3f3a50b4 100644 --- a/src/Functions/generated/api/Models/Api20190801/Deployment.cs +++ b/src/Functions/generated/api/Models/Api20190801/Deployment.cs @@ -102,7 +102,7 @@ public Deployment() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Deployment.json.cs b/src/Functions/generated/api/Models/Api20190801/Deployment.json.cs index 1b35f3583e56..9e49bddb248c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Deployment.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Deployment.json.cs @@ -20,7 +20,7 @@ public partial class Deployment partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Deployment /// /// 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 Deployment /// /// 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/Functions/generated/api/Models/Api20190801/DeploymentCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.PowerShell.cs index 99dfcd687f5a..c09a8746206d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.PowerShell.cs @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeploymentCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.TypeConverter.cs index 6aef4e388802..873cfb004e98 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeploymentCollectionTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.json.cs index 26674c20cd1f..ba23dc9e78df 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentCollection.json.cs @@ -20,7 +20,7 @@ public partial class DeploymentCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeploymentCollection /// /// 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 DeploymentCollection /// /// 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/Functions/generated/api/Models/Api20190801/DeploymentLocations.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.PowerShell.cs index f6867f378b08..3ad326dec2b3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.PowerShell.cs @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeploymentLocations FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.TypeConverter.cs index 65abf64ddf3a..66783ad99fa6 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeploymentLocationsTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.json.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.json.cs index 5ab49888a830..2394bc36d30b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentLocations.json.cs @@ -23,7 +23,7 @@ public partial class DeploymentLocations partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeploymentLocations /// /// 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 DeploymentLocations /// /// 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/Functions/generated/api/Models/Api20190801/DeploymentProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.PowerShell.cs index 3e35a184a9d9..aecccbc3d826 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.PowerShell.cs @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ID /// 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.Functions.Models.Api20190801.IDeploymentProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.TypeConverter.cs index cd844d7f00e1..f55a75c9124d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DeploymentPropertiesTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.json.cs index 33710714777c..e1e59aa8b317 100644 --- a/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DeploymentProperties.json.cs @@ -20,7 +20,7 @@ public partial class DeploymentProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DeploymentProperties /// /// 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 DeploymentProperties /// /// 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/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.PowerShell.cs index 34ae48d63d60..dcf4a2ba2cb8 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.PowerShell.cs @@ -182,7 +182,7 @@ internal DetectorAbnormalTimePeriod(global::System.Management.Automation.PSObjec /// 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.Functions.Models.Api20190801.IDetectorAbnormalTimePeriod FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.TypeConverter.cs index e6aa5eb4eeb0..60232d1ecf70 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DetectorAbnormalTimePeriodTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.json.cs index e1d7f684cc8e..4cb64a39f868 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorAbnormalTimePeriod.json.cs @@ -20,7 +20,7 @@ public partial class DetectorAbnormalTimePeriod partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorAbnormalTimePeriod /// /// 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 DetectorAbnormalTimePeriod /// /// 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/Functions/generated/api/Models/Api20190801/DetectorDefinition.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.PowerShell.cs index b3f419d87da7..5e3fe8e9b77b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.PowerShell.cs @@ -188,7 +188,7 @@ internal DetectorDefinition(global::System.Management.Automation.PSObject conten /// 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.Functions.Models.Api20190801.IDetectorDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.TypeConverter.cs index 3c3e3343d871..49642577fec2 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DetectorDefinitionTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.cs index 985980f889dd..0364838675d2 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.cs @@ -92,7 +92,7 @@ public DetectorDefinition() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.json.cs index 7b2ddb5ba296..7e204c1a0491 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinition.json.cs @@ -20,7 +20,7 @@ public partial class DetectorDefinition partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorDefinition /// /// 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 DetectorDefinition /// /// 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/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.PowerShell.cs index a8353a42daec..920158d11528 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.PowerShell.cs @@ -150,7 +150,7 @@ internal DetectorDefinitionProperties(global::System.Management.Automation.PSObj /// 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.Functions.Models.Api20190801.IDetectorDefinitionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.TypeConverter.cs index cf96624b686b..8fcec9d2e4d0 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DetectorDefinitionPropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.json.cs index 3e13798278ec..61c12c5223de 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorDefinitionProperties.json.cs @@ -20,7 +20,7 @@ public partial class DetectorDefinitionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorDefinitionProperties /// /// 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 DetectorDefinitionProperties /// /// 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/Functions/generated/api/Models/Api20190801/DetectorInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorInfo.PowerShell.cs index 48cf23a836a9..e3561c5c71a7 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorInfo.PowerShell.cs @@ -148,7 +148,7 @@ internal DetectorInfo(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDetectorInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorInfo.TypeConverter.cs index 83dc2b2eae4c..30109f15644b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DetectorInfoTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorInfo.json.cs index 3f66e9017859..8a238bd730c8 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorInfo.json.cs @@ -20,7 +20,7 @@ public partial class DetectorInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorInfo /// /// 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 DetectorInfo /// /// 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/Functions/generated/api/Models/Api20190801/DetectorResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.PowerShell.cs index 5d65ceb9d853..2d6d260978c6 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.PowerShell.cs @@ -204,7 +204,7 @@ internal DetectorResponse(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDetectorResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.TypeConverter.cs index 33b3292ff5bf..cd2ba94553bf 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DetectorResponseTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.cs index 3e37054f71d6..f6645c3411bd 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.cs @@ -99,7 +99,7 @@ public DetectorResponse() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.json.cs index f80dc6ba7409..93b7775d0fec 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponse.json.cs @@ -20,7 +20,7 @@ public partial class DetectorResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorResponse /// /// 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 DetectorResponse /// /// 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/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.PowerShell.cs index cd64e6f779f2..285bd9f49fda 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.PowerShell.cs @@ -134,7 +134,7 @@ internal DetectorResponseCollection(global::System.Management.Automation.PSObjec /// 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.Functions.Models.Api20190801.IDetectorResponseCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.TypeConverter.cs index 31e664b1704c..4b1b2d93b543 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DetectorResponseCollectionTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.json.cs index 23c438d14309..2d3eec27c77e 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponseCollection.json.cs @@ -20,7 +20,7 @@ public partial class DetectorResponseCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorResponseCollection /// /// 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 DetectorResponseCollection /// /// 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/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.PowerShell.cs index 3eb479257450..f67d967c0060 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.PowerShell.cs @@ -166,7 +166,7 @@ internal DetectorResponseProperties(global::System.Management.Automation.PSObjec /// 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.Functions.Models.Api20190801.IDetectorResponseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.TypeConverter.cs index bd5595a4bb18..a2cddfd03e6a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DetectorResponsePropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.json.cs index 58d334da3555..f2f5503e773c 100644 --- a/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DetectorResponseProperties.json.cs @@ -20,7 +20,7 @@ public partial class DetectorResponseProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DetectorResponseProperties /// /// 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 DetectorResponseProperties /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.PowerShell.cs index 08ee59c6a621..e5c47dccad33 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.PowerShell.cs @@ -196,7 +196,7 @@ internal DiagnosticAnalysis(global::System.Management.Automation.PSObject conten /// 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.Functions.Models.Api20190801.IDiagnosticAnalysis FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.TypeConverter.cs index d8eab7a50014..26ebb67f81c0 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticAnalysisTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.cs index d7d42b6f11b1..0a5a9d8f2d72 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.cs @@ -84,7 +84,7 @@ public DiagnosticAnalysis() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.json.cs index d2551bd4834d..05fd17211f8d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysis.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticAnalysis partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticAnalysis /// /// 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 DiagnosticAnalysis /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.PowerShell.cs index 77d99902ca31..34298b01766d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.PowerShell.cs @@ -134,7 +134,7 @@ internal DiagnosticAnalysisCollection(global::System.Management.Automation.PSObj /// 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.Functions.Models.Api20190801.IDiagnosticAnalysisCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.TypeConverter.cs index 66bf0619dcd0..6d215318113b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticAnalysisCollectionTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.json.cs index c0b10a78a4f5..fe9f8af11c68 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisCollection.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticAnalysisCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticAnalysisCollection /// /// 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 DiagnosticAnalysisCollection /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.PowerShell.cs index 915e65c9b3a0..84c60464d156 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.PowerShell.cs @@ -158,7 +158,7 @@ internal DiagnosticAnalysisProperties(global::System.Management.Automation.PSObj /// 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.Functions.Models.Api20190801.IDiagnosticAnalysisProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.TypeConverter.cs index a9474fae30e6..9d1c29f2ffc4 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticAnalysisPropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.json.cs index a6e0a0ea3774..cdcf729c9af3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticAnalysisProperties.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticAnalysisProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticAnalysisProperties /// /// 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 DiagnosticAnalysisProperties /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticCategory.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.PowerShell.cs index 4463543114f2..fc1ddeab1008 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.PowerShell.cs @@ -164,7 +164,7 @@ internal DiagnosticCategory(global::System.Management.Automation.PSObject conten /// 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.Functions.Models.Api20190801.IDiagnosticCategory FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.TypeConverter.cs index 3de595e40ffc..a628d705d559 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticCategoryTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.cs index b89b129a6a07..3195cc0ce93b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.cs @@ -71,7 +71,7 @@ public DiagnosticCategory() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.json.cs index 615f2893e1e1..0e14a408462b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategory.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticCategory partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticCategory /// /// 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 DiagnosticCategory /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.PowerShell.cs index bde751023c98..d4343b34b9cf 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.PowerShell.cs @@ -134,7 +134,7 @@ internal DiagnosticCategoryCollection(global::System.Management.Automation.PSObj /// 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.Functions.Models.Api20190801.IDiagnosticCategoryCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.TypeConverter.cs index 7c2bee74c50a..9cacdbb5f785 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticCategoryCollectionTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.json.cs index 6883445135d0..b2110b3c69fa 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryCollection.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticCategoryCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticCategoryCollection /// /// 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 DiagnosticCategoryCollection /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.PowerShell.cs index 48f98e08b9e5..2d447fac8c83 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.PowerShell.cs @@ -126,7 +126,7 @@ internal DiagnosticCategoryProperties(global::System.Management.Automation.PSObj /// 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.Functions.Models.Api20190801.IDiagnosticCategoryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.TypeConverter.cs index 1159538c2abc..22560e60ced9 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticCategoryPropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.json.cs index 5eda125c0490..95b2a070da57 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticCategoryProperties.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticCategoryProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticCategoryProperties /// /// 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 DiagnosticCategoryProperties /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticData.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticData.PowerShell.cs index 5d45bf333a6d..1a711be758fe 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticData.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticData.PowerShell.cs @@ -180,7 +180,7 @@ internal DiagnosticData(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDiagnosticData FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticData.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticData.TypeConverter.cs index daf823fce773..f9bb101ee3b3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticData.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticData.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DiagnosticDataTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticData.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticData.json.cs index 6a533d3f7cc3..1543a66b971f 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticData.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticData.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticData partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticData /// /// 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 DiagnosticData /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.PowerShell.cs index ebb04858a261..009308d8c53f 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.PowerShell.cs @@ -134,7 +134,7 @@ internal DiagnosticDetectorCollection(global::System.Management.Automation.PSObj /// 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.Functions.Models.Api20190801.IDiagnosticDetectorCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.TypeConverter.cs index daa00aacf440..57d6f488a259 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticDetectorCollectionTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.json.cs index d927b914b090..7fe038880bd3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorCollection.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticDetectorCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticDetectorCollection /// /// 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 DiagnosticDetectorCollection /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.PowerShell.cs index 95ad7635d43b..4b4db79882b1 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.PowerShell.cs @@ -318,7 +318,7 @@ internal DiagnosticDetectorResponse(global::System.Management.Automation.PSObjec /// 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.Functions.Models.Api20190801.IDiagnosticDetectorResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.TypeConverter.cs index 0de02400b037..589ace24dba5 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticDetectorResponseTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.cs index 576db6a2197b..d857456cb247 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.cs @@ -161,7 +161,7 @@ public DiagnosticDetectorResponse() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.json.cs index c4aee15e0d08..670f237e4b5f 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponse.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticDetectorResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticDetectorResponse /// /// 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 DiagnosticDetectorResponse /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.PowerShell.cs index 53c3d13abfd9..be03325d2690 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.PowerShell.cs @@ -278,7 +278,9 @@ internal DiagnosticDetectorResponseProperties(global::System.Management.Automati /// 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.Functions.Models.Api20190801.IDiagnosticDetectorResponseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.TypeConverter.cs index 39f0530af5bf..290b02a20f70 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class DiagnosticDetectorResponsePropertiesTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.json.cs index 0e6384fcb66e..0b75971afa55 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticDetectorResponseProperties.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticDetectorResponseProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticDetectorResponseProperties /// /// 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 DiagnosticDetectorResponseProperties /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.PowerShell.cs index 40609ccad1b3..ef5f9515624f 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.PowerShell.cs @@ -164,7 +164,7 @@ internal DiagnosticMetricSample(global::System.Management.Automation.PSObject co /// 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.Functions.Models.Api20190801.IDiagnosticMetricSample FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.TypeConverter.cs index 9e232cd8d459..3abc972d3a1d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticMetricSampleTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.json.cs index 888fa9009f0a..ca3f8ee2e849 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSample.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticMetricSample partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticMetricSample /// /// 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 DiagnosticMetricSample /// /// 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/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.PowerShell.cs index da59bc69a672..37c7034a6a77 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.PowerShell.cs @@ -164,7 +164,7 @@ internal DiagnosticMetricSet(global::System.Management.Automation.PSObject conte /// 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.Functions.Models.Api20190801.IDiagnosticMetricSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.TypeConverter.cs index e1682bf3f04f..e3cafc5d7b42 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DiagnosticMetricSetTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.json.cs b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.json.cs index c87038386732..74ebc6ffa218 100644 --- a/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DiagnosticMetricSet.json.cs @@ -20,7 +20,7 @@ public partial class DiagnosticMetricSet partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DiagnosticMetricSet /// /// 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 DiagnosticMetricSet /// /// 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/Functions/generated/api/Models/Api20190801/Dimension.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Dimension.PowerShell.cs index 4d7f883bce12..b538d3adf650 100644 --- a/src/Functions/generated/api/Models/Api20190801/Dimension.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Dimension.PowerShell.cs @@ -151,7 +151,7 @@ internal Dimension(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDimension FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Dimension.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Dimension.TypeConverter.cs index 365e28a38b87..a518bf77eae9 100644 --- a/src/Functions/generated/api/Models/Api20190801/Dimension.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Dimension.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DimensionTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Dimension.json.cs b/src/Functions/generated/api/Models/Api20190801/Dimension.json.cs index 0d6f89736e95..e702e318ea1f 100644 --- a/src/Functions/generated/api/Models/Api20190801/Dimension.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Dimension.json.cs @@ -23,7 +23,7 @@ public partial class Dimension partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Dimension /// /// 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 Dimension /// /// 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/Functions/generated/api/Models/Api20190801/Domain.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Domain.PowerShell.cs index dfb427439dcb..0732c968595d 100644 --- a/src/Functions/generated/api/Models/Api20190801/Domain.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Domain.PowerShell.cs @@ -836,7 +836,7 @@ internal Domain(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDomain FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Domain.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Domain.TypeConverter.cs index f04774eeeada..76c1a65ffb3d 100644 --- a/src/Functions/generated/api/Models/Api20190801/Domain.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Domain.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DomainTypeConverter : global::System.Management.Automation. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Domain.cs b/src/Functions/generated/api/Models/Api20190801/Domain.cs index 878d9a63bbcf..b37ffac08381 100644 --- a/src/Functions/generated/api/Models/Api20190801/Domain.cs +++ b/src/Functions/generated/api/Models/Api20190801/Domain.cs @@ -432,7 +432,7 @@ public Domain() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Domain.json.cs b/src/Functions/generated/api/Models/Api20190801/Domain.json.cs index 891a64690647..cf111a4b6086 100644 --- a/src/Functions/generated/api/Models/Api20190801/Domain.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Domain.json.cs @@ -20,7 +20,7 @@ public partial class Domain partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Domain /// /// 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 Domain /// /// 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/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.PowerShell.cs index 9bb319b7565f..3d1824310329 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.PowerShell.cs @@ -142,7 +142,7 @@ internal DomainAvailabilityCheckResult(global::System.Management.Automation.PSOb /// 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.Functions.Models.Api20190801.IDomainAvailabilityCheckResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.TypeConverter.cs index eae157325e2a..e1b89e95178d 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainAvailabilityCheckResultTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.json.cs index dae46e5617fd..6ffc10c0f1d3 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainAvailabilityCheckResult.json.cs @@ -20,7 +20,7 @@ public partial class DomainAvailabilityCheckResult partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainAvailabilityCheckResult /// /// 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 DomainAvailabilityCheckResult /// /// 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/Functions/generated/api/Models/Api20190801/DomainCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainCollection.PowerShell.cs index 2b158818d75f..fc84c17d3783 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainCollection.PowerShell.cs @@ -132,7 +132,7 @@ internal DomainCollection(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDomainCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainCollection.TypeConverter.cs index 0f57842ebb20..a15e9f91c95e 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainCollection.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DomainCollectionTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainCollection.json.cs index 72c0c59ad23d..5e5e412d7ec7 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainCollection.json.cs @@ -20,7 +20,7 @@ public partial class DomainCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainCollection /// /// 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 DomainCollection /// /// 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/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.PowerShell.cs index 2d28f4cdd9f9..3aa89fe6a360 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.PowerShell.cs @@ -142,7 +142,7 @@ internal DomainControlCenterSsoRequest(global::System.Management.Automation.PSOb /// 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.Functions.Models.Api20190801.IDomainControlCenterSsoRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.TypeConverter.cs index 6353571a1751..97d9226b4a23 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainControlCenterSsoRequestTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.json.cs index 7cc24f0188fc..85129e56f65a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainControlCenterSsoRequest.json.cs @@ -20,7 +20,7 @@ public partial class DomainControlCenterSsoRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainControlCenterSsoRequest /// /// 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 DomainControlCenterSsoRequest /// /// 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/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.PowerShell.cs index 922733b621a8..d72e9df7b96c 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.PowerShell.cs @@ -166,7 +166,7 @@ internal DomainOwnershipIdentifier(global::System.Management.Automation.PSObject /// 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.Functions.Models.Api20190801.IDomainOwnershipIdentifier FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.TypeConverter.cs index 7a2ac7f54b7b..a1fc03ca6b74 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainOwnershipIdentifierTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.cs index c95813d41463..638ac49eaf67 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.cs @@ -68,7 +68,7 @@ public DomainOwnershipIdentifier() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.json.cs index 1f5e84c27deb..f1f5c1cbea55 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifier.json.cs @@ -20,7 +20,7 @@ public partial class DomainOwnershipIdentifier partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainOwnershipIdentifier /// /// 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 DomainOwnershipIdentifier /// /// 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/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.PowerShell.cs index a62374f9d505..de5f7d571b16 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.PowerShell.cs @@ -134,7 +134,9 @@ internal DomainOwnershipIdentifierCollection(global::System.Management.Automatio /// 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.Functions.Models.Api20190801.IDomainOwnershipIdentifierCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.TypeConverter.cs index 536728239e49..3d7744f06221 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainOwnershipIdentifierCollectionTypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.json.cs index 8e8fbd571fad..336b14f67187 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierCollection.json.cs @@ -20,7 +20,7 @@ public partial class DomainOwnershipIdentifierCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainOwnershipIdentifierCollection /// /// 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 DomainOwnershipIdentifierCollection /// /// 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/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.PowerShell.cs index b97d1a0a90be..0a789d3147d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.PowerShell.cs @@ -126,7 +126,9 @@ internal DomainOwnershipIdentifierProperties(global::System.Management.Automatio /// 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.Functions.Models.Api20190801.IDomainOwnershipIdentifierProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.TypeConverter.cs index b192819fd194..de7b4ea8edca 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainOwnershipIdentifierPropertiesTypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.json.cs index d947e43ae997..c400cfeccd28 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainOwnershipIdentifierProperties.json.cs @@ -20,7 +20,7 @@ public partial class DomainOwnershipIdentifierProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainOwnershipIdentifierProperties /// /// 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 DomainOwnershipIdentifierProperties /// /// 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/Functions/generated/api/Models/Api20190801/DomainPatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.PowerShell.cs index 7609351a71df..05327b5e1b9b 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.PowerShell.cs @@ -820,7 +820,7 @@ internal DomainPatchResource(global::System.Management.Automation.PSObject conte /// 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.Functions.Models.Api20190801.IDomainPatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.TypeConverter.cs index 16b071bfe401..8e492fcd6a3c 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainPatchResourceTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.cs index 93b391b7e6f0..18222c12ef93 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.cs @@ -424,7 +424,7 @@ public DomainPatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.json.cs index 91e67c78c76a..f336e9ceb11a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResource.json.cs @@ -20,7 +20,7 @@ public partial class DomainPatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainPatchResource /// /// 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 DomainPatchResource /// /// 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/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.PowerShell.cs index 06ebfcf34d37..cb205e92fea4 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.PowerShell.cs @@ -782,7 +782,7 @@ internal DomainPatchResourceProperties(global::System.Management.Automation.PSOb /// 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.Functions.Models.Api20190801.IDomainPatchResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.TypeConverter.cs index 51161ac685c6..422fb54400d7 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainPatchResourcePropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.json.cs index 6f61e16ded53..3b50afde7378 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPatchResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class DomainPatchResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainPatchResourceProperties /// /// 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 DomainPatchResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/DomainProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainProperties.PowerShell.cs index 602ec3991490..7137381c4047 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainProperties.PowerShell.cs @@ -780,7 +780,7 @@ internal DomainProperties(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IDomainProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainProperties.TypeConverter.cs index 7215425dbe9e..0dc87ba85eb1 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainProperties.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class DomainPropertiesTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainProperties.json.cs index e70039e551c0..b43eb0c66261 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainProperties.json.cs @@ -20,7 +20,7 @@ public partial class DomainProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainProperties /// /// 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 DomainProperties /// /// 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/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.PowerShell.cs index 11d70ed9eff3..fb8319f6b28a 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.PowerShell.cs @@ -142,7 +142,7 @@ internal DomainPurchaseConsent(global::System.Management.Automation.PSObject con /// 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.Functions.Models.Api20190801.IDomainPurchaseConsent FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.TypeConverter.cs index 970639644eef..84675d64be2f 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class DomainPurchaseConsentTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.json.cs index 15ee7008040e..540b2f958554 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainPurchaseConsent.json.cs @@ -22,7 +22,7 @@ public partial class DomainPurchaseConsent partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainPurchaseConsent /// /// 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 DomainPurchaseConsent /// /// 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/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.PowerShell.cs index 18bfc70d19b4..e97b6c3cbe4e 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.PowerShell.cs @@ -134,7 +134,9 @@ internal DomainRecommendationSearchParameters(global::System.Management.Automati /// 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.Functions.Models.Api20190801.IDomainRecommendationSearchParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.TypeConverter.cs index 57da891ac924..31800b67e367 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class DomainRecommendationSearchParametersTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.json.cs b/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.json.cs index adf938b72b3a..1b7e4ec334a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/DomainRecommendationSearchParameters.json.cs @@ -20,7 +20,7 @@ public partial class DomainRecommendationSearchParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 DomainRecommendationSearchParameters /// /// 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 DomainRecommendationSearchParameters /// /// 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/Functions/generated/api/Models/Api20190801/EnabledConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/EnabledConfig.PowerShell.cs index d18a8283e1bc..e68696e4fefe 100644 --- a/src/Functions/generated/api/Models/Api20190801/EnabledConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/EnabledConfig.PowerShell.cs @@ -124,7 +124,7 @@ internal EnabledConfig(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IEnabledConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/EnabledConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/EnabledConfig.TypeConverter.cs index af14cd27bd15..b28cf0917e35 100644 --- a/src/Functions/generated/api/Models/Api20190801/EnabledConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/EnabledConfig.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class EnabledConfigTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/EnabledConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/EnabledConfig.json.cs index a8ee1506668d..bd1a916c7851 100644 --- a/src/Functions/generated/api/Models/Api20190801/EnabledConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/EnabledConfig.json.cs @@ -20,7 +20,7 @@ public partial class EnabledConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 EnabledConfig /// /// 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 EnabledConfig /// /// 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/Functions/generated/api/Models/Api20190801/EndpointDependency.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/EndpointDependency.PowerShell.cs index d9d189e14524..f7db10b09ae8 100644 --- a/src/Functions/generated/api/Models/Api20190801/EndpointDependency.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/EndpointDependency.PowerShell.cs @@ -134,7 +134,7 @@ internal EndpointDependency(global::System.Management.Automation.PSObject conten /// 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.Functions.Models.Api20190801.IEndpointDependency FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/EndpointDependency.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/EndpointDependency.TypeConverter.cs index 924df13e3502..4bc8dc164952 100644 --- a/src/Functions/generated/api/Models/Api20190801/EndpointDependency.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/EndpointDependency.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class EndpointDependencyTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/EndpointDependency.json.cs b/src/Functions/generated/api/Models/Api20190801/EndpointDependency.json.cs index 1477d3a2e190..9666f46be5e1 100644 --- a/src/Functions/generated/api/Models/Api20190801/EndpointDependency.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/EndpointDependency.json.cs @@ -22,7 +22,7 @@ public partial class EndpointDependency partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 EndpointDependency /// /// 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 EndpointDependency /// /// 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/Functions/generated/api/Models/Api20190801/EndpointDetail.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/EndpointDetail.PowerShell.cs index fac9c6e2e2f3..c0d1295dae86 100644 --- a/src/Functions/generated/api/Models/Api20190801/EndpointDetail.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/EndpointDetail.PowerShell.cs @@ -150,7 +150,7 @@ internal EndpointDetail(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IEndpointDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/EndpointDetail.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/EndpointDetail.TypeConverter.cs index bbb3beb645ea..34295978de66 100644 --- a/src/Functions/generated/api/Models/Api20190801/EndpointDetail.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/EndpointDetail.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class EndpointDetailTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/EndpointDetail.json.cs b/src/Functions/generated/api/Models/Api20190801/EndpointDetail.json.cs index e0e2f153155b..6f0911a7e085 100644 --- a/src/Functions/generated/api/Models/Api20190801/EndpointDetail.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/EndpointDetail.json.cs @@ -22,7 +22,7 @@ public partial class EndpointDetail partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 EndpointDetail /// /// 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 EndpointDetail /// /// 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/Functions/generated/api/Models/Api20190801/ErrorEntity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ErrorEntity.PowerShell.cs index 46ffb6a06c2c..e704f33983d5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ErrorEntity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ErrorEntity.PowerShell.cs @@ -164,7 +164,7 @@ internal ErrorEntity(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IErrorEntity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ErrorEntity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ErrorEntity.TypeConverter.cs index 4a54bf6ba1ff..74c87257a1ab 100644 --- a/src/Functions/generated/api/Models/Api20190801/ErrorEntity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ErrorEntity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ErrorEntityTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ErrorEntity.json.cs b/src/Functions/generated/api/Models/Api20190801/ErrorEntity.json.cs index ca4d69ef6f6f..31b210a9d161 100644 --- a/src/Functions/generated/api/Models/Api20190801/ErrorEntity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ErrorEntity.json.cs @@ -20,7 +20,7 @@ public partial class ErrorEntity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ErrorEntity /// /// 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 ErrorEntity /// /// 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/Functions/generated/api/Models/Api20190801/Experiments.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Experiments.PowerShell.cs index 9f3cc93d31ab..c4b918a0f759 100644 --- a/src/Functions/generated/api/Models/Api20190801/Experiments.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Experiments.PowerShell.cs @@ -124,7 +124,7 @@ internal Experiments(global::System.Management.Automation.PSObject content) /// 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.Functions.Models.Api20190801.IExperiments FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Experiments.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Experiments.TypeConverter.cs index 263eb130b8d8..6cd348719594 100644 --- a/src/Functions/generated/api/Models/Api20190801/Experiments.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Experiments.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ExperimentsTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Experiments.json.cs b/src/Functions/generated/api/Models/Api20190801/Experiments.json.cs index 0e557ccb3524..58d8217fcf34 100644 --- a/src/Functions/generated/api/Models/Api20190801/Experiments.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Experiments.json.cs @@ -20,7 +20,7 @@ public partial class Experiments partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Experiments /// /// 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 Experiments /// /// 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/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.PowerShell.cs index 1f807429be4f..eff392d0783e 100644 --- a/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.PowerShell.cs @@ -126,7 +126,7 @@ internal FileSystemApplicationLogsConfig(global::System.Management.Automation.PS /// 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.Functions.Models.Api20190801.IFileSystemApplicationLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.TypeConverter.cs index 1e3c7b1ac9cf..218b38348c38 100644 --- a/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class FileSystemApplicationLogsConfigTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.json.cs index 6c9eaad8ae3f..a17084100973 100644 --- a/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FileSystemApplicationLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class FileSystemApplicationLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FileSystemApplicationLogsConfig /// /// 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 FileSystemApplicationLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.PowerShell.cs index ed58f92799ad..0f3e3f1e6beb 100644 --- a/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.PowerShell.cs @@ -140,7 +140,7 @@ internal FileSystemHttpLogsConfig(global::System.Management.Automation.PSObject /// 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.Functions.Models.Api20190801.IFileSystemHttpLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.TypeConverter.cs index 7ef740f10803..53c09b33b89f 100644 --- a/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class FileSystemHttpLogsConfigTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.json.cs index dd6cd8bc49e3..8b8787a047c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FileSystemHttpLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class FileSystemHttpLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FileSystemHttpLogsConfig /// /// 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 FileSystemHttpLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/FunctionEnvelope.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.PowerShell.cs index 445fefbbff19..bee3d067c983 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IF /// 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.Functions.Models.Api20190801.IFunctionEnvelope FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.TypeConverter.cs index 0ea1afc850b5..03beb49cde3c 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class FunctionEnvelopeTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.cs index 8ebfc4cc33f4..da1dfb32661a 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.cs @@ -116,7 +116,7 @@ public FunctionEnvelope() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.json.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.json.cs index 10715f069bca..2f28496c587e 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelope.json.cs @@ -20,7 +20,7 @@ public partial class FunctionEnvelope partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionEnvelope /// /// 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 FunctionEnvelope /// /// 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/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.PowerShell.cs index 0ddbf5ff1509..f4e00519c0c4 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IF /// 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.Functions.Models.Api20190801.IFunctionEnvelopeCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.TypeConverter.cs index 3185832a983a..47463499c84b 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class FunctionEnvelopeCollectionTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.json.cs index 4d69c4f813b5..f6655cb9b131 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeCollection.json.cs @@ -20,7 +20,7 @@ public partial class FunctionEnvelopeCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionEnvelopeCollection /// /// 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 FunctionEnvelopeCollection /// /// 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/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.PowerShell.cs index 3ea39c583d4e..452fdfac9d67 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IF /// 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.Functions.Models.Api20190801.IFunctionEnvelopeProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.TypeConverter.cs index 6710a8b2ef99..c5a26b6559de 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class FunctionEnvelopePropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.json.cs index e6f583250269..986f682bfe20 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopeProperties.json.cs @@ -20,7 +20,7 @@ public partial class FunctionEnvelopeProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionEnvelopeProperties /// /// 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 FunctionEnvelopeProperties /// /// 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/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.PowerShell.cs index d88171c0584e..c3f8e4e6422d 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IF /// 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.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.TypeConverter.cs index edd40063acae..8fd27be88b98 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class FunctionEnvelopePropertiesFilesTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.json.cs b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.json.cs index 3d3c1129f2db..1331df4780d3 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionEnvelopePropertiesFiles.json.cs @@ -20,7 +20,7 @@ public partial class FunctionEnvelopePropertiesFiles partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionEnvelopePropertiesFiles /// /// 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 FunctionEnvelopePropertiesFiles /// /// 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/Functions/generated/api/Models/Api20190801/FunctionSecrets.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.PowerShell.cs index 4912beec20de..189e30802a0d 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IF /// 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.Functions.Models.Api20190801.IFunctionSecrets FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.TypeConverter.cs index 9c5288e48378..bc7f524a6874 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class FunctionSecretsTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.cs index 3835b5de8c7e..44f1250c9b1a 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.cs @@ -72,7 +72,7 @@ public FunctionSecrets() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.json.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.json.cs index 0da9f9e5da2e..7f17c788ef4a 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecrets.json.cs @@ -20,7 +20,7 @@ public partial class FunctionSecrets partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionSecrets /// /// 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 FunctionSecrets /// /// 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/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.PowerShell.cs index bfcaff0fce53..76d717be179e 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IF /// 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.Functions.Models.Api20190801.IFunctionSecretsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.TypeConverter.cs index d6bd38c9c18e..8a31b889de7b 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class FunctionSecretsPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.json.cs index 381533698146..7a560f12fbcd 100644 --- a/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/FunctionSecretsProperties.json.cs @@ -20,7 +20,7 @@ public partial class FunctionSecretsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionSecretsProperties /// /// 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 FunctionSecretsProperties /// /// 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/Functions/generated/api/Models/Api20190801/GeoRegion.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegion.PowerShell.cs index 9b7fc3b19b4d..5466906beaa6 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegion.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegion.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IG /// 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.Functions.Models.Api20190801.IGeoRegion FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegion.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegion.TypeConverter.cs index 42566c1352bc..2e4aa8043bf2 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegion.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegion.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class GeoRegionTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegion.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegion.cs index b9781943917c..5fcb4d7b17a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegion.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegion.cs @@ -93,7 +93,7 @@ public GeoRegion() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegion.json.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegion.json.cs index a296ea21a174..36455c383b1f 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegion.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegion.json.cs @@ -20,7 +20,7 @@ public partial class GeoRegion partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 GeoRegion /// /// 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 GeoRegion /// /// 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/Functions/generated/api/Models/Api20190801/GeoRegionCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.PowerShell.cs index ad02c6ad803b..5f7b28ba7dfc 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IG /// 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.Functions.Models.Api20190801.IGeoRegionCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.TypeConverter.cs index df29a9db9b2c..e5e4c71e0b8b 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class GeoRegionCollectionTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.json.cs index 4e1e59434273..573fd812c19b 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegionCollection.json.cs @@ -20,7 +20,7 @@ public partial class GeoRegionCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 GeoRegionCollection /// /// 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 GeoRegionCollection /// /// 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/Functions/generated/api/Models/Api20190801/GeoRegionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.PowerShell.cs index 2d6c9396ae06..35f5501d65c8 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IG /// 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.Functions.Models.Api20190801.IGeoRegionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.TypeConverter.cs index 098525f5a948..5c92f7208a41 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class GeoRegionPropertiesTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.json.cs index 912eae2e6af9..75087cb1f036 100644 --- a/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/GeoRegionProperties.json.cs @@ -20,7 +20,7 @@ public partial class GeoRegionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 GeoRegionProperties /// /// 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 GeoRegionProperties /// /// 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/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.PowerShell.cs index 51334b2f5c86..b1179f540bfd 100644 --- a/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IG /// 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.Functions.Models.Api20190801.IGlobalCsmSkuDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.TypeConverter.cs index c06aeb942c11..22af53ad46a4 100644 --- a/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class GlobalCsmSkuDescriptionTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.json.cs b/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.json.cs index 9e3dd6460d2e..de5d38d9b9e7 100644 --- a/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/GlobalCsmSkuDescription.json.cs @@ -20,7 +20,7 @@ public partial class GlobalCsmSkuDescription partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 GlobalCsmSkuDescription /// /// 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 GlobalCsmSkuDescription /// /// 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/Functions/generated/api/Models/Api20190801/HandlerMapping.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HandlerMapping.PowerShell.cs index 6f392fde81be..5dab791287be 100644 --- a/src/Functions/generated/api/Models/Api20190801/HandlerMapping.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HandlerMapping.PowerShell.cs @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHandlerMapping FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HandlerMapping.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HandlerMapping.TypeConverter.cs index 157070f9dea1..d3309c252e8d 100644 --- a/src/Functions/generated/api/Models/Api20190801/HandlerMapping.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HandlerMapping.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HandlerMappingTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HandlerMapping.json.cs b/src/Functions/generated/api/Models/Api20190801/HandlerMapping.json.cs index 61137dae7e36..319f06486dae 100644 --- a/src/Functions/generated/api/Models/Api20190801/HandlerMapping.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HandlerMapping.json.cs @@ -23,7 +23,7 @@ public partial class HandlerMapping partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HandlerMapping /// /// 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 HandlerMapping /// /// 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/Functions/generated/api/Models/Api20190801/HostKeys.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostKeys.PowerShell.cs index 01a3f963e42d..b941a20dc8bb 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeys.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeys.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostKeys FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostKeys.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostKeys.TypeConverter.cs index 7cb32e520866..50bf9e6a6354 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeys.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeys.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HostKeysTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostKeys.json.cs b/src/Functions/generated/api/Models/Api20190801/HostKeys.json.cs index d4ba3678d3e9..da163c283c75 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeys.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeys.json.cs @@ -20,7 +20,7 @@ public partial class HostKeys partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostKeys /// /// 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 HostKeys /// /// 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/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.PowerShell.cs index 98c640fe021e..654e5f56055d 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostKeysFunctionKeys FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.TypeConverter.cs index 2d7859096953..67b7f25cfce2 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostKeysFunctionKeysTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.json.cs b/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.json.cs index ea55aee841b3..11ff53f2861f 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeysFunctionKeys.json.cs @@ -20,7 +20,7 @@ public partial class HostKeysFunctionKeys partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostKeysFunctionKeys /// /// 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 HostKeysFunctionKeys /// /// 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/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.PowerShell.cs index 26649429b6b9..c9e9ad6a8230 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostKeysSystemKeys FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.TypeConverter.cs index 88b849d6243a..685ccad30174 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostKeysSystemKeysTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.json.cs b/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.json.cs index 5af68316e20d..bc58cffadac0 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostKeysSystemKeys.json.cs @@ -20,7 +20,7 @@ public partial class HostKeysSystemKeys partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostKeysSystemKeys /// /// 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 HostKeysSystemKeys /// /// 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/Functions/generated/api/Models/Api20190801/HostName.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostName.PowerShell.cs index a4e5956f85ea..fec187453202 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostName.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostName.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostName FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostName.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostName.TypeConverter.cs index aa56cbfdde37..3b963da4a865 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostName.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostName.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HostNameTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostName.json.cs b/src/Functions/generated/api/Models/Api20190801/HostName.json.cs index 8e0c2738088e..3be0a82fdb5a 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostName.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostName.json.cs @@ -20,7 +20,7 @@ public partial class HostName partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostName /// /// 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 HostName /// /// 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/Functions/generated/api/Models/Api20190801/HostNameBinding.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.PowerShell.cs index bc922cf21402..757cb5802658 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostNameBinding FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.TypeConverter.cs index 1c52192c1c9f..dd00eb2206e3 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HostNameBindingTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.cs index aab3798fa14a..a87b04b62220 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.cs @@ -103,7 +103,7 @@ public HostNameBinding() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.json.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.json.cs index 0ed26cb84fc6..fbee2e0f9025 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBinding.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBinding.json.cs @@ -20,7 +20,7 @@ public partial class HostNameBinding partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostNameBinding /// /// 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 HostNameBinding /// /// 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/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.PowerShell.cs index 6014628a9b40..5b72a51552bd 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostNameBindingCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.TypeConverter.cs index 827b3be1503b..b33cb5760fc5 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostNameBindingCollectionTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.json.cs index 15fcb01f11fe..7064d7d5b4b2 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBindingCollection.json.cs @@ -20,7 +20,7 @@ public partial class HostNameBindingCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostNameBindingCollection /// /// 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 HostNameBindingCollection /// /// 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/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.PowerShell.cs index e181e00cf9ea..875c75df6513 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostNameBindingProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.TypeConverter.cs index 113092ba61c0..1b5c3cee04c2 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostNameBindingPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.json.cs index 7d9a2d8d5dfa..0beccd4fe183 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameBindingProperties.json.cs @@ -20,7 +20,7 @@ public partial class HostNameBindingProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostNameBindingProperties /// /// 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 HostNameBindingProperties /// /// 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/Functions/generated/api/Models/Api20190801/HostNameSslState.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostNameSslState.PowerShell.cs index c5f487f80e64..d5a5955252ed 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameSslState.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameSslState.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostNameSslState FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameSslState.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostNameSslState.TypeConverter.cs index 6128b4c69a79..25da272b91a8 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameSslState.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameSslState.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HostNameSslStateTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostNameSslState.json.cs b/src/Functions/generated/api/Models/Api20190801/HostNameSslState.json.cs index 80e474cd7f83..08002a9b1761 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostNameSslState.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostNameSslState.json.cs @@ -20,7 +20,7 @@ public partial class HostNameSslState partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostNameSslState /// /// 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 HostNameSslState /// /// 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/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.PowerShell.cs index 4badc1b2bf1e..67de7697f45c 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostingEnvironmentDeploymentInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.TypeConverter.cs index 89a5f9a1bd93..9ecfda666857 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostingEnvironmentDeploymentInfoTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.json.cs index 283a33b130af..c2515d4e72c7 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDeploymentInfo.json.cs @@ -20,7 +20,7 @@ public partial class HostingEnvironmentDeploymentInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostingEnvironmentDeploymentInfo /// /// 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 HostingEnvironmentDeploymentInfo /// /// 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/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.PowerShell.cs index 54afc37cd008..e6e205a916ee 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostingEnvironmentDiagnostics FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.TypeConverter.cs index 95ab2a98957b..baeec3b41173 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostingEnvironmentDiagnosticsTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.json.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.json.cs index 6415d80ccd94..066e6eab6d63 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentDiagnostics.json.cs @@ -20,7 +20,7 @@ public partial class HostingEnvironmentDiagnostics partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostingEnvironmentDiagnostics /// /// 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 HostingEnvironmentDiagnostics /// /// 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/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.PowerShell.cs index 62d3d75f30f9..b87b1f0532f2 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHostingEnvironmentProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.TypeConverter.cs index 9567542c065a..3872c541d061 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HostingEnvironmentProfileTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.json.cs b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.json.cs index be29a51fd12e..1f99e57ef634 100644 --- a/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HostingEnvironmentProfile.json.cs @@ -20,7 +20,7 @@ public partial class HostingEnvironmentProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HostingEnvironmentProfile /// /// 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 HostingEnvironmentProfile /// /// 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/Functions/generated/api/Models/Api20190801/HttpLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.PowerShell.cs index fcf13eb41fca..d0cc580494f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHttpLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.TypeConverter.cs index 583b1b9df01f..6a7a3faa4cba 100644 --- a/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HttpLogsConfigTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.json.cs index a62b9c9689e6..fb569807021d 100644 --- a/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HttpLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class HttpLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HttpLogsConfig /// /// 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 HttpLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnection.PowerShell.cs index 9e0ea1538785..b098e25dc163 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnection.TypeConverter.cs index 612c4035a883..b77a92cae926 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnection.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class HybridConnectionTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnection.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnection.cs index cc8a4599eccf..2511ccd0fcc7 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnection.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnection.cs @@ -103,7 +103,7 @@ public HybridConnection() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnection.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnection.json.cs index bf59192d9085..6b776b5f66c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnection.json.cs @@ -20,7 +20,7 @@ public partial class HybridConnection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnection /// /// 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 HybridConnection /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.PowerShell.cs index 45e305800153..df9805fe1e60 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnectionCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.TypeConverter.cs index b782ce70790a..75529ad26d86 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HybridConnectionCollectionTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.json.cs index 8c9b07205265..3dd7f44f84e1 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionCollection.json.cs @@ -20,7 +20,7 @@ public partial class HybridConnectionCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnectionCollection /// /// 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 HybridConnectionCollection /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnectionKey.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.PowerShell.cs index 1c7bfbe52443..3c483f6ac954 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnectionKey FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.TypeConverter.cs index e884cc783e32..a084b583c791 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HybridConnectionKeyTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.cs index fed900c155f4..147b6372d506 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.cs @@ -80,7 +80,7 @@ public HybridConnectionKey() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.json.cs index f4b4491eeb80..2002861d4cb6 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKey.json.cs @@ -22,7 +22,7 @@ public partial class HybridConnectionKey partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnectionKey /// /// 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 HybridConnectionKey /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.PowerShell.cs index 0612b88a43b4..599f7eb92dc3 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnectionKeyProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.TypeConverter.cs index 9cfa46a88f1f..239a6d328682 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HybridConnectionKeyPropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.json.cs index 166f068ca338..abdee4ba0214 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionKeyProperties.json.cs @@ -20,7 +20,7 @@ public partial class HybridConnectionKeyProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnectionKeyProperties /// /// 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 HybridConnectionKeyProperties /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.PowerShell.cs index 9cfa661e6ca5..33175fb8877b 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnectionLimits FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.TypeConverter.cs index 291b19a59889..bd6f6128f73f 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HybridConnectionLimitsTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.cs index 7521cd7f6c68..af317b544f44 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.cs @@ -80,7 +80,7 @@ public HybridConnectionLimits() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.json.cs index 051ef88e0a47..04479edf5aa5 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimits.json.cs @@ -22,7 +22,7 @@ public partial class HybridConnectionLimits partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnectionLimits /// /// 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 HybridConnectionLimits /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.PowerShell.cs index e9eb392ac1af..4779e6a9bb39 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnectionLimitsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.TypeConverter.cs index 26cefca89907..87cc8c8caea6 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HybridConnectionLimitsPropertiesTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.json.cs index 93b8fa457fc9..d80ff50415d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionLimitsProperties.json.cs @@ -20,7 +20,7 @@ public partial class HybridConnectionLimitsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnectionLimitsProperties /// /// 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 HybridConnectionLimitsProperties /// /// 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/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.PowerShell.cs index e6a9b9325afe..97f64f683622 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IH /// 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.Functions.Models.Api20190801.IHybridConnectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.TypeConverter.cs index c61af183d68d..653f25107a89 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class HybridConnectionPropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.json.cs index c036b9176b7d..2e00517c56a9 100644 --- a/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/HybridConnectionProperties.json.cs @@ -20,7 +20,7 @@ public partial class HybridConnectionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 HybridConnectionProperties /// /// 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 HybridConnectionProperties /// /// 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/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.PowerShell.cs index a8907c800c0f..b250c2e26167 100644 --- a/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.II /// 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.Functions.Models.Api20190801.IIPSecurityRestriction FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.TypeConverter.cs index 586aa33469c1..d266d75fa124 100644 --- a/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class IPSecurityRestrictionTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.json.cs b/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.json.cs index a7bb4701c0ee..810c847ceb7d 100644 --- a/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/IPSecurityRestriction.json.cs @@ -20,7 +20,7 @@ public partial class IPSecurityRestriction partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IPSecurityRestriction /// /// 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 IPSecurityRestriction /// /// 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/Functions/generated/api/Models/Api20190801/Identifier.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Identifier.PowerShell.cs index fffcd333447d..b4b4cfb1d89d 100644 --- a/src/Functions/generated/api/Models/Api20190801/Identifier.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Identifier.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.II /// 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.Functions.Models.Api20190801.IIdentifier FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Identifier.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Identifier.TypeConverter.cs index 3d4fc84a508a..107dd1eb0312 100644 --- a/src/Functions/generated/api/Models/Api20190801/Identifier.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Identifier.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class IdentifierTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Identifier.cs b/src/Functions/generated/api/Models/Api20190801/Identifier.cs index da0b86a75659..d9d4cf312b40 100644 --- a/src/Functions/generated/api/Models/Api20190801/Identifier.cs +++ b/src/Functions/generated/api/Models/Api20190801/Identifier.cs @@ -68,7 +68,7 @@ public Identifier() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Identifier.json.cs b/src/Functions/generated/api/Models/Api20190801/Identifier.json.cs index fb4ab2b5268f..51966c43808f 100644 --- a/src/Functions/generated/api/Models/Api20190801/Identifier.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Identifier.json.cs @@ -20,7 +20,7 @@ public partial class Identifier partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Identifier /// /// 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 Identifier /// /// 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/Functions/generated/api/Models/Api20190801/IdentifierCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.PowerShell.cs index 88f808675b5c..d80c3e3fdd1a 100644 --- a/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.II /// 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.Functions.Models.Api20190801.IIdentifierCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.TypeConverter.cs index 32020172b08c..320873bccb25 100644 --- a/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class IdentifierCollectionTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.json.cs index b2625be18476..eccc19d6cff2 100644 --- a/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/IdentifierCollection.json.cs @@ -20,7 +20,7 @@ public partial class IdentifierCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IdentifierCollection /// /// 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 IdentifierCollection /// /// 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/Functions/generated/api/Models/Api20190801/IdentifierProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.PowerShell.cs index f4b3f5390765..060d76b6efbd 100644 --- a/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.II /// 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.Functions.Models.Api20190801.IIdentifierProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.TypeConverter.cs index 7439942df8f2..d24cb903a2eb 100644 --- a/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class IdentifierPropertiesTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.json.cs index f3d9d1cc2808..93a83816eec7 100644 --- a/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/IdentifierProperties.json.cs @@ -20,7 +20,7 @@ public partial class IdentifierProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 IdentifierProperties /// /// 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 IdentifierProperties /// /// 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/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.PowerShell.cs index 5ad70372c93d..2c9e498fb5f7 100644 --- a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.PowerShell.cs @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.II /// 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.Functions.Models.Api20190801.IInboundEnvironmentEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.TypeConverter.cs index 92d5a426718b..6ce8236478c4 100644 --- a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class InboundEnvironmentEndpointTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.json.cs b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.json.cs index c599302deb70..44e503384627 100644 --- a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpoint.json.cs @@ -22,7 +22,7 @@ public partial class InboundEnvironmentEndpoint partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 InboundEnvironmentEndpoint /// /// 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 InboundEnvironmentEndpoint /// /// 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/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.PowerShell.cs index 7ce46bde057a..da4d93f697b1 100644 --- a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.II /// 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.Functions.Models.Api20190801.IInboundEnvironmentEndpointCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.TypeConverter.cs index be1e0473ff18..8b061eca4aa6 100644 --- a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class InboundEnvironmentEndpointCollectionTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.json.cs index 582f9f185a13..c47f71f45b83 100644 --- a/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/InboundEnvironmentEndpointCollection.json.cs @@ -20,7 +20,7 @@ public partial class InboundEnvironmentEndpointCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 InboundEnvironmentEndpointCollection /// /// 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 InboundEnvironmentEndpointCollection /// /// 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/Functions/generated/api/Models/Api20190801/KeyInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/KeyInfo.PowerShell.cs index f2b90aa802be..66133595987f 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IK /// 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.Functions.Models.Api20190801.IKeyInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/KeyInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/KeyInfo.TypeConverter.cs index 13985e80f250..58dd278bcbcf 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class KeyInfoTypeConverter : global::System.Management.Automation 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/KeyInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/KeyInfo.json.cs index ce34df10aa16..1c756150c1f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyInfo.json.cs @@ -20,7 +20,7 @@ public partial class KeyInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 KeyInfo /// /// 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 KeyInfo /// /// 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/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.PowerShell.cs index 749f94218bfb..b96e82b5ca99 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IK /// 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.Functions.Models.Api20190801.IKeyVaultReferenceCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.TypeConverter.cs index 7711dfacfff0..7a4aeae140da 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class KeyVaultReferenceCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.cs index d58f70c4c76f..39b7b70b07d3 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.cs @@ -68,7 +68,7 @@ public KeyVaultReferenceCollection() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.json.cs index 5315f57e40d4..01470c122280 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollection.json.cs @@ -20,7 +20,7 @@ public partial class KeyVaultReferenceCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 KeyVaultReferenceCollection /// /// 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 KeyVaultReferenceCollection /// /// 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/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.PowerShell.cs index 98ae405404ee..5a4fb95e276e 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IK /// 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.Functions.Models.Api20190801.IKeyVaultReferenceCollectionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.TypeConverter.cs index 3335287f61a8..e1ff86e2f40f 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class KeyVaultReferenceCollectionPropertiesTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.json.cs index 76757fbbbdbc..873a6b913aa2 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionProperties.json.cs @@ -20,7 +20,7 @@ public partial class KeyVaultReferenceCollectionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 KeyVaultReferenceCollectionProperties /// /// 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 KeyVaultReferenceCollectionProperties /// /// 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/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.PowerShell.cs index 091e1c3af9f0..3fce4263eda3 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IK /// 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.Functions.Models.Api20190801.IKeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.TypeConverter.cs index 00ac230497d7..5a450369cc14 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.json.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.json.cs index 5c4ab17cb93a..1b7311576cd1 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses.json.cs @@ -20,7 +20,7 @@ public partial class KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses /// /// 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 KeyVaultReferenceCollectionPropertiesKeyToReferenceStatuses /// /// 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/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.PowerShell.cs index 5979a9a9499d..efee7cdcf0d8 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IK /// 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.Functions.Models.Api20190801.IKeyVaultReferenceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.TypeConverter.cs index a8c270d9f9bc..026e0cd8b018 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class KeyVaultReferenceResourceTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.cs index 5e4d2eee598d..ad4fa4944122 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.cs @@ -92,7 +92,7 @@ public KeyVaultReferenceResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.json.cs b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.json.cs index 3a63a6230d48..540bf5275efb 100644 --- a/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/KeyVaultReferenceResource.json.cs @@ -20,7 +20,7 @@ public partial class KeyVaultReferenceResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 KeyVaultReferenceResource /// /// 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 KeyVaultReferenceResource /// /// 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/Functions/generated/api/Models/Api20190801/LocalizableString.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/LocalizableString.PowerShell.cs index 1c46367b6fa7..6708a2a9def6 100644 --- a/src/Functions/generated/api/Models/Api20190801/LocalizableString.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/LocalizableString.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IL /// 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.Functions.Models.Api20190801.ILocalizableString FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/LocalizableString.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/LocalizableString.TypeConverter.cs index 8a8bd1fa0b37..2a9491442ca8 100644 --- a/src/Functions/generated/api/Models/Api20190801/LocalizableString.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/LocalizableString.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class LocalizableStringTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/LocalizableString.json.cs b/src/Functions/generated/api/Models/Api20190801/LocalizableString.json.cs index 35f2b92429cb..f1b967dc38fb 100644 --- a/src/Functions/generated/api/Models/Api20190801/LocalizableString.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/LocalizableString.json.cs @@ -20,7 +20,7 @@ public partial class LocalizableString partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 LocalizableString /// /// 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 LocalizableString /// /// 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/Functions/generated/api/Models/Api20190801/LogSpecification.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/LogSpecification.PowerShell.cs index 324ccafc0599..4896564990ee 100644 --- a/src/Functions/generated/api/Models/Api20190801/LogSpecification.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/LogSpecification.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IL /// 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.Functions.Models.Api20190801.ILogSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/LogSpecification.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/LogSpecification.TypeConverter.cs index a9056f5931e8..4299ee16fa99 100644 --- a/src/Functions/generated/api/Models/Api20190801/LogSpecification.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/LogSpecification.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class LogSpecificationTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/LogSpecification.json.cs b/src/Functions/generated/api/Models/Api20190801/LogSpecification.json.cs index 9e4001d7985f..2dd83e56ec3e 100644 --- a/src/Functions/generated/api/Models/Api20190801/LogSpecification.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/LogSpecification.json.cs @@ -20,7 +20,7 @@ public partial class LogSpecification partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 LogSpecification /// /// 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 LogSpecification /// /// 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/Functions/generated/api/Models/Api20190801/MSDeploy.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeploy.PowerShell.cs index b25d8ba65f88..fddb3c036799 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeploy.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeploy.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeploy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeploy.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeploy.TypeConverter.cs index 09fd094908ce..4ab2be73e1eb 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeploy.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeploy.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class MSDeployTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeploy.cs b/src/Functions/generated/api/Models/Api20190801/MSDeploy.cs index 0237f38b4850..b37c53b5ba7f 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeploy.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeploy.cs @@ -100,7 +100,7 @@ public MSDeploy() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeploy.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeploy.json.cs index 08a9e9bfe82f..f564d7a81c5e 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeploy.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeploy.json.cs @@ -20,7 +20,7 @@ public partial class MSDeploy partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeploy /// /// 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 MSDeploy /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployCore.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployCore.PowerShell.cs index 4770a2ec3123..62085530d099 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployCore.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployCore.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployCore FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployCore.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployCore.TypeConverter.cs index d28fea829071..29fb0c839060 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployCore.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployCore.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class MSDeployCoreTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployCore.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployCore.json.cs index 364cdb7ca516..517877eb288b 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployCore.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployCore.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployCore partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployCore /// /// 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 MSDeployCore /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.PowerShell.cs index 7afdb36e6ca1..f24a49710aa3 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployCoreSetParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.TypeConverter.cs index c4059fb6790d..ece8f53eba3f 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MSDeployCoreSetParametersTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.json.cs index 3e39346ff18d..adba2160fbd7 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployCoreSetParameters.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployCoreSetParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployCoreSetParameters /// /// 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 MSDeployCoreSetParameters /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployLog.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.PowerShell.cs index f2821d076119..4119920d5e15 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployLog FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.TypeConverter.cs index 3988c2f153be..08e3a6b954a8 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class MSDeployLogTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.cs index 4a49e3b92171..02206e5f62eb 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.cs @@ -71,7 +71,7 @@ public MSDeployLog() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.json.cs index a0bf4e021ecc..8c73546895e6 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLog.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLog.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployLog partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployLog /// /// 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 MSDeployLog /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.PowerShell.cs index a3d5ee86638f..2862df6172ab 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployLogEntry FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.TypeConverter.cs index f9ca84a1df12..9c75ad0ff874 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class MSDeployLogEntryTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.json.cs index 00abc75e07ef..a74688d86674 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLogEntry.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployLogEntry partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployLogEntry /// /// 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 MSDeployLogEntry /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.PowerShell.cs index 1f3d830a31f3..080c3eaaaef5 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployLogProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.TypeConverter.cs index 6c9942ce9cf8..0fa90d3f7fdf 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MSDeployLogPropertiesTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.json.cs index cda08faf7781..30e70b984741 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployLogProperties.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployLogProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployLogProperties /// /// 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 MSDeployLogProperties /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployStatus.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.PowerShell.cs index 46ff38e510eb..584b3671df83 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployStatus FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.TypeConverter.cs index 59740e9a2304..d2531df09f2b 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class MSDeployStatusTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.cs index 6557c0f2276b..41e3c693c2c0 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.cs @@ -99,7 +99,7 @@ public MSDeployStatus() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.json.cs index ca7ac5fd7369..6dda5ac41b11 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatus.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployStatus partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployStatus /// /// 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 MSDeployStatus /// /// 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/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.PowerShell.cs index a779fb343540..c1fd978bd18a 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMSDeployStatusProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.TypeConverter.cs index 8d0b22631311..b1d0a3ee9d95 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MSDeployStatusPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.json.cs index 42e4a65ce065..fa90078dc3a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MSDeployStatusProperties.json.cs @@ -20,7 +20,7 @@ public partial class MSDeployStatusProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MSDeployStatusProperties /// /// 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 MSDeployStatusProperties /// /// 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/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.PowerShell.cs index c3c3371279c6..8c1b3a5d1c6d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IManagedServiceIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.TypeConverter.cs index bc3fa1e077d8..72ca8b44c8d8 100644 --- a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ManagedServiceIdentityTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.json.cs b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.json.cs index a200007acbf2..9c1fb025db6f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentity.json.cs @@ -20,7 +20,7 @@ public partial class ManagedServiceIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagedServiceIdentity /// /// 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 ManagedServiceIdentity /// /// 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/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.PowerShell.cs index ddc85ae4b859..7de7f58aa1a0 100644 --- a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.PowerShell.cs @@ -88,7 +88,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.TypeConverter.cs index 0f1e20fe7853..d1bad94e4b30 100644 --- a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ManagedServiceIdentityUserAssignedIdentitiesTypeConverter : 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.json.cs b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.json.cs index 50101a191860..28b66e3dd7d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ManagedServiceIdentityUserAssignedIdentities.json.cs @@ -23,7 +23,7 @@ public partial class ManagedServiceIdentityUserAssignedIdentities partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ManagedServiceIdentityUserAssignedIdentities /// /// 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 ManagedServiceIdentityUserAssignedIdentities /// /// 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/Functions/generated/api/Models/Api20190801/MetricAvailability.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MetricAvailability.PowerShell.cs index a375e8961ad9..cf55895c1f2d 100644 --- a/src/Functions/generated/api/Models/Api20190801/MetricAvailability.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MetricAvailability.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMetricAvailability FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MetricAvailability.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MetricAvailability.TypeConverter.cs index 4eff734c3d12..f9573dc7d5f7 100644 --- a/src/Functions/generated/api/Models/Api20190801/MetricAvailability.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MetricAvailability.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MetricAvailabilityTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MetricAvailability.json.cs b/src/Functions/generated/api/Models/Api20190801/MetricAvailability.json.cs index 4510f82b182a..d01c5eba0a57 100644 --- a/src/Functions/generated/api/Models/Api20190801/MetricAvailability.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MetricAvailability.json.cs @@ -20,7 +20,7 @@ public partial class MetricAvailability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MetricAvailability /// /// 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 MetricAvailability /// /// 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/Functions/generated/api/Models/Api20190801/MetricSpecification.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MetricSpecification.PowerShell.cs index 518a4e0956ae..2d95b3a3b5c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/MetricSpecification.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MetricSpecification.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMetricSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MetricSpecification.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MetricSpecification.TypeConverter.cs index 31cde6f47800..95e9ecad42c5 100644 --- a/src/Functions/generated/api/Models/Api20190801/MetricSpecification.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MetricSpecification.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MetricSpecificationTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MetricSpecification.json.cs b/src/Functions/generated/api/Models/Api20190801/MetricSpecification.json.cs index 0df33aa671ba..8b3dd3135643 100644 --- a/src/Functions/generated/api/Models/Api20190801/MetricSpecification.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MetricSpecification.json.cs @@ -20,7 +20,7 @@ public partial class MetricSpecification partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MetricSpecification /// /// 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 MetricSpecification /// /// 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/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.PowerShell.cs index c659682c2f83..76dc61a1e642 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMigrateMySqlRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.TypeConverter.cs index 3c36fd2c7875..bae1d62eaebb 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MigrateMySqlRequestTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.cs index 8cb3d0687891..01946e349913 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.cs @@ -72,7 +72,7 @@ public MigrateMySqlRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.json.cs index e787c5c0eb35..1d6a00c6f464 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequest.json.cs @@ -20,7 +20,7 @@ public partial class MigrateMySqlRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MigrateMySqlRequest /// /// 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 MigrateMySqlRequest /// /// 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/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.PowerShell.cs index 7437684fadca..eb90cdea2919 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMigrateMySqlRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.TypeConverter.cs index a8f2e1256652..56ca4c87f0f5 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MigrateMySqlRequestPropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.json.cs index 075d27dead08..da50b0fe416f 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class MigrateMySqlRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MigrateMySqlRequestProperties /// /// 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 MigrateMySqlRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.PowerShell.cs index 3d79da059ebb..31d0c6a49b3e 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMigrateMySqlStatus FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.TypeConverter.cs index 491316a40fc7..188c0f12839e 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MigrateMySqlStatusTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.cs index 92f246d4c915..79a31cfb2843 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.cs @@ -85,7 +85,7 @@ public MigrateMySqlStatus() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.json.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.json.cs index fc1149bc5dcf..c0c59fe49114 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatus.json.cs @@ -20,7 +20,7 @@ public partial class MigrateMySqlStatus partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MigrateMySqlStatus /// /// 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 MigrateMySqlStatus /// /// 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/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.PowerShell.cs index 84b72a662a64..333a91e49997 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IM /// 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.Functions.Models.Api20190801.IMigrateMySqlStatusProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.TypeConverter.cs index 9267380d26e7..3ce797aabfee 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class MigrateMySqlStatusPropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.json.cs index a12d8dbbf25b..d5747e060163 100644 --- a/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/MigrateMySqlStatusProperties.json.cs @@ -20,7 +20,7 @@ public partial class MigrateMySqlStatusProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 MigrateMySqlStatusProperties /// /// 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 MigrateMySqlStatusProperties /// /// 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/Functions/generated/api/Models/Api20190801/NameIdentifier.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NameIdentifier.PowerShell.cs index d4a08fd79e89..4feed793af2c 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameIdentifier.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameIdentifier.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INameIdentifier FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NameIdentifier.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NameIdentifier.TypeConverter.cs index fdb0579835ec..de81ebb9b4ac 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameIdentifier.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameIdentifier.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class NameIdentifierTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NameIdentifier.json.cs b/src/Functions/generated/api/Models/Api20190801/NameIdentifier.json.cs index 58a24377bdbe..e8b6ecaa610f 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameIdentifier.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameIdentifier.json.cs @@ -20,7 +20,7 @@ public partial class NameIdentifier partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NameIdentifier /// /// 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 NameIdentifier /// /// 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/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.PowerShell.cs index d3dd459573d8..ab312d084ebe 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INameIdentifierCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.TypeConverter.cs index 1682d957e41d..21a22626a7b8 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class NameIdentifierCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.json.cs index aa7c9b11eeef..5b4ce91bc9c0 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameIdentifierCollection.json.cs @@ -20,7 +20,7 @@ public partial class NameIdentifierCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NameIdentifierCollection /// /// 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 NameIdentifierCollection /// /// 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/Functions/generated/api/Models/Api20190801/NameValuePair.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NameValuePair.PowerShell.cs index be12058302f8..54bc06cc9c12 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameValuePair.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameValuePair.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INameValuePair FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NameValuePair.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NameValuePair.TypeConverter.cs index 6bd5956c1850..b73e176ecf98 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameValuePair.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameValuePair.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class NameValuePairTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NameValuePair.json.cs b/src/Functions/generated/api/Models/Api20190801/NameValuePair.json.cs index 6d24b6381ba8..fe332821d7b4 100644 --- a/src/Functions/generated/api/Models/Api20190801/NameValuePair.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NameValuePair.json.cs @@ -20,7 +20,7 @@ public partial class NameValuePair partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NameValuePair /// /// 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 NameValuePair /// /// 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/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.PowerShell.cs index 50dc51e808dc..257bef7e6b9e 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INetworkAccessControlEntry FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.TypeConverter.cs index dbfb99109b00..011dd3be0f0c 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class NetworkAccessControlEntryTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.json.cs b/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.json.cs index 70920ae67c58..94fc87b523ab 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkAccessControlEntry.json.cs @@ -20,7 +20,7 @@ public partial class NetworkAccessControlEntry partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NetworkAccessControlEntry /// /// 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 NetworkAccessControlEntry /// /// 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/Functions/generated/api/Models/Api20190801/NetworkFeatures.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.PowerShell.cs index 7272462cb7da..4fc14e977d09 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INetworkFeatures FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.TypeConverter.cs index b00a095b5969..e5db41ad0853 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class NetworkFeaturesTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.cs index c821573ae679..5627e12266d1 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.cs @@ -160,7 +160,7 @@ public NetworkFeatures() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.json.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.json.cs index 3c90cf831f24..5924d79aa87d 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeatures.json.cs @@ -22,7 +22,7 @@ public partial class NetworkFeatures partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NetworkFeatures /// /// 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 NetworkFeatures /// /// 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/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.PowerShell.cs index 5d644369da12..03738c765b4b 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INetworkFeaturesProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.TypeConverter.cs index 686c4f88938a..0cc91f8fa363 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class NetworkFeaturesPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.json.cs index e1950d6764a2..1d093da14500 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkFeaturesProperties.json.cs @@ -20,7 +20,7 @@ public partial class NetworkFeaturesProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NetworkFeaturesProperties /// /// 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 NetworkFeaturesProperties /// /// 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/Functions/generated/api/Models/Api20190801/NetworkTrace.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/NetworkTrace.PowerShell.cs index 59e9adcdfdd5..c3cfd5f2411d 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkTrace.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkTrace.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IN /// 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.Functions.Models.Api20190801.INetworkTrace FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkTrace.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/NetworkTrace.TypeConverter.cs index 2df949cbed1f..d3c2fb3f6be3 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkTrace.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkTrace.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class NetworkTraceTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/NetworkTrace.json.cs b/src/Functions/generated/api/Models/Api20190801/NetworkTrace.json.cs index bd772c7adff1..ab20885bca1b 100644 --- a/src/Functions/generated/api/Models/Api20190801/NetworkTrace.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/NetworkTrace.json.cs @@ -20,7 +20,7 @@ public partial class NetworkTrace partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 NetworkTrace /// /// 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 NetworkTrace /// /// 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/Functions/generated/api/Models/Api20190801/Operation.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Operation.PowerShell.cs index acbecd19686b..a6302e451bc0 100644 --- a/src/Functions/generated/api/Models/Api20190801/Operation.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Operation.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IO /// 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.Functions.Models.Api20190801.IOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Operation.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Operation.TypeConverter.cs index d57a2fb2bdeb..cf6bc79fd78a 100644 --- a/src/Functions/generated/api/Models/Api20190801/Operation.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Operation.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class OperationTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Operation.json.cs b/src/Functions/generated/api/Models/Api20190801/Operation.json.cs index a41736f54312..42220dfba404 100644 --- a/src/Functions/generated/api/Models/Api20190801/Operation.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Operation.json.cs @@ -20,7 +20,7 @@ public partial class Operation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Operation /// /// 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 Operation /// /// 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/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.PowerShell.cs index 030f16e76fc0..af9ab124f36c 100644 --- a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.PowerShell.cs @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IO /// 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.Functions.Models.Api20190801.IOutboundEnvironmentEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.TypeConverter.cs index 0ae09ce9d272..e3c132262a39 100644 --- a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class OutboundEnvironmentEndpointTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.json.cs b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.json.cs index 43a54d3a73d3..8e6375068c8a 100644 --- a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpoint.json.cs @@ -22,7 +22,7 @@ public partial class OutboundEnvironmentEndpoint partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OutboundEnvironmentEndpoint /// /// 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 OutboundEnvironmentEndpoint /// /// 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/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.PowerShell.cs index 1b71e0a81f8b..e30440aa0155 100644 --- a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IO /// 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.Functions.Models.Api20190801.IOutboundEnvironmentEndpointCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.TypeConverter.cs index a9c49a2abed4..97d74f00bd75 100644 --- a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class OutboundEnvironmentEndpointCollectionTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.json.cs index 50aeb83de81a..4247af649f1d 100644 --- a/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/OutboundEnvironmentEndpointCollection.json.cs @@ -20,7 +20,7 @@ public partial class OutboundEnvironmentEndpointCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 OutboundEnvironmentEndpointCollection /// /// 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 OutboundEnvironmentEndpointCollection /// /// 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/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.PowerShell.cs index a8bf580fa5e6..cb29e3e7fd71 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPerfMonCounterCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.TypeConverter.cs index f8fb19150fcd..80f5f847afd6 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PerfMonCounterCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.json.cs index 5c1f6941f169..e6f685fca790 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonCounterCollection.json.cs @@ -20,7 +20,7 @@ public partial class PerfMonCounterCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PerfMonCounterCollection /// /// 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 PerfMonCounterCollection /// /// 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/Functions/generated/api/Models/Api20190801/PerfMonResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.PowerShell.cs index eeb8b198b942..f8d2da8df5e0 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPerfMonResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.TypeConverter.cs index 83ff1a7e2659..e6d1839adac8 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PerfMonResponseTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.json.cs index f4414f5b8a2f..0415e974aa07 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonResponse.json.cs @@ -20,7 +20,7 @@ public partial class PerfMonResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PerfMonResponse /// /// 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 PerfMonResponse /// /// 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/Functions/generated/api/Models/Api20190801/PerfMonSample.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonSample.PowerShell.cs index 2c020b11efaf..586b9572a6e9 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonSample.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonSample.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPerfMonSample FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonSample.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonSample.TypeConverter.cs index 28553f0aa50b..96e51a377a46 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonSample.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonSample.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PerfMonSampleTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonSample.json.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonSample.json.cs index 0faf4a9d85a5..6878572e883f 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonSample.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonSample.json.cs @@ -20,7 +20,7 @@ public partial class PerfMonSample partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PerfMonSample /// /// 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 PerfMonSample /// /// 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/Functions/generated/api/Models/Api20190801/PerfMonSet.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonSet.PowerShell.cs index 729dfb75db89..8545f4e10956 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonSet.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonSet.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPerfMonSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonSet.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonSet.TypeConverter.cs index 01ed804c189f..de8f8d40f2a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonSet.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonSet.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PerfMonSetTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PerfMonSet.json.cs b/src/Functions/generated/api/Models/Api20190801/PerfMonSet.json.cs index 088de24f48e2..d654be304b66 100644 --- a/src/Functions/generated/api/Models/Api20190801/PerfMonSet.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PerfMonSet.json.cs @@ -20,7 +20,7 @@ public partial class PerfMonSet partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PerfMonSet /// /// 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 PerfMonSet /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOn.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.PowerShell.cs index b2474d17aa0b..19c2213181a1 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOn FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.TypeConverter.cs index 184a640d71e0..df34eca2809b 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PremierAddOnTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.cs index 4073115ce45b..bdd485536b13 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.cs @@ -92,7 +92,7 @@ public PremierAddOn() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.json.cs index bccdaa8465ad..c01953bc50ed 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOn.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOn.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOn partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOn /// /// 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 PremierAddOn /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.PowerShell.cs index 4818e30266a2..97129b4b85b0 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOnOffer FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.TypeConverter.cs index 5d6a871e5c2c..888d88fb0cdb 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PremierAddOnOfferTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.cs index 0e418aa0e7da..d43faaf026d0 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.cs @@ -104,7 +104,7 @@ public PremierAddOnOffer() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.json.cs index e890a43c4100..e874450750a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOffer.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOnOffer partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOnOffer /// /// 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 PremierAddOnOffer /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.PowerShell.cs index 52b056813632..50bc67e2374c 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOnOfferCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.TypeConverter.cs index 04a712ca328c..e4a52a1acf9d 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PremierAddOnOfferCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.json.cs index c1e3b08bf50c..eec4ab5b59e0 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferCollection.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOnOfferCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOnOfferCollection /// /// 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 PremierAddOnOfferCollection /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.PowerShell.cs index 2962997b0b3c..0286ab9b8486 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOnOfferProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.TypeConverter.cs index 4c447951a530..df5f90c8832d 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PremierAddOnOfferPropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.json.cs index cc18d6ef63b0..76fe04c2be48 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnOfferProperties.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOnOfferProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOnOfferProperties /// /// 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 PremierAddOnOfferProperties /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.PowerShell.cs index e0825b887b3b..b5bcbda52bb7 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOnPatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.TypeConverter.cs index d560848fd0ba..b19c4ee5aa7e 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PremierAddOnPatchResourceTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.cs index 0065ee344b03..2da3c970c1fc 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.cs @@ -84,7 +84,7 @@ public PremierAddOnPatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.json.cs index 82cdeba6f569..db41eb0f2c2b 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResource.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOnPatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOnPatchResource /// /// 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 PremierAddOnPatchResource /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.PowerShell.cs index d5386cdd5887..0f931297767b 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOnPatchResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.TypeConverter.cs index d898ba1880ac..6206a7dea2a3 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PremierAddOnPatchResourcePropertiesTypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.json.cs index 83fb3d023372..776ca80a6ab9 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnPatchResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOnPatchResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOnPatchResourceProperties /// /// 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 PremierAddOnPatchResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.PowerShell.cs index fcd62d3960cc..aaff1b75da01 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPremierAddOnProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.TypeConverter.cs index 4f16861883a5..7ab3cc19d2a8 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PremierAddOnPropertiesTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.json.cs index 78014c7ba8b4..d8684371753c 100644 --- a/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PremierAddOnProperties.json.cs @@ -20,7 +20,7 @@ public partial class PremierAddOnProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PremierAddOnProperties /// /// 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 PremierAddOnProperties /// /// 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/Functions/generated/api/Models/Api20190801/PrivateAccess.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.PowerShell.cs index 0bcc8f07de7c..3b2b3ff72c75 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateAccess FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.TypeConverter.cs index 31bd50ba705a..67e55bd1e01c 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PrivateAccessTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.cs index 9e0973d3e3d9..10a20c84cb93 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.cs @@ -72,7 +72,7 @@ public PrivateAccess() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.json.cs index 2ddf54279c89..63e42f2b4127 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccess.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccess.json.cs @@ -20,7 +20,7 @@ public partial class PrivateAccess partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateAccess /// /// 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 PrivateAccess /// /// 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/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.PowerShell.cs index 150894bba297..5c20ad9b0470 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateAccessProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.TypeConverter.cs index 68f72f01d9ae..60d67ae8ea3e 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateAccessPropertiesTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.json.cs index f4423ab840b5..1da801e69533 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessProperties.json.cs @@ -20,7 +20,7 @@ public partial class PrivateAccessProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateAccessProperties /// /// 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 PrivateAccessProperties /// /// 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/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.PowerShell.cs index 95cf2a1833f6..d473a3959177 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateAccessSubnet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.TypeConverter.cs index 0487709bbe29..772a2330036c 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateAccessSubnetTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.json.cs index 0d85c175e61a..8658700caf9a 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessSubnet.json.cs @@ -22,7 +22,7 @@ public partial class PrivateAccessSubnet partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateAccessSubnet /// /// 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 PrivateAccessSubnet /// /// 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/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.PowerShell.cs index b0b0c9196db0..1f1fc4e0aa6c 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateAccessVirtualNetwork FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.TypeConverter.cs index 0e1ca1a77266..5b044eed13fd 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateAccessVirtualNetworkTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.json.cs index 7de13af0d0f0..9d36eb147190 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateAccessVirtualNetwork.json.cs @@ -20,7 +20,7 @@ public partial class PrivateAccessVirtualNetwork partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateAccessVirtualNetwork /// /// 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 PrivateAccessVirtualNetwork /// /// 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/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.PowerShell.cs index c51597e3692c..98b08c986665 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateEndpointConnectionResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.TypeConverter.cs index 105349979987..7b760e70b84b 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateEndpointConnectionResourceTypeConverter : global::Sy 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.cs b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.cs index 550c9bbb99d7..866f1092ec9c 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.cs @@ -94,7 +94,7 @@ public PrivateEndpointConnectionResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.json.cs index a262d1da1303..54e60c193e68 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateEndpointConnectionResource.json.cs @@ -20,7 +20,7 @@ public partial class PrivateEndpointConnectionResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateEndpointConnectionResource /// /// 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 PrivateEndpointConnectionResource /// /// 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/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.PowerShell.cs index 4c6815e4096c..63765cd3d4fe 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateLinkConnectionApprovalRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.TypeConverter.cs index cc7a14099acf..c1cdb6b6140b 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class PrivateLinkConnectionApprovalRequestTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.json.cs index 360a9183f4b8..2d68ce75be5b 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequest.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkConnectionApprovalRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateLinkConnectionApprovalRequest /// /// 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 PrivateLinkConnectionApprovalRequest /// /// 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/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.PowerShell.cs index 842142a45f2a..31b274931888 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateLinkConnectionApprovalRequestResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.TypeConverter.cs index d51357cbaa14..e02832fc0d7a 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class PrivateLinkConnectionApprovalRequestResourceTypeConverter : 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.cs index 1988629f292f..9b27cdb6dfdf 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.cs @@ -81,7 +81,7 @@ public PrivateLinkConnectionApprovalRequestResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.json.cs index 638930dd67f4..fcb623d6b898 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionApprovalRequestResource.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkConnectionApprovalRequestResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateLinkConnectionApprovalRequestResource /// /// 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 PrivateLinkConnectionApprovalRequestResource /// /// 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/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.PowerShell.cs index 0a3d4dfe802e..8ac82a4b7afe 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateLinkConnectionState FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.TypeConverter.cs index fe080f68a749..82ab74ae7130 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateLinkConnectionStateTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.json.cs index ba1aeba778ad..b18e7ed1c1b7 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkConnectionState.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkConnectionState partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateLinkConnectionState /// /// 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 PrivateLinkConnectionState /// /// 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/Functions/generated/api/Models/Api20190801/PrivateLinkResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.PowerShell.cs index fe83331b76cc..218df251ad19 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateLinkResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.TypeConverter.cs index 472ce18898a0..6448e1b47c71 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateLinkResourceTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.json.cs index 1d3694dd68da..bc9572a1b600 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResource.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.PowerShell.cs index fe8374d33996..0542f4c7133e 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateLinkResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.TypeConverter.cs index 7db6958506b0..6faaa3ee7ac1 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateLinkResourcePropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.json.cs index 51ca72172dc4..9ce858caf021 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateLinkResourceProperties /// /// 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 PrivateLinkResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.PowerShell.cs index f9b58ed0f7a4..c45fb8e1b022 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPrivateLinkResourcesWrapper FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.TypeConverter.cs index 256d51af0b9f..2a5277f00b0f 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PrivateLinkResourcesWrapperTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.json.cs b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.json.cs index edea26dca335..88b44061494d 100644 --- a/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PrivateLinkResourcesWrapper.json.cs @@ -20,7 +20,7 @@ public partial class PrivateLinkResourcesWrapper partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PrivateLinkResourcesWrapper /// /// 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 PrivateLinkResourcesWrapper /// /// 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/Functions/generated/api/Models/Api20190801/ProcessInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.PowerShell.cs index da86c190659b..25d03b6dc1f0 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.TypeConverter.cs index 0f6b0f366037..ee9759e5a469 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ProcessInfoTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.cs index 5d159f66947b..2810827f593c 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.cs @@ -211,7 +211,7 @@ public ProcessInfo() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.json.cs index fd86a30eb1ac..be37181fc44f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfo.json.cs @@ -20,7 +20,7 @@ public partial class ProcessInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessInfo /// /// 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 ProcessInfo /// /// 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/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.PowerShell.cs index 4ee7e9c48fc8..1b5fec896da0 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessInfoCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.TypeConverter.cs index 52effd5b8f98..5d7cd780a7f5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ProcessInfoCollectionTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.json.cs index c214df1948b6..9ce7e165e5af 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoCollection.json.cs @@ -20,7 +20,7 @@ public partial class ProcessInfoCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessInfoCollection /// /// 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 ProcessInfoCollection /// /// 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/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.PowerShell.cs index 1a21c2a22e1a..2d7593d066f1 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessInfoProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.TypeConverter.cs index 9fe7d38e8eea..52ec24ae936c 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ProcessInfoPropertiesTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.json.cs index 7227ae945ce9..ebb0c0c4d4b6 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoProperties.json.cs @@ -20,7 +20,7 @@ public partial class ProcessInfoProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessInfoProperties /// /// 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 ProcessInfoProperties /// /// 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/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.PowerShell.cs index 555ec39d6259..6525131c8c34 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessInfoPropertiesEnvironmentVariables FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.TypeConverter.cs index 72a4f6d7ccae..3b11b7681bf7 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ProcessInfoPropertiesEnvironmentVariablesTypeConverter : gl 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.json.cs index 7e40d78f6d4d..3b35b7b796a4 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessInfoPropertiesEnvironmentVariables.json.cs @@ -20,7 +20,7 @@ public partial class ProcessInfoPropertiesEnvironmentVariables partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessInfoPropertiesEnvironmentVariables /// /// 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 ProcessInfoPropertiesEnvironmentVariables /// /// 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/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.PowerShell.cs index 32a1f61da618..1e3328a89cb0 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessModuleInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.TypeConverter.cs index c1231de00f0e..46e6a1b572da 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ProcessModuleInfoTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.cs index fce181854795..b242d8ef0b97 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.cs @@ -108,7 +108,7 @@ public ProcessModuleInfo() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.json.cs index 79836c95fb11..9b7eb9121660 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfo.json.cs @@ -20,7 +20,7 @@ public partial class ProcessModuleInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessModuleInfo /// /// 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 ProcessModuleInfo /// /// 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/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.PowerShell.cs index cd837c74a428..90e65f8dbe28 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessModuleInfoCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.TypeConverter.cs index 03d618c82fbc..142478f4f02d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ProcessModuleInfoCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.json.cs index 6a2605a85bad..6f51fdf264f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoCollection.json.cs @@ -20,7 +20,7 @@ public partial class ProcessModuleInfoCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessModuleInfoCollection /// /// 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 ProcessModuleInfoCollection /// /// 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/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.PowerShell.cs index f1f57d18ee8b..0ba33585efe5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessModuleInfoProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.TypeConverter.cs index 0536a3cce6ac..66f409b850bd 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ProcessModuleInfoPropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.json.cs index dd7e3801c3a2..325ae97e8fa5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessModuleInfoProperties.json.cs @@ -20,7 +20,7 @@ public partial class ProcessModuleInfoProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessModuleInfoProperties /// /// 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 ProcessModuleInfoProperties /// /// 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/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.PowerShell.cs index 87b743a094fe..35f0ed8ada40 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessThreadInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.TypeConverter.cs index da90ce08bb2b..3a34099dc645 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ProcessThreadInfoTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.cs index c787af3721a3..1f5d328e922f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.cs @@ -115,7 +115,7 @@ public ProcessThreadInfo() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.json.cs index f7c64a440162..6592e33b25e8 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfo.json.cs @@ -20,7 +20,7 @@ public partial class ProcessThreadInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessThreadInfo /// /// 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 ProcessThreadInfo /// /// 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/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.PowerShell.cs index d3bfefbe1741..98ff70e2f0b7 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessThreadInfoCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.TypeConverter.cs index 3ed7128e50c5..220c240441c5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ProcessThreadInfoCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.json.cs index 6ca0160a62ae..e4f6383ec632 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoCollection.json.cs @@ -20,7 +20,7 @@ public partial class ProcessThreadInfoCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessThreadInfoCollection /// /// 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 ProcessThreadInfoCollection /// /// 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/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.PowerShell.cs index fa4d97c5b58c..3d8c4fac5dda 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProcessThreadInfoProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.TypeConverter.cs index 6802362d86da..94b69970f381 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ProcessThreadInfoPropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.json.cs index fa0af52b0fbc..d00533767f04 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProcessThreadInfoProperties.json.cs @@ -20,7 +20,7 @@ public partial class ProcessThreadInfoProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProcessThreadInfoProperties /// /// 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 ProcessThreadInfoProperties /// /// 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/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.PowerShell.cs index 0e57f43dccff..560e02770449 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IProxyOnlyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.TypeConverter.cs index 92b30f6cfe6f..feaab73e1a9d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ProxyOnlyResourceTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.json.cs b/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.json.cs index 8df069c12986..96376e75d47d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ProxyOnlyResource.json.cs @@ -22,7 +22,7 @@ public partial class ProxyOnlyResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ProxyOnlyResource /// /// 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 ProxyOnlyResource /// /// 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/Functions/generated/api/Models/Api20190801/PublicCertificate.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.PowerShell.cs index 188128aff543..e742442911de 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPublicCertificate FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.TypeConverter.cs index 60fa9a8cf268..e2a762025262 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PublicCertificateTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.cs index f8491b2886fa..e1fe4675c549 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.cs @@ -79,7 +79,7 @@ public PublicCertificate() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.json.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.json.cs index f361b50f4c36..874a6028ae0f 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificate.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificate.json.cs @@ -20,7 +20,7 @@ public partial class PublicCertificate partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PublicCertificate /// /// 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 PublicCertificate /// /// 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/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.PowerShell.cs index 2fd863467bfe..4304be0a4b9d 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPublicCertificateCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.TypeConverter.cs index dff8ccee9eee..b89b788e50d7 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PublicCertificateCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.json.cs index b0f2465a50e8..448c5b3669c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificateCollection.json.cs @@ -20,7 +20,7 @@ public partial class PublicCertificateCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PublicCertificateCollection /// /// 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 PublicCertificateCollection /// /// 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/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.PowerShell.cs index 33ccc8aceaba..28808b4dacd1 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPublicCertificateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.TypeConverter.cs index 1af077c00225..f77568b4d6fb 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PublicCertificatePropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.json.cs index 273f1a2849c5..aa11ff7ab9cb 100644 --- a/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PublicCertificateProperties.json.cs @@ -20,7 +20,7 @@ public partial class PublicCertificateProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PublicCertificateProperties /// /// 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 PublicCertificateProperties /// /// 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/Functions/generated/api/Models/Api20190801/PushSettings.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PushSettings.PowerShell.cs index 4b8d7fb7e455..0dd8569e4663 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettings.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettings.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPushSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PushSettings.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PushSettings.TypeConverter.cs index 016f52cf5613..1117cf4279b5 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettings.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettings.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class PushSettingsTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PushSettings.cs b/src/Functions/generated/api/Models/Api20190801/PushSettings.cs index e8a4a99f7125..0b111206f7bf 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettings.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettings.cs @@ -91,7 +91,7 @@ public PushSettings() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/PushSettings.json.cs b/src/Functions/generated/api/Models/Api20190801/PushSettings.json.cs index 3e75efca07fd..6fc58b385e22 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettings.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettings.json.cs @@ -20,7 +20,7 @@ public partial class PushSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PushSettings /// /// 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 PushSettings /// /// 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/Functions/generated/api/Models/Api20190801/PushSettingsProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.PowerShell.cs index 08d65d03bb72..0aa2f6d5fb6d 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IP /// 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.Functions.Models.Api20190801.IPushSettingsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.TypeConverter.cs index 1abc92e5bd50..289f8b05fd80 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class PushSettingsPropertiesTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.json.cs index 42c04053a9ab..19697ba54b53 100644 --- a/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/PushSettingsProperties.json.cs @@ -20,7 +20,7 @@ public partial class PushSettingsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 PushSettingsProperties /// /// 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 PushSettingsProperties /// /// 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/Functions/generated/api/Models/Api20190801/RampUpRule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RampUpRule.PowerShell.cs index 306c3804533a..ae2cc115bbb3 100644 --- a/src/Functions/generated/api/Models/Api20190801/RampUpRule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RampUpRule.PowerShell.cs @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRampUpRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RampUpRule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RampUpRule.TypeConverter.cs index 9b8610ef53df..6b7b920297a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/RampUpRule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RampUpRule.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class RampUpRuleTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RampUpRule.json.cs b/src/Functions/generated/api/Models/Api20190801/RampUpRule.json.cs index cc203cdc49e3..2c7604d7cdc3 100644 --- a/src/Functions/generated/api/Models/Api20190801/RampUpRule.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RampUpRule.json.cs @@ -23,7 +23,7 @@ public partial class RampUpRule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RampUpRule /// /// 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 RampUpRule /// /// 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/Functions/generated/api/Models/Api20190801/Recommendation.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Recommendation.PowerShell.cs index c66d4a3d3053..6ee26cb6740a 100644 --- a/src/Functions/generated/api/Models/Api20190801/Recommendation.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Recommendation.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRecommendation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Recommendation.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Recommendation.TypeConverter.cs index 09357bda3ea5..a108a2e8ed9c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Recommendation.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Recommendation.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class RecommendationTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Recommendation.cs b/src/Functions/generated/api/Models/Api20190801/Recommendation.cs index 2964f9e5f0fb..72f0510a5a7a 100644 --- a/src/Functions/generated/api/Models/Api20190801/Recommendation.cs +++ b/src/Functions/generated/api/Models/Api20190801/Recommendation.cs @@ -169,7 +169,7 @@ public Recommendation() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Recommendation.json.cs b/src/Functions/generated/api/Models/Api20190801/Recommendation.json.cs index 349c5f146742..06429fc9532b 100644 --- a/src/Functions/generated/api/Models/Api20190801/Recommendation.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Recommendation.json.cs @@ -20,7 +20,7 @@ public partial class Recommendation partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Recommendation /// /// 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 Recommendation /// /// 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/Functions/generated/api/Models/Api20190801/RecommendationCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.PowerShell.cs index cc43a6701cfb..acb7db163b88 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRecommendationCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.TypeConverter.cs index 2996fce210fd..752649b8cadd 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RecommendationCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.json.cs index f8fb145af66b..aecd2ebad260 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationCollection.json.cs @@ -20,7 +20,7 @@ public partial class RecommendationCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RecommendationCollection /// /// 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 RecommendationCollection /// /// 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/Functions/generated/api/Models/Api20190801/RecommendationProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.PowerShell.cs index df507d6c61c0..2759a8390366 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRecommendationProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.TypeConverter.cs index 3147ac7c37d5..565bd069811d 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RecommendationPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.json.cs index 02cfa8d838ca..88f49fea734d 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationProperties.json.cs @@ -20,7 +20,7 @@ public partial class RecommendationProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RecommendationProperties /// /// 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 RecommendationProperties /// /// 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/Functions/generated/api/Models/Api20190801/RecommendationRule.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.PowerShell.cs index d1c1a6fb6969..13259ab6565d 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRecommendationRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.TypeConverter.cs index dee203c44a91..8b33a33781db 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RecommendationRuleTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.cs index d6b2bde73ba5..22f3877c32a1 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.cs @@ -124,7 +124,7 @@ public RecommendationRule() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.json.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.json.cs index 04fdac554c67..c53b12de461c 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRule.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRule.json.cs @@ -20,7 +20,7 @@ public partial class RecommendationRule partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RecommendationRule /// /// 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 RecommendationRule /// /// 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/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.PowerShell.cs index 8f8268268044..263dccaf8666 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRecommendationRuleProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.TypeConverter.cs index 74d8b49c235f..7531d458498a 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RecommendationRulePropertiesTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.json.cs index 436bada02b5c..8d5c764896b4 100644 --- a/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RecommendationRuleProperties.json.cs @@ -20,7 +20,7 @@ public partial class RecommendationRuleProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RecommendationRuleProperties /// /// 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 RecommendationRuleProperties /// /// 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/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.PowerShell.cs index 6f295f166aaf..bcdf1efcde10 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IReissueCertificateOrderRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.TypeConverter.cs index b57291fc8588..9979398a324d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ReissueCertificateOrderRequestTypeConverter : global::Syste 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.cs index d0d963369867..bc95679f0985 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.cs @@ -84,7 +84,7 @@ public ReissueCertificateOrderRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.json.cs index ef4e53a6496e..f304928a8e37 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequest.json.cs @@ -20,7 +20,7 @@ public partial class ReissueCertificateOrderRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ReissueCertificateOrderRequest /// /// 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 ReissueCertificateOrderRequest /// /// 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/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.PowerShell.cs index 8c04e4761974..24968688fef9 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IReissueCertificateOrderRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.TypeConverter.cs index 5591ffcd2643..30289cddd8a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class ReissueCertificateOrderRequestPropertiesTypeConverter : glo 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.json.cs index 53df44f390fa..89e00484b1cf 100644 --- a/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ReissueCertificateOrderRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class ReissueCertificateOrderRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ReissueCertificateOrderRequestProperties /// /// 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 ReissueCertificateOrderRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.PowerShell.cs index fc7a374e5bc8..1ca34041cee8 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRelayServiceConnectionEntity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.TypeConverter.cs index 1990c9c45997..b80aad415b24 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RelayServiceConnectionEntityTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.cs index 3d823c5dfbee..efba947b2945 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.cs @@ -85,7 +85,7 @@ public RelayServiceConnectionEntity() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.json.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.json.cs index 0953ea2fe594..6b01ceeaf342 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntity.json.cs @@ -20,7 +20,7 @@ public partial class RelayServiceConnectionEntity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RelayServiceConnectionEntity /// /// 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 RelayServiceConnectionEntity /// /// 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/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.PowerShell.cs index 7f5745d77b55..aa2fa366d7a3 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRelayServiceConnectionEntityProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.TypeConverter.cs index 640ebbc2b26d..8452e2a3600b 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class RelayServiceConnectionEntityPropertiesTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.json.cs index c185bfc914f9..ea5e1305a27c 100644 --- a/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RelayServiceConnectionEntityProperties.json.cs @@ -20,7 +20,7 @@ public partial class RelayServiceConnectionEntityProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RelayServiceConnectionEntityProperties /// /// 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 RelayServiceConnectionEntityProperties /// /// 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/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.PowerShell.cs index d4432f471342..1b13cc057603 100644 --- a/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRemotePrivateEndpointConnection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.TypeConverter.cs index 22f0f055e9a4..38eba38023fd 100644 --- a/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RemotePrivateEndpointConnectionTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.json.cs b/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.json.cs index 117a6faad934..8c1497830569 100644 --- a/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RemotePrivateEndpointConnection.json.cs @@ -20,7 +20,7 @@ public partial class RemotePrivateEndpointConnection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RemotePrivateEndpointConnection /// /// 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 RemotePrivateEndpointConnection /// /// 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/Functions/generated/api/Models/Api20190801/Rendering.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Rendering.PowerShell.cs index 8ae1718f8499..dae0de31baf4 100644 --- a/src/Functions/generated/api/Models/Api20190801/Rendering.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Rendering.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRendering FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Rendering.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Rendering.TypeConverter.cs index 146c92710e4c..ee4de49dcba5 100644 --- a/src/Functions/generated/api/Models/Api20190801/Rendering.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Rendering.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class RenderingTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Rendering.json.cs b/src/Functions/generated/api/Models/Api20190801/Rendering.json.cs index cbc61e154985..5561483f3378 100644 --- a/src/Functions/generated/api/Models/Api20190801/Rendering.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Rendering.json.cs @@ -20,7 +20,7 @@ public partial class Rendering partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Rendering /// /// 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 Rendering /// /// 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/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.PowerShell.cs index 1bac5f733948..c7485268cde3 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRenewCertificateOrderRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.TypeConverter.cs index e7f8c04cc12e..a1a68cf8cd28 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RenewCertificateOrderRequestTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.cs index 82f8ef9b29dd..694858addc37 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.cs @@ -78,7 +78,7 @@ public RenewCertificateOrderRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.json.cs index 4602bdb6b375..d2225a04e41e 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequest.json.cs @@ -20,7 +20,7 @@ public partial class RenewCertificateOrderRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RenewCertificateOrderRequest /// /// 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 RenewCertificateOrderRequest /// /// 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/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.PowerShell.cs index a6b481fbfc1d..aa4e1d7536b2 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRenewCertificateOrderRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.TypeConverter.cs index ef77da76ae74..31788263dd1b 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class RenewCertificateOrderRequestPropertiesTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.json.cs index 9559ba2562bf..bf7e5765c521 100644 --- a/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RenewCertificateOrderRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class RenewCertificateOrderRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RenewCertificateOrderRequestProperties /// /// 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 RenewCertificateOrderRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.PowerShell.cs index a517999592f2..0a95a134b8e2 100644 --- a/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRequestsBasedTrigger FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.TypeConverter.cs index 3f3f7f9ce8d8..c2df63ec7912 100644 --- a/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RequestsBasedTriggerTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.json.cs b/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.json.cs index 04a04e4d07ca..d432774b75be 100644 --- a/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RequestsBasedTrigger.json.cs @@ -20,7 +20,7 @@ public partial class RequestsBasedTrigger partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RequestsBasedTrigger /// /// 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 RequestsBasedTrigger /// /// 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/Functions/generated/api/Models/Api20190801/Resource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Resource.PowerShell.cs index 1648f20340ea..8a30b2876c2f 100644 --- a/src/Functions/generated/api/Models/Api20190801/Resource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Resource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Resource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Resource.TypeConverter.cs index 510177a248b7..9dbbca63ae27 100644 --- a/src/Functions/generated/api/Models/Api20190801/Resource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Resource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ResourceTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Resource.json.cs b/src/Functions/generated/api/Models/Api20190801/Resource.json.cs index 141e2ee0fb79..419aa85953fb 100644 --- a/src/Functions/generated/api/Models/Api20190801/Resource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Resource.json.cs @@ -20,7 +20,7 @@ public partial class Resource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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/Functions/generated/api/Models/Api20190801/ResourceCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceCollection.PowerShell.cs index 181eaac3917d..1e47dd8aed08 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceCollection.TypeConverter.cs index 8c23f64ff21b..7a18d5d647d7 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceCollectionTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceCollection.json.cs index 5572ebf76cd4..1e11c3c6eb04 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceCollection.json.cs @@ -20,7 +20,7 @@ public partial class ResourceCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceCollection /// /// 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 ResourceCollection /// /// 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/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.PowerShell.cs index d17f9837a92e..91a75c5731c1 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceHealthMetadata FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.TypeConverter.cs index 81ab686811b7..9940f92ec850 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceHealthMetadataTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.cs index a336519a6312..715fdec9b3dd 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.cs @@ -72,7 +72,7 @@ public ResourceHealthMetadata() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.json.cs index 05e7a8f0be1b..2a41e55baef3 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadata.json.cs @@ -20,7 +20,7 @@ public partial class ResourceHealthMetadata partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceHealthMetadata /// /// 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 ResourceHealthMetadata /// /// 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/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.PowerShell.cs index 59d5507c8133..162eb592d51f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceHealthMetadataCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.TypeConverter.cs index c27ba8a27b9b..c74ad79dbbf2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceHealthMetadataCollectionTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.json.cs index db53a22fcae4..80218ddb2b5f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataCollection.json.cs @@ -20,7 +20,7 @@ public partial class ResourceHealthMetadataCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceHealthMetadataCollection /// /// 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 ResourceHealthMetadataCollection /// /// 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/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.PowerShell.cs index 144fc3aa39ed..fdc5343bf256 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceHealthMetadataProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.TypeConverter.cs index 8d707d7c1e72..2b6edfb05aaa 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceHealthMetadataPropertiesTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.json.cs index 4021f1ae5848..75ddfd496514 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceHealthMetadataProperties.json.cs @@ -20,7 +20,7 @@ public partial class ResourceHealthMetadataProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceHealthMetadataProperties /// /// 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 ResourceHealthMetadataProperties /// /// 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/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.PowerShell.cs index b0aec6ff578c..4d44eaed4468 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceMetricAvailability FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.TypeConverter.cs index e9c03c49a732..6f272df29325 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceMetricAvailabilityTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.json.cs index c8b06eb0306b..05a9e1ba6ac9 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricAvailability.json.cs @@ -20,7 +20,7 @@ public partial class ResourceMetricAvailability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceMetricAvailability /// /// 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 ResourceMetricAvailability /// /// 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/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.PowerShell.cs index df40ab43a1d7..bfda28905325 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceMetricDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.TypeConverter.cs index 8cb44368e80b..256767b0b807 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceMetricDefinitionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.cs index 80ac4524a052..2092d8e0a295 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.cs @@ -99,7 +99,7 @@ public ResourceMetricDefinition() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.json.cs index be8476fb22e5..f0f807555b6f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinition.json.cs @@ -20,7 +20,7 @@ public partial class ResourceMetricDefinition partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceMetricDefinition /// /// 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 ResourceMetricDefinition /// /// 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/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.PowerShell.cs index 8780f49e2cdc..de3415d463c2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceMetricDefinitionCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.TypeConverter.cs index 28b138176739..a9a13659ab98 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceMetricDefinitionCollectionTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.json.cs index df9db2cfeb73..b20d13611ed2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionCollection.json.cs @@ -20,7 +20,7 @@ public partial class ResourceMetricDefinitionCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceMetricDefinitionCollection /// /// 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 ResourceMetricDefinitionCollection /// /// 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/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.PowerShell.cs index 57200091ccce..f5d0c71c4fd9 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceMetricDefinitionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.TypeConverter.cs index 45c0a99fb093..d7aa2c0d11e0 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceMetricDefinitionPropertiesTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.json.cs index d5099360ba8e..442aa6ce81bd 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties.json.cs @@ -20,7 +20,7 @@ public partial class ResourceMetricDefinitionProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceMetricDefinitionProperties /// /// 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 ResourceMetricDefinitionProperties /// /// 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/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.PowerShell.cs index 68697bf633f5..a1663c122e51 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceMetricDefinitionProperties1 FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.TypeConverter.cs index 565afe721b56..01e92804769a 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceMetricDefinitionProperties1TypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.json.cs index 253bea515979..c7ad4ab8a2fb 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceMetricDefinitionProperties1.json.cs @@ -20,7 +20,7 @@ public partial class ResourceMetricDefinitionProperties1 partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceMetricDefinitionProperties1 /// /// 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 ResourceMetricDefinitionProperties1 /// /// 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/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.PowerShell.cs index 6398b83db53b..4c30172ea9e9 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceNameAvailability FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.TypeConverter.cs index 914d6354b736..f79bd484da5b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceNameAvailabilityTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.json.cs index 801ff5d820c5..f5242673dfa2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailability.json.cs @@ -20,7 +20,7 @@ public partial class ResourceNameAvailability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceNameAvailability /// /// 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 ResourceNameAvailability /// /// 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/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.PowerShell.cs index 760ae671d17e..a1aaff47c045 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceNameAvailabilityRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.TypeConverter.cs index cfd0f0d76935..5ce4110a875f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ResourceNameAvailabilityRequestTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.json.cs index 2a5c5437a402..49cb7553ff75 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceNameAvailabilityRequest.json.cs @@ -20,7 +20,7 @@ public partial class ResourceNameAvailabilityRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResourceNameAvailabilityRequest /// /// 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 ResourceNameAvailabilityRequest /// /// 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/Functions/generated/api/Models/Api20190801/ResourceTags.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResourceTags.PowerShell.cs index 16dc262c5054..1a9f7bef924d 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceTags.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceTags.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceTags.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResourceTags.TypeConverter.cs index 81a0a198cff0..b9cc3f9e0845 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceTags.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceTags.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ResourceTagsTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResourceTags.json.cs b/src/Functions/generated/api/Models/Api20190801/ResourceTags.json.cs index c1e3ac93dcab..500a79bafd58 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResourceTags.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResourceTags.json.cs @@ -20,7 +20,7 @@ public partial class ResourceTags partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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/Functions/generated/api/Models/Api20190801/ResponseMetaData.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.PowerShell.cs index c01d53383a96..c8fe13d0aab4 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.PowerShell.cs @@ -81,7 +81,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IResponseMetaData FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.TypeConverter.cs index 23ccbd780414..a410264466cf 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ResponseMetaDataTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.json.cs b/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.json.cs index f7c5d495461c..e49622f54b25 100644 --- a/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ResponseMetaData.json.cs @@ -19,7 +19,7 @@ public partial class ResponseMetaData partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ResponseMetaData /// /// 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 ResponseMetaData /// /// 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/Functions/generated/api/Models/Api20190801/RestoreRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.PowerShell.cs index 8f36b45c6b20..09087ad3f759 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.TypeConverter.cs index a4ed3d28d7d0..79b990962593 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class RestoreRequestTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.cs index 83fcd38bde90..c3f8e6d0d8b3 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.cs @@ -121,7 +121,7 @@ public RestoreRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.json.cs index f57d2e04e594..28b1827c165b 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequest.json.cs @@ -20,7 +20,7 @@ public partial class RestoreRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RestoreRequest /// /// 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 RestoreRequest /// /// 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/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.PowerShell.cs index bfae12d33ec1..fab42cb5596f 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IR /// 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.Functions.Models.Api20190801.IRestoreRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.TypeConverter.cs index 1ee1b21515e8..ca0c44a0e440 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class RestoreRequestPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.json.cs index 54edfb7c8f00..784e4df469dc 100644 --- a/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/RestoreRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class RestoreRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 RestoreRequestProperties /// /// 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 RestoreRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/ServiceSpecification.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.PowerShell.cs index 9aad95167cb5..0e6156b302db 100644 --- a/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IServiceSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.TypeConverter.cs index ad8745c9b782..614dd7d60dd9 100644 --- a/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ServiceSpecificationTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.json.cs b/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.json.cs index bb6ab30c53f2..1e243f7ff3fe 100644 --- a/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ServiceSpecification.json.cs @@ -20,7 +20,7 @@ public partial class ServiceSpecification partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ServiceSpecification /// /// 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 ServiceSpecification /// /// 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/Functions/generated/api/Models/Api20190801/Site.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Site.PowerShell.cs index 9c803aa083e6..71bf20228846 100644 --- a/src/Functions/generated/api/Models/Api20190801/Site.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Site.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISite FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Site.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Site.TypeConverter.cs index c1a9df3f8285..229057509162 100644 --- a/src/Functions/generated/api/Models/Api20190801/Site.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Site.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteTypeConverter : global::System.Management.Automation.PS 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Site.cs b/src/Functions/generated/api/Models/Api20190801/Site.cs index 372f019516b2..5e21f0a88150 100644 --- a/src/Functions/generated/api/Models/Api20190801/Site.cs +++ b/src/Functions/generated/api/Models/Api20190801/Site.cs @@ -437,7 +437,7 @@ public Site() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Site.json.cs b/src/Functions/generated/api/Models/Api20190801/Site.json.cs index 09df253e2377..01a207352ff3 100644 --- a/src/Functions/generated/api/Models/Api20190801/Site.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Site.json.cs @@ -20,7 +20,7 @@ public partial class Site partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Site /// /// 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 Site /// /// 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/Functions/generated/api/Models/Api20190801/SiteAuthSettings.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.PowerShell.cs index f1003ed729a5..d8442a51120e 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteAuthSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.TypeConverter.cs index 0194c4a4aaed..29faef302682 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteAuthSettingsTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.cs index c3d2007f9081..af67d068fd52 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.cs @@ -260,7 +260,7 @@ public SiteAuthSettings() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.json.cs index 474f21b522e3..0d7fd63b6510 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettings.json.cs @@ -22,7 +22,7 @@ public partial class SiteAuthSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteAuthSettings /// /// 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 SiteAuthSettings /// /// 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/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.PowerShell.cs index f8dbced4bf29..cb60d2c8cb26 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteAuthSettingsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.TypeConverter.cs index bde301ddb8a5..9f564db137f9 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteAuthSettingsPropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.json.cs index f014aace7ea5..f71daf443f07 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteAuthSettingsProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteAuthSettingsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteAuthSettingsProperties /// /// 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 SiteAuthSettingsProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteCloneability.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteCloneability.PowerShell.cs index 3008d01f8300..d7226d344b09 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteCloneability.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteCloneability.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteCloneability FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteCloneability.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteCloneability.TypeConverter.cs index 4da9dd057382..fe527c870541 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteCloneability.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteCloneability.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteCloneabilityTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteCloneability.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteCloneability.json.cs index 63234ff0ca7a..8e1c4e86099a 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteCloneability.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteCloneability.json.cs @@ -20,7 +20,7 @@ public partial class SiteCloneability partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteCloneability /// /// 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 SiteCloneability /// /// 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/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.PowerShell.cs index abf07537ca04..e15ca1fd9eb9 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteCloneabilityCriterion FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.TypeConverter.cs index 8a7912940562..7a44064d5fcf 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteCloneabilityCriterionTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.json.cs index 6efb73cccff9..58926a83539f 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteCloneabilityCriterion.json.cs @@ -20,7 +20,7 @@ public partial class SiteCloneabilityCriterion partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteCloneabilityCriterion /// /// 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 SiteCloneabilityCriterion /// /// 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/Functions/generated/api/Models/Api20190801/SiteConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfig.PowerShell.cs index 2a3f9b6b223c..f8d1ca51f81d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfig.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -187,6 +187,14 @@ internal SiteConfig(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).HttpLoggingEnabled = (bool?) content.GetValueForProperty("HttpLoggingEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).HttpLoggingEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("AcrUseManagedIdentityCred")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUseManagedIdentityCred = (bool?) content.GetValueForProperty("AcrUseManagedIdentityCred",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUseManagedIdentityCred, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AcrUserManagedIdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUserManagedIdentityId = (string) content.GetValueForProperty("AcrUserManagedIdentityId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUserManagedIdentityId, global::System.Convert.ToString); + } if (content.Contains("LogsDirectorySizeLimit")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).LogsDirectorySizeLimit = (int?) content.GetValueForProperty("LogsDirectorySizeLimit",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).LogsDirectorySizeLimit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); @@ -572,6 +580,14 @@ internal SiteConfig(global::System.Management.Automation.PSObject content) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).HttpLoggingEnabled = (bool?) content.GetValueForProperty("HttpLoggingEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).HttpLoggingEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("AcrUseManagedIdentityCred")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUseManagedIdentityCred = (bool?) content.GetValueForProperty("AcrUseManagedIdentityCred",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUseManagedIdentityCred, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AcrUserManagedIdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUserManagedIdentityId = (string) content.GetValueForProperty("AcrUserManagedIdentityId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).AcrUserManagedIdentityId, global::System.Convert.ToString); + } if (content.Contains("LogsDirectorySizeLimit")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).LogsDirectorySizeLimit = (int?) content.GetValueForProperty("LogsDirectorySizeLimit",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)this).LogsDirectorySizeLimit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfig.TypeConverter.cs index e84fc0e6e022..79941b25e575 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfig.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteConfigTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfig.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfig.cs index 3826aec98a6e..55dac2a22844 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfig.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfig.cs @@ -13,6 +13,20 @@ public partial class SiteConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal { + /// Backing field for property. + private bool? _acrUseManagedIdentityCred; + + /// Flag to use Managed Identity Creds for ACR pull + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public bool? AcrUseManagedIdentityCred { get => this._acrUseManagedIdentityCred; set => this._acrUseManagedIdentityCred = value; } + + /// Backing field for property. + private string _acrUserManagedIdentityId; + + /// If using user managed identity, the user managed identity ClientId + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Owned)] + public string AcrUserManagedIdentityId { get => this._acrUserManagedIdentityId; set => this._acrUserManagedIdentityId = value; } + /// /// Minimum time the process must execute /// before taking the action @@ -611,6 +625,22 @@ public SiteConfig() public partial interface ISiteConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable { + /// Flag to use Managed Identity Creds for ACR pull + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(bool) })] + bool? AcrUseManagedIdentityCred { get; set; } + /// If using user managed identity, the user managed identity ClientId + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + string AcrUserManagedIdentityId { get; set; } /// /// Minimum time the process must execute /// before taking the action @@ -1277,6 +1307,10 @@ public partial interface ISiteConfig : internal partial interface ISiteConfigInternal { + /// Flag to use Managed Identity Creds for ACR pull + bool? AcrUseManagedIdentityCred { get; set; } + /// If using user managed identity, the user managed identity ClientId + string AcrUserManagedIdentityId { get; set; } /// Custom action to be taken. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAutoHealCustomAction ActionCustomAction { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfig.json.cs index d528f3ad1bdd..1d92fd0368d5 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfig.json.cs @@ -20,7 +20,7 @@ public partial class SiteConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteConfig /// /// 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 SiteConfig /// /// 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. @@ -97,6 +99,8 @@ internal SiteConfig(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.Js {_remoteDebuggingEnabled = If( json?.PropertyT("remoteDebuggingEnabled"), out var __jsonRemoteDebuggingEnabled) ? (bool?)__jsonRemoteDebuggingEnabled : RemoteDebuggingEnabled;} {_remoteDebuggingVersion = If( json?.PropertyT("remoteDebuggingVersion"), out var __jsonRemoteDebuggingVersion) ? (string)__jsonRemoteDebuggingVersion : (string)RemoteDebuggingVersion;} {_httpLoggingEnabled = If( json?.PropertyT("httpLoggingEnabled"), out var __jsonHttpLoggingEnabled) ? (bool?)__jsonHttpLoggingEnabled : HttpLoggingEnabled;} + {_acrUseManagedIdentityCred = If( json?.PropertyT("acrUseManagedIdentityCreds"), out var __jsonAcrUseManagedIdentityCreds) ? (bool?)__jsonAcrUseManagedIdentityCreds : AcrUseManagedIdentityCred;} + {_acrUserManagedIdentityId = If( json?.PropertyT("acrUserManagedIdentityID"), out var __jsonAcrUserManagedIdentityId) ? (string)__jsonAcrUserManagedIdentityId : (string)AcrUserManagedIdentityId;} {_logsDirectorySizeLimit = If( json?.PropertyT("logsDirectorySizeLimit"), out var __jsonLogsDirectorySizeLimit) ? (int?)__jsonLogsDirectorySizeLimit : LogsDirectorySizeLimit;} {_detailedErrorLoggingEnabled = If( json?.PropertyT("detailedErrorLoggingEnabled"), out var __jsonDetailedErrorLoggingEnabled) ? (bool?)__jsonDetailedErrorLoggingEnabled : DetailedErrorLoggingEnabled;} {_publishingUsername = If( json?.PropertyT("publishingUsername"), out var __jsonPublishingUsername) ? (string)__jsonPublishingUsername : (string)PublishingUsername;} @@ -185,6 +189,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode ToJson AddIf( null != this._remoteDebuggingEnabled ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._remoteDebuggingEnabled) : null, "remoteDebuggingEnabled" ,container.Add ); AddIf( null != (((object)this._remoteDebuggingVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._remoteDebuggingVersion.ToString()) : null, "remoteDebuggingVersion" ,container.Add ); AddIf( null != this._httpLoggingEnabled ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._httpLoggingEnabled) : null, "httpLoggingEnabled" ,container.Add ); + AddIf( null != this._acrUseManagedIdentityCred ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._acrUseManagedIdentityCred) : null, "acrUseManagedIdentityCreds" ,container.Add ); + AddIf( null != (((object)this._acrUserManagedIdentityId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._acrUserManagedIdentityId.ToString()) : null, "acrUserManagedIdentityID" ,container.Add ); AddIf( null != this._logsDirectorySizeLimit ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNumber((int)this._logsDirectorySizeLimit) : null, "logsDirectorySizeLimit" ,container.Add ); AddIf( null != this._detailedErrorLoggingEnabled ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonBoolean((bool)this._detailedErrorLoggingEnabled) : null, "detailedErrorLoggingEnabled" ,container.Add ); AddIf( null != (((object)this._publishingUsername)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonString(this._publishingUsername.ToString()) : null, "publishingUsername" ,container.Add ); diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.PowerShell.cs index 39d77bfcbeb7..0dfb92506016 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteConfigResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// @@ -215,6 +215,14 @@ internal SiteConfigResource(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).HttpLoggingEnabled = (bool?) content.GetValueForProperty("HttpLoggingEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).HttpLoggingEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("AcrUseManagedIdentityCred")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUseManagedIdentityCred = (bool?) content.GetValueForProperty("AcrUseManagedIdentityCred",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUseManagedIdentityCred, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AcrUserManagedIdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUserManagedIdentityId = (string) content.GetValueForProperty("AcrUserManagedIdentityId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUserManagedIdentityId, global::System.Convert.ToString); + } if (content.Contains("LogsDirectorySizeLimit")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).LogsDirectorySizeLimit = (int?) content.GetValueForProperty("LogsDirectorySizeLimit",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).LogsDirectorySizeLimit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); @@ -620,6 +628,14 @@ internal SiteConfigResource(global::System.Management.Automation.PSObject conten { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).HttpLoggingEnabled = (bool?) content.GetValueForProperty("HttpLoggingEnabled",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).HttpLoggingEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } + if (content.Contains("AcrUseManagedIdentityCred")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUseManagedIdentityCred = (bool?) content.GetValueForProperty("AcrUseManagedIdentityCred",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUseManagedIdentityCred, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("AcrUserManagedIdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUserManagedIdentityId = (string) content.GetValueForProperty("AcrUserManagedIdentityId",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).AcrUserManagedIdentityId, global::System.Convert.ToString); + } if (content.Contains("LogsDirectorySizeLimit")) { ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).LogsDirectorySizeLimit = (int?) content.GetValueForProperty("LogsDirectorySizeLimit",((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResourceInternal)this).LogsDirectorySizeLimit, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.TypeConverter.cs index eda235e47ab1..a78cbcbdeb48 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteConfigResourceTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.cs index e31e23f47b86..2797a8ea3a46 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.cs @@ -19,6 +19,14 @@ public partial class SiteConfigResource : /// private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResource __proxyOnlyResource = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ProxyOnlyResource(); + /// Flag to use Managed Identity Creds for ACR pull + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public bool? AcrUseManagedIdentityCred { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)Property).AcrUseManagedIdentityCred; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)Property).AcrUseManagedIdentityCred = value ?? default(bool); } + + /// If using user managed identity, the user managed identity ClientId + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Origin(Microsoft.Azure.PowerShell.Cmdlets.Functions.PropertyOrigin.Inlined)] + public string AcrUserManagedIdentityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)Property).AcrUserManagedIdentityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigInternal)Property).AcrUserManagedIdentityId = value ?? null; } + /// /// Minimum time the process must execute /// before taking the action @@ -455,7 +463,7 @@ public SiteConfigResource() /// 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.Functions.Runtime.IEventListener eventListener) { @@ -468,6 +476,22 @@ public partial interface ISiteConfigResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable, Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResource { + /// Flag to use Managed Identity Creds for ACR pull + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(bool) })] + bool? AcrUseManagedIdentityCred { get; set; } + /// If using user managed identity, the user managed identity ClientId + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + string AcrUserManagedIdentityId { get; set; } /// /// Minimum time the process must execute /// before taking the action @@ -1134,6 +1158,10 @@ public partial interface ISiteConfigResource : internal partial interface ISiteConfigResourceInternal : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IProxyOnlyResourceInternal { + /// Flag to use Managed Identity Creds for ACR pull + bool? AcrUseManagedIdentityCred { get; set; } + /// If using user managed identity, the user managed identity ClientId + string AcrUserManagedIdentityId { get; set; } /// Custom action to be taken. Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAutoHealCustomAction ActionCustomAction { get; set; } /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.json.cs index dfdcf0ae897f..db91a158b1c1 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResource.json.cs @@ -20,7 +20,7 @@ public partial class SiteConfigResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteConfigResource /// /// 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 SiteConfigResource /// /// 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/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.PowerShell.cs index 3e2a6f72a3cf..2a1aa26fe7b4 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteConfigResourceCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.TypeConverter.cs index 7005835aaff3..3e624e689f63 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteConfigResourceCollectionTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.json.cs index aaa37441a47a..b4227c6b0c90 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigResourceCollection.json.cs @@ -20,7 +20,7 @@ public partial class SiteConfigResourceCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteConfigResourceCollection /// /// 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 SiteConfigResourceCollection /// /// 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/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.PowerShell.cs index a76c7dbf9cfc..0bff29df1123 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.TypeConverter.cs index e5f94170c8e1..f0f8c35f3246 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteConfigurationSnapshotInfoTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.cs index eea2591b9298..2d79670e011d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.cs @@ -78,7 +78,7 @@ public SiteConfigurationSnapshotInfo() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.json.cs index 07660c0db7a3..b646526acbda 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfo.json.cs @@ -20,7 +20,7 @@ public partial class SiteConfigurationSnapshotInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteConfigurationSnapshotInfo /// /// 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 SiteConfigurationSnapshotInfo /// /// 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/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.PowerShell.cs index e013679945b0..21539c1fc6f2 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.PowerShell.cs @@ -87,7 +87,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfoCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.TypeConverter.cs index b0bb3f559930..78dd3be88f5c 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class SiteConfigurationSnapshotInfoCollectionTypeConverter : glob 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.json.cs index 67054404c6b6..336431f55f48 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoCollection.json.cs @@ -22,7 +22,7 @@ public partial class SiteConfigurationSnapshotInfoCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteConfigurationSnapshotInfoCollection /// /// 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 SiteConfigurationSnapshotInfoCollection /// /// 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/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.PowerShell.cs index 2f810e8c1052..203c96435200 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfoProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.TypeConverter.cs index 28461b99a8f8..ddac216d8ab4 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class SiteConfigurationSnapshotInfoPropertiesTypeConverter : glob 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.json.cs index 7a979a0a7501..2fd3a8679b56 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteConfigurationSnapshotInfoProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteConfigurationSnapshotInfoProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteConfigurationSnapshotInfoProperties /// /// 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 SiteConfigurationSnapshotInfoProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.PowerShell.cs index 563dc448afd3..73091394ebc7 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteExtensionInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.TypeConverter.cs index 11c73fb9757b..378ddea9cfcc 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteExtensionInfoTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.cs index f4eaeb324ef8..4e3064136c7c 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.cs @@ -145,7 +145,7 @@ public SiteExtensionInfo() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.json.cs index a33b989cc5fa..4b53be1d65b1 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfo.json.cs @@ -20,7 +20,7 @@ public partial class SiteExtensionInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteExtensionInfo /// /// 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 SiteExtensionInfo /// /// 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/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.PowerShell.cs index e9106e375ace..46e1a1ba1ef4 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteExtensionInfoCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.TypeConverter.cs index d03112d7d05e..92e80d61710d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteExtensionInfoCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.json.cs index be53f1c8baf0..8e68fe738725 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoCollection.json.cs @@ -20,7 +20,7 @@ public partial class SiteExtensionInfoCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteExtensionInfoCollection /// /// 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 SiteExtensionInfoCollection /// /// 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/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.PowerShell.cs index ba771f31253d..9b66a4eda6a8 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteExtensionInfoProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.TypeConverter.cs index 93e9aff798ba..a6e8a1d2da68 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteExtensionInfoPropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.json.cs index fdb0473c5cff..1cf1279b60a1 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteExtensionInfoProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteExtensionInfoProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteExtensionInfoProperties /// /// 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 SiteExtensionInfoProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteInstance.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstance.PowerShell.cs index 2b0d67f6421f..d1c5344500f6 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstance.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstance.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteInstance.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstance.TypeConverter.cs index 99d70b20e45b..77dc62a855ac 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstance.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstance.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteInstanceTypeConverter : global::System.Management.Autom 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteInstance.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstance.cs index fb7153d65547..b08ce5e535e0 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstance.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstance.cs @@ -71,7 +71,7 @@ public SiteInstance() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SiteInstance.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstance.json.cs index 90a0be1f27b9..00d39dd60211 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstance.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstance.json.cs @@ -20,7 +20,7 @@ public partial class SiteInstance partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteInstance /// /// 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 SiteInstance /// /// 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/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.PowerShell.cs index aa41353fd55e..eb3af41d9314 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteInstanceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.TypeConverter.cs index bbf722d51523..cbf422810872 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteInstancePropertiesTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.json.cs index 1ff4e52ab677..33211a5c742e 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteInstanceProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteInstanceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteInstanceProperties /// /// 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 SiteInstanceProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteLimits.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteLimits.PowerShell.cs index b2bb49b0c211..6bf559870c19 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLimits.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLimits.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteLimits FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLimits.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteLimits.TypeConverter.cs index 0ebf4a9f118c..33e50a327f4e 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLimits.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLimits.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteLimitsTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLimits.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteLimits.json.cs index da7d5b437690..0c524efd2f15 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLimits.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLimits.json.cs @@ -20,7 +20,7 @@ public partial class SiteLimits partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteLimits /// /// 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 SiteLimits /// /// 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/Functions/generated/api/Models/Api20190801/SiteLogsConfig.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.PowerShell.cs index 27ef06370600..225e39900ba5 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteLogsConfig FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.TypeConverter.cs index 780c2ae9022d..91f8749ef8df 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteLogsConfigTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.cs index 405b326ba8c8..6d9ccb16cb28 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.cs @@ -171,7 +171,7 @@ public SiteLogsConfig() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.json.cs index 90479e5ad40b..35aa54a408a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfig.json.cs @@ -20,7 +20,7 @@ public partial class SiteLogsConfig partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteLogsConfig /// /// 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 SiteLogsConfig /// /// 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/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.PowerShell.cs index 47894485c751..f3d23993a107 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteLogsConfigProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.TypeConverter.cs index 09f086362a2b..f21ffae34207 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteLogsConfigPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.json.cs index 4bc1214f0ad4..61f7f838bc8a 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteLogsConfigProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteLogsConfigProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteLogsConfigProperties /// /// 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 SiteLogsConfigProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteMachineKey.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.PowerShell.cs index 9e6230e9b21a..f40b865c8fe2 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteMachineKey FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.TypeConverter.cs index d41720454a74..58c24e33c2b4 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteMachineKeyTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.json.cs index bf0fce547785..561a61fbe1f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteMachineKey.json.cs @@ -20,7 +20,7 @@ public partial class SiteMachineKey partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteMachineKey /// /// 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 SiteMachineKey /// /// 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/Functions/generated/api/Models/Api20190801/SitePatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.PowerShell.cs index 519924d7f8da..74a335a5f499 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISitePatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.TypeConverter.cs index 1c135c49f444..4663e6a37123 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SitePatchResourceTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.cs index 0d0d9a5b0bab..c8d7ef5ef834 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.cs @@ -428,7 +428,7 @@ public SitePatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.json.cs index 142793d40868..49d98c73716e 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResource.json.cs @@ -20,7 +20,7 @@ public partial class SitePatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SitePatchResource /// /// 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 SitePatchResource /// /// 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/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.PowerShell.cs index 91266eb8a740..90adfbbc3b7f 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISitePatchResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.TypeConverter.cs index 282f17351a58..72ba61a833fa 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SitePatchResourcePropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.json.cs index 7b4ccd855206..7510398aa6fd 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePatchResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class SitePatchResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SitePatchResourceProperties /// /// 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 SitePatchResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.PowerShell.cs index c1275c5529a5..33476a998f79 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISitePhpErrorLogFlag FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.TypeConverter.cs index 27bda88406e9..d2080637b8c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SitePhpErrorLogFlagTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.cs index e99389dd65a1..7c8d1408ba06 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.cs @@ -80,7 +80,7 @@ public SitePhpErrorLogFlag() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.json.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.json.cs index ccb19a996eeb..1af0561abc94 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlag.json.cs @@ -20,7 +20,7 @@ public partial class SitePhpErrorLogFlag partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SitePhpErrorLogFlag /// /// 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 SitePhpErrorLogFlag /// /// 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/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.PowerShell.cs index 51fe8a3b42ef..6876eec49583 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISitePhpErrorLogFlagProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.TypeConverter.cs index 188d9794141e..2b12bdaa16de 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SitePhpErrorLogFlagPropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.json.cs index c0861b8b1ff5..5279cdda05c6 100644 --- a/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SitePhpErrorLogFlagProperties.json.cs @@ -20,7 +20,7 @@ public partial class SitePhpErrorLogFlagProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SitePhpErrorLogFlagProperties /// /// 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 SitePhpErrorLogFlagProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteProperties.PowerShell.cs index 3fc9b32a6973..49340014fc23 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteProperties.TypeConverter.cs index 691b6d2bbeba..199bac28f859 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteProperties.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SitePropertiesTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteProperties.json.cs index ccc20830de3a..aaa8f4f876eb 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteProperties /// /// 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 SiteProperties /// /// 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/Functions/generated/api/Models/Api20190801/SiteSeal.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteSeal.PowerShell.cs index 1e1590a298c6..40a32be6b974 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSeal.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSeal.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteSeal FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSeal.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteSeal.TypeConverter.cs index 94d32d5abc3f..fc42347dbef8 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSeal.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSeal.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteSealTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSeal.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteSeal.json.cs index 88cb6a8e914f..4a2a5ff7cce6 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSeal.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSeal.json.cs @@ -20,7 +20,7 @@ public partial class SiteSeal partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteSeal /// /// 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 SiteSeal /// /// 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/Functions/generated/api/Models/Api20190801/SiteSealRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.PowerShell.cs index 897fe4604f70..673809040710 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteSealRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.TypeConverter.cs index 16b5992596bb..28f508dbfc28 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteSealRequestTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.json.cs index 88d29983d9de..994b9fd8581d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSealRequest.json.cs @@ -20,7 +20,7 @@ public partial class SiteSealRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteSealRequest /// /// 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 SiteSealRequest /// /// 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/Functions/generated/api/Models/Api20190801/SiteSourceControl.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.PowerShell.cs index e51ba15000f4..18238d2ea790 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteSourceControl FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.TypeConverter.cs index bb55af7500c6..91eda727a35b 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SiteSourceControlTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.cs index ca82eadd77c4..981854f6e47c 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.cs @@ -89,7 +89,7 @@ public SiteSourceControl() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.json.cs index 03d2b0b36742..dfa0a6e56609 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControl.json.cs @@ -20,7 +20,7 @@ public partial class SiteSourceControl partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteSourceControl /// /// 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 SiteSourceControl /// /// 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/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.PowerShell.cs index fc4b9b5f3d34..e6aa8995d054 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISiteSourceControlProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.TypeConverter.cs index 46698db8d911..bc804176575d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SiteSourceControlPropertiesTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.json.cs index d92eda8ec808..f5089dde3bcd 100644 --- a/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SiteSourceControlProperties.json.cs @@ -20,7 +20,7 @@ public partial class SiteSourceControlProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SiteSourceControlProperties /// /// 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 SiteSourceControlProperties /// /// 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/Functions/generated/api/Models/Api20190801/SkuCapacity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SkuCapacity.PowerShell.cs index afdd334d8927..414f66755026 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuCapacity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuCapacity.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISkuCapacity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SkuCapacity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SkuCapacity.TypeConverter.cs index 50e2a2ba75fc..3d46c028b1d9 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuCapacity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuCapacity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuCapacityTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SkuCapacity.json.cs b/src/Functions/generated/api/Models/Api20190801/SkuCapacity.json.cs index cb0b6766a4c8..31c49da1da78 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuCapacity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuCapacity.json.cs @@ -20,7 +20,7 @@ public partial class SkuCapacity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SkuCapacity /// /// 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 SkuCapacity /// /// 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/Functions/generated/api/Models/Api20190801/SkuDescription.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SkuDescription.PowerShell.cs index 9202d1319aea..735a78bfe862 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuDescription.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuDescription.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISkuDescription FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SkuDescription.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SkuDescription.TypeConverter.cs index d20cd0ac94be..d2e4a0cbfbf7 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuDescription.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuDescription.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuDescriptionTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SkuDescription.json.cs b/src/Functions/generated/api/Models/Api20190801/SkuDescription.json.cs index eb6ab3e6868f..389432c6a63c 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuDescription.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuDescription.json.cs @@ -20,7 +20,7 @@ public partial class SkuDescription partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SkuDescription /// /// 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 SkuDescription /// /// 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/Functions/generated/api/Models/Api20190801/SkuInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfo.PowerShell.cs index b950d26a1e28..d7d42c485b36 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISkuInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SkuInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfo.TypeConverter.cs index c659a0bf1e31..3853ace92f8a 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuInfoTypeConverter : global::System.Management.Automation 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SkuInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfo.json.cs index b705bc0803b9..9b9d657d5da7 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfo.json.cs @@ -20,7 +20,7 @@ public partial class SkuInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SkuInfo /// /// 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 SkuInfo /// /// 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/Functions/generated/api/Models/Api20190801/SkuInfoCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.PowerShell.cs index 807845dcf014..1defde15594b 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISkuInfoCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.TypeConverter.cs index aa610970d057..5ed13dae9221 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuInfoCollectionTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.json.cs index 4ed087c55155..0d64fd5ec272 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfoCollection.json.cs @@ -20,7 +20,7 @@ public partial class SkuInfoCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SkuInfoCollection /// /// 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 SkuInfoCollection /// /// 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/Functions/generated/api/Models/Api20190801/SkuInfos.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfos.PowerShell.cs index 662b7a9dd44f..aa0a45876d9f 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfos.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfos.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISkuInfos FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SkuInfos.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfos.TypeConverter.cs index 34e760155e93..5e18aab5bf2a 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfos.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfos.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SkuInfosTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SkuInfos.json.cs b/src/Functions/generated/api/Models/Api20190801/SkuInfos.json.cs index 5ee3ce64b580..5f539e9e5c29 100644 --- a/src/Functions/generated/api/Models/Api20190801/SkuInfos.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SkuInfos.json.cs @@ -20,7 +20,7 @@ public partial class SkuInfos partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SkuInfos /// /// 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 SkuInfos /// /// 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/Functions/generated/api/Models/Api20190801/SlotConfigNames.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.PowerShell.cs index 5abe83b1c15a..cb5d19db0a28 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.PowerShell.cs @@ -86,7 +86,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlotConfigNames FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.TypeConverter.cs index 9fc89c5f62bb..3af8b2a251b8 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SlotConfigNamesTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.json.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.json.cs index 9680d2796381..e71bc8801b07 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNames.json.cs @@ -24,7 +24,7 @@ public partial class SlotConfigNames partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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. @@ -34,7 +34,8 @@ public partial class SlotConfigNames /// /// 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. @@ -46,7 +47,8 @@ public partial class SlotConfigNames /// /// 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/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.PowerShell.cs index 277d49f24919..cbd1c2d7e3dd 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlotConfigNamesResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.TypeConverter.cs index fdc49b9621ad..7c164be94b3a 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SlotConfigNamesResourceTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.cs index e81000b1e92c..cfc1ad8823fe 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.cs @@ -76,7 +76,7 @@ public SlotConfigNamesResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.json.cs b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.json.cs index d3397776211d..d8575f2da7d7 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotConfigNamesResource.json.cs @@ -20,7 +20,7 @@ public partial class SlotConfigNamesResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SlotConfigNamesResource /// /// 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 SlotConfigNamesResource /// /// 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/Functions/generated/api/Models/Api20190801/SlotDifference.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifference.PowerShell.cs index a95c3279c761..c63135ed7ba5 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifference.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifference.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlotDifference FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifference.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifference.TypeConverter.cs index 67605d93b990..e469e7ae7d60 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifference.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifference.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SlotDifferenceTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifference.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifference.cs index a8de87d6414a..2cbd3d4320b9 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifference.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifference.cs @@ -113,7 +113,7 @@ public SlotDifference() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifference.json.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifference.json.cs index 85cec11b0258..dda39dcb6cf8 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifference.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifference.json.cs @@ -20,7 +20,7 @@ public partial class SlotDifference partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SlotDifference /// /// 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 SlotDifference /// /// 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/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.PowerShell.cs index ee8d0fddef18..75ac90217b0d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlotDifferenceCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.TypeConverter.cs index 192a8f047c6b..fb111c50edea 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SlotDifferenceCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.json.cs index 756e09da323f..89569fc1fc8c 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceCollection.json.cs @@ -20,7 +20,7 @@ public partial class SlotDifferenceCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SlotDifferenceCollection /// /// 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 SlotDifferenceCollection /// /// 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/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.PowerShell.cs index db23549e960f..6ebd6cdc5a3b 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlotDifferenceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.TypeConverter.cs index 5a052c69c87f..357faed87fba 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SlotDifferencePropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.json.cs index 3d55a46e818a..945d2d1f5077 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotDifferenceProperties.json.cs @@ -20,7 +20,7 @@ public partial class SlotDifferenceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SlotDifferenceProperties /// /// 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 SlotDifferenceProperties /// /// 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/Functions/generated/api/Models/Api20190801/SlotSwapStatus.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.PowerShell.cs index b186db853370..feb3a52c11ae 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlotSwapStatus FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.TypeConverter.cs index e6f982ca1bf3..7f4e941b6523 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SlotSwapStatusTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.json.cs b/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.json.cs index cfa9cd1bfc9f..0dab5d572218 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlotSwapStatus.json.cs @@ -20,7 +20,7 @@ public partial class SlotSwapStatus partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SlotSwapStatus /// /// 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 SlotSwapStatus /// /// 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/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.PowerShell.cs index fb4629a9e69a..797a3b3bc5e3 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISlowRequestsBasedTrigger FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.TypeConverter.cs index d67f76b17515..ad712752c279 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SlowRequestsBasedTriggerTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.json.cs b/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.json.cs index d36f8f51d693..e1936c1df88b 100644 --- a/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SlowRequestsBasedTrigger.json.cs @@ -20,7 +20,7 @@ public partial class SlowRequestsBasedTrigger partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SlowRequestsBasedTrigger /// /// 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 SlowRequestsBasedTrigger /// /// 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/Functions/generated/api/Models/Api20190801/Snapshot.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Snapshot.PowerShell.cs index eacf82e92e48..2a8ab86e606e 100644 --- a/src/Functions/generated/api/Models/Api20190801/Snapshot.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Snapshot.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISnapshot FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Snapshot.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Snapshot.TypeConverter.cs index 446e15ee35a3..df081a61e1e9 100644 --- a/src/Functions/generated/api/Models/Api20190801/Snapshot.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Snapshot.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SnapshotTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Snapshot.cs b/src/Functions/generated/api/Models/Api20190801/Snapshot.cs index 68828ae25a49..34d19d84d56f 100644 --- a/src/Functions/generated/api/Models/Api20190801/Snapshot.cs +++ b/src/Functions/generated/api/Models/Api20190801/Snapshot.cs @@ -71,7 +71,7 @@ public Snapshot() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Snapshot.json.cs b/src/Functions/generated/api/Models/Api20190801/Snapshot.json.cs index 8d004869a03e..97988015300c 100644 --- a/src/Functions/generated/api/Models/Api20190801/Snapshot.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Snapshot.json.cs @@ -20,7 +20,7 @@ public partial class Snapshot partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Snapshot /// /// 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 Snapshot /// /// 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/Functions/generated/api/Models/Api20190801/SnapshotCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.PowerShell.cs index b2d9805ed1ed..5cee3e1112d6 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISnapshotCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.TypeConverter.cs index 72ac65fbd589..f2d91c7610d7 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SnapshotCollectionTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.json.cs index 721025cb9cfd..b1590c417c64 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotCollection.json.cs @@ -20,7 +20,7 @@ public partial class SnapshotCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SnapshotCollection /// /// 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 SnapshotCollection /// /// 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/Functions/generated/api/Models/Api20190801/SnapshotProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.PowerShell.cs index d4b81616088c..3ccf4a2f5de6 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISnapshotProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.TypeConverter.cs index 33ac574f7705..72e024e65453 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SnapshotPropertiesTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.json.cs index ac251fd554bd..c1d94b1733c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotProperties.json.cs @@ -20,7 +20,7 @@ public partial class SnapshotProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SnapshotProperties /// /// 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 SnapshotProperties /// /// 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/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.PowerShell.cs index 203255f97eaa..65bad700457b 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISnapshotRecoverySource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.TypeConverter.cs index 8d17e5085014..0d16a7a9c4c3 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SnapshotRecoverySourceTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.json.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.json.cs index e40a1994792a..595a57673aeb 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRecoverySource.json.cs @@ -20,7 +20,7 @@ public partial class SnapshotRecoverySource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SnapshotRecoverySource /// /// 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 SnapshotRecoverySource /// /// 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/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.PowerShell.cs index 306cb192d6ab..2dfda93223bb 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISnapshotRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.TypeConverter.cs index cffd20deeb5c..805e761a0a71 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SnapshotRestoreRequestTypeConverter : global::System.Manage 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.cs index 50129498f20b..7f1857ba8bbc 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.cs @@ -108,7 +108,7 @@ public SnapshotRestoreRequest() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.json.cs index 3ff84106a60e..9aa45b36c104 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequest.json.cs @@ -20,7 +20,7 @@ public partial class SnapshotRestoreRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SnapshotRestoreRequest /// /// 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 SnapshotRestoreRequest /// /// 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/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.PowerShell.cs index 0fdb135143cd..5b826b076448 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISnapshotRestoreRequestProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.TypeConverter.cs index a4b5f58203ce..f8b90b9a31a0 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SnapshotRestoreRequestPropertiesTypeConverter : global::Sys 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.json.cs index 8ded9b9b97a0..054fb1dfbf4d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SnapshotRestoreRequestProperties.json.cs @@ -20,7 +20,7 @@ public partial class SnapshotRestoreRequestProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SnapshotRestoreRequestProperties /// /// 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 SnapshotRestoreRequestProperties /// /// 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/Functions/generated/api/Models/Api20190801/Solution.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Solution.PowerShell.cs index 0ffc4f754aa7..545fbb081f63 100644 --- a/src/Functions/generated/api/Models/Api20190801/Solution.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Solution.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISolution FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/Solution.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Solution.TypeConverter.cs index 2ecc371e2a5e..70458e559364 100644 --- a/src/Functions/generated/api/Models/Api20190801/Solution.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Solution.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SolutionTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Solution.json.cs b/src/Functions/generated/api/Models/Api20190801/Solution.json.cs index 1ae3822ff386..c64003c284a6 100644 --- a/src/Functions/generated/api/Models/Api20190801/Solution.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Solution.json.cs @@ -20,7 +20,7 @@ public partial class Solution partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Solution /// /// 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 Solution /// /// 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/Functions/generated/api/Models/Api20190801/SourceControl.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SourceControl.PowerShell.cs index 8a2cc11a0a7f..fcea7f559a14 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControl.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControl.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISourceControl FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControl.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SourceControl.TypeConverter.cs index 54c1486d8a0f..40a519e9bc88 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControl.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControl.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class SourceControlTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControl.cs b/src/Functions/generated/api/Models/Api20190801/SourceControl.cs index 05499ecdc112..1daec2f8489f 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControl.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControl.cs @@ -80,7 +80,7 @@ public SourceControl() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControl.json.cs b/src/Functions/generated/api/Models/Api20190801/SourceControl.json.cs index 3f3544a2b780..810e0f851c70 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControl.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControl.json.cs @@ -20,7 +20,7 @@ public partial class SourceControl partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SourceControl /// /// 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 SourceControl /// /// 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/Functions/generated/api/Models/Api20190801/SourceControlCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.PowerShell.cs index 8c33abd28c52..86180eb171d6 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISourceControlCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.TypeConverter.cs index 765dae5f3f2c..c284665d596a 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SourceControlCollectionTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.json.cs index d8839571cd16..e21de2f88b85 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControlCollection.json.cs @@ -20,7 +20,7 @@ public partial class SourceControlCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SourceControlCollection /// /// 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 SourceControlCollection /// /// 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/Functions/generated/api/Models/Api20190801/SourceControlProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.PowerShell.cs index 9508a8ea6441..d9192a9596f8 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISourceControlProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.TypeConverter.cs index 38ee5dfce5ba..a585cd34be59 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SourceControlPropertiesTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.json.cs index 9c771ba762f0..a52617750dc9 100644 --- a/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SourceControlProperties.json.cs @@ -20,7 +20,7 @@ public partial class SourceControlProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SourceControlProperties /// /// 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 SourceControlProperties /// /// 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/Functions/generated/api/Models/Api20190801/StackMajorVersion.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.PowerShell.cs index 64986d6a288e..4917e0933454 100644 --- a/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStackMajorVersion FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.TypeConverter.cs index a8604389fc97..c9c14826556c 100644 --- a/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StackMajorVersionTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.json.cs b/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.json.cs index 975eb99014ab..fc34d55e8516 100644 --- a/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StackMajorVersion.json.cs @@ -20,7 +20,7 @@ public partial class StackMajorVersion partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StackMajorVersion /// /// 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 StackMajorVersion /// /// 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/Functions/generated/api/Models/Api20190801/StackMinorVersion.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.PowerShell.cs index c809c7b6787b..34a0e2d6745c 100644 --- a/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStackMinorVersion FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.TypeConverter.cs index 02c4e86511e2..60b2ea88a21c 100644 --- a/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StackMinorVersionTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.json.cs b/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.json.cs index 9bed42a130e5..0a15371a1b9b 100644 --- a/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StackMinorVersion.json.cs @@ -20,7 +20,7 @@ public partial class StackMinorVersion partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StackMinorVersion /// /// 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 StackMinorVersion /// /// 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/Functions/generated/api/Models/Api20190801/StampCapacity.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StampCapacity.PowerShell.cs index b17fcf615173..e8a835dce51f 100644 --- a/src/Functions/generated/api/Models/Api20190801/StampCapacity.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StampCapacity.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStampCapacity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StampCapacity.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StampCapacity.TypeConverter.cs index 2e23c8561f51..a0460cb41e39 100644 --- a/src/Functions/generated/api/Models/Api20190801/StampCapacity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StampCapacity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StampCapacityTypeConverter : global::System.Management.Auto 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StampCapacity.json.cs b/src/Functions/generated/api/Models/Api20190801/StampCapacity.json.cs index 26bb3814e7ce..a0a89ba749cc 100644 --- a/src/Functions/generated/api/Models/Api20190801/StampCapacity.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StampCapacity.json.cs @@ -20,7 +20,7 @@ public partial class StampCapacity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StampCapacity /// /// 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 StampCapacity /// /// 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/Functions/generated/api/Models/Api20190801/StampCapacityCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.PowerShell.cs index f132f3538f35..8e618d3aa44f 100644 --- a/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStampCapacityCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.TypeConverter.cs index 26ec4a4e49db..1ef8ec59a854 100644 --- a/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StampCapacityCollectionTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.json.cs index 33c9cacbd96a..c8fb2e3b8ec2 100644 --- a/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StampCapacityCollection.json.cs @@ -20,7 +20,7 @@ public partial class StampCapacityCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StampCapacityCollection /// /// 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 StampCapacityCollection /// /// 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/Functions/generated/api/Models/Api20190801/StaticSite.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSite.PowerShell.cs index e2a0902ef625..03b71d373cf2 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSite.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSite.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSite FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSite.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSite.TypeConverter.cs index fde917ad2831..2ed9a9d03574 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSite.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSite.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StaticSiteTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSite.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSite.json.cs index 7701cfe4bc39..f4f5c6661ee9 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSite.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSite.json.cs @@ -20,7 +20,7 @@ public partial class StaticSite partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSite /// /// 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 StaticSite /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.PowerShell.cs index cee8ed4b9ae9..45bcde763fb6 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteArmResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.TypeConverter.cs index 0aecf8a641af..0237bd5a105a 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteArmResourceTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.cs index d34a705ba0da..e8ea944d6943 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.cs @@ -172,7 +172,7 @@ public StaticSiteArmResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.json.cs index bf3a2615a08e..174ca7c5425f 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteArmResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteArmResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteArmResource /// /// 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 StaticSiteArmResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.PowerShell.cs index 48c456410bec..3f6673a694ea 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteBuildArmResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.TypeConverter.cs index a0c48b84f18b..b700b72c1fb2 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteBuildArmResourceTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.cs index 94cd5d87a34e..7b4b5d151f93 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.cs @@ -113,7 +113,7 @@ public StaticSiteBuildArmResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.json.cs index 18ab27f2e8e5..9d1e8eec72b9 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteBuildArmResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteBuildArmResource /// /// 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 StaticSiteBuildArmResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.PowerShell.cs index f0e0e713b6a0..4c3f6b20c317 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteBuildArmResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.TypeConverter.cs index 92ab6b430b12..bd9600935bcf 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteBuildArmResourcePropertiesTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.json.cs index d63704f70bfc..cc9f5afb68f9 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildArmResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteBuildArmResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteBuildArmResourceProperties /// /// 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 StaticSiteBuildArmResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.PowerShell.cs index f69aefccdd82..62ea901685d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteBuildCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.TypeConverter.cs index 681eb667973c..4b48114124bc 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteBuildCollectionTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.json.cs index d424082254fa..683ac4c2ddee 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildCollection.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteBuildCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteBuildCollection /// /// 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 StaticSiteBuildCollection /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.PowerShell.cs index 59a8cb4e60fb..aab42fed3c5d 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteBuildProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.TypeConverter.cs index a9aa2b9bb604..589f82512558 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteBuildPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.json.cs index bf669d4e1f38..f184174163f0 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteBuildProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteBuildProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteBuildProperties /// /// 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 StaticSiteBuildProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.PowerShell.cs index 48f907fbab0b..3e2b82952067 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.TypeConverter.cs index 139ea3ca98fc..53f9f383dd3a 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteCollectionTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.json.cs index df95ae03cd47..c6ec7b42ddd2 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCollection.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteCollection /// /// 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 StaticSiteCollection /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.PowerShell.cs index 871e6cecf06c..952f6fa3ee7d 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteCustomDomainOverviewArmResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.TypeConverter.cs index a209f868ef1a..7c3770f980ae 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteCustomDomainOverviewArmResourceTypeConverter : gl 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.cs index 68db32ee9b65..5a840d18c5ae 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.cs @@ -80,7 +80,7 @@ public StaticSiteCustomDomainOverviewArmResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.json.cs index 7a60d73b5832..7398ef790f0e 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteCustomDomainOverviewArmResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteCustomDomainOverviewArmResource /// /// 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 StaticSiteCustomDomainOverviewArmResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.PowerShell.cs index 880e05aeedb0..c2f7b53feb4d 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteCustomDomainOverviewArmResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.TypeConverter.cs index 831cd9419692..0571d51b6c5d 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteCustomDomainOverviewArmResourcePropertiesTypeConv 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.json.cs index 1e2fdfc27d67..5ac90d62cee3 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewArmResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteCustomDomainOverviewArmResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteCustomDomainOverviewArmResourceProperties /// /// 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 StaticSiteCustomDomainOverviewArmResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.PowerShell.cs index 56820be5a830..a89d31fda79c 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteCustomDomainOverviewCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.TypeConverter.cs index bfb8a71d709c..7b8cfbd47873 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteCustomDomainOverviewCollectionTypeConverter : glo 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.json.cs index c3ac80ee5708..2618e9ce9d47 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteCustomDomainOverviewCollection.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteCustomDomainOverviewCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteCustomDomainOverviewCollection /// /// 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 StaticSiteCustomDomainOverviewCollection /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.PowerShell.cs index a5827f28afed..45cc55d94c82 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteFunctionOverviewArmResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.TypeConverter.cs index efa94a8dbc22..69d13f1cc8a8 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteFunctionOverviewArmResourceTypeConverter : global 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.cs index 495e3e109cdb..e284d7d45351 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.cs @@ -78,7 +78,7 @@ public StaticSiteFunctionOverviewArmResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.json.cs index f83ade43a8dd..58affe604415 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteFunctionOverviewArmResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteFunctionOverviewArmResource /// /// 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 StaticSiteFunctionOverviewArmResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.PowerShell.cs index 2a84ceed469b..81dfdc7efb43 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteFunctionOverviewArmResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.TypeConverter.cs index ded69edab41b..785d6d25cef4 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteFunctionOverviewArmResourcePropertiesTypeConverte 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.json.cs index 501816367695..ccdb7dae83d6 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewArmResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteFunctionOverviewArmResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteFunctionOverviewArmResourceProperties /// /// 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 StaticSiteFunctionOverviewArmResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.PowerShell.cs index 2e47a844ef36..7b16c1fc0394 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteFunctionOverviewCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.TypeConverter.cs index 3862c74f83f9..fa9264532298 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteFunctionOverviewCollectionTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.json.cs index 18127d0b4084..48fcdbc87bcc 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteFunctionOverviewCollection.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteFunctionOverviewCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteFunctionOverviewCollection /// /// 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 StaticSiteFunctionOverviewCollection /// /// 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/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.PowerShell.cs index cc56ae809b1f..fa547920d291 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSitePatchResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.TypeConverter.cs index 27e953a7a4ae..237fe0d9008c 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSitePatchResourceTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.cs index 77be97fcf716..df6d6a07e63e 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.cs @@ -107,7 +107,7 @@ public StaticSitePatchResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.json.cs index 3c69df45e43b..46a25087b825 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSitePatchResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSitePatchResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSitePatchResource /// /// 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 StaticSitePatchResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.PowerShell.cs index c320bc5f1a87..1d69e3d5c8a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteResetPropertiesArmResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.TypeConverter.cs index 5210079526a3..d00cfe70b2bf 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteResetPropertiesArmResourceTypeConverter : global: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.cs index 0fcdfb6d9c6b..c8e092109c3a 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.cs @@ -72,7 +72,7 @@ public StaticSiteResetPropertiesArmResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.json.cs index fd5be23a0b31..efaac5c695a4 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteResetPropertiesArmResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteResetPropertiesArmResource /// /// 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 StaticSiteResetPropertiesArmResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.PowerShell.cs index 1c4687bcd4e7..58368eca0da3 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteResetPropertiesArmResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.TypeConverter.cs index 85ef6e6cc09a..6c9213b308ce 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteResetPropertiesArmResourcePropertiesTypeConverter 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.json.cs index ca965a66476d..4e3c11626cde 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteResetPropertiesArmResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteResetPropertiesArmResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteResetPropertiesArmResourceProperties /// /// 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 StaticSiteResetPropertiesArmResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.PowerShell.cs index 0e970accba03..a5cbff160ff0 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserArmResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.TypeConverter.cs index 7e7ec6f03ef8..f8a328fd7f48 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteUserArmResourceTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.cs index 6207c29f8c5a..b3b88ee40a55 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.cs @@ -89,7 +89,7 @@ public StaticSiteUserArmResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.json.cs index 66eeacb2a24f..30609d586bf6 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserArmResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserArmResource /// /// 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 StaticSiteUserArmResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.PowerShell.cs index 3a75cd74fbe3..8d081fbc3dd7 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserArmResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.TypeConverter.cs index 1e657f40e775..fc9df6c9a2a1 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteUserArmResourcePropertiesTypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.json.cs index 4571dbd30473..54875132ee16 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserArmResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserArmResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserArmResourceProperties /// /// 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 StaticSiteUserArmResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.PowerShell.cs index efff2205184b..24731fbbb16f 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.TypeConverter.cs index 9f61ee75630d..be21a639b8cc 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StaticSiteUserCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.json.cs index fa521de67c2c..24cfb02f1e32 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserCollection.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserCollection /// /// 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 StaticSiteUserCollection /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.PowerShell.cs index c653a135546b..2103bf7f1630 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.TypeConverter.cs index 0ad33a202b57..2d53f7838088 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteUserInvitationRequestResourceTypeConverter : glob 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.cs index f4b91bed2b06..540f7af54b39 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.cs @@ -84,7 +84,7 @@ public StaticSiteUserInvitationRequestResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.json.cs index defc026175ed..dab55e6c60f7 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserInvitationRequestResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserInvitationRequestResource /// /// 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 StaticSiteUserInvitationRequestResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.PowerShell.cs index c4b7ea27c2b8..5955d7617d22 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserInvitationRequestResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.TypeConverter.cs index 0e312f2cf000..2e6d91515bbc 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteUserInvitationRequestResourcePropertiesTypeConver 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.json.cs index b6b04eb1ea08..95bf688cb6a7 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationRequestResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserInvitationRequestResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserInvitationRequestResourceProperties /// /// 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 StaticSiteUserInvitationRequestResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.PowerShell.cs index b5c48f5a582b..579ff9d7b2ac 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserInvitationResponseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.TypeConverter.cs index 74245f76d39b..985f7962b2cd 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteUserInvitationResponseResourceTypeConverter : glo 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.cs index 0b07bf7148fb..d55b75607080 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.cs @@ -80,7 +80,7 @@ public StaticSiteUserInvitationResponseResource() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.json.cs index 886c4cfc266c..ff692a50b06d 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResource.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserInvitationResponseResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserInvitationResponseResource /// /// 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 StaticSiteUserInvitationResponseResource /// /// 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/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.PowerShell.cs index 8557f66f802a..5ab633d8a5f6 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStaticSiteUserInvitationResponseResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.TypeConverter.cs index 57e0a5116702..a6cf5df61a5e 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class StaticSiteUserInvitationResponseResourcePropertiesTypeConve 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.json.cs index b5fc555ba3a3..3ec5890d793f 100644 --- a/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StaticSiteUserInvitationResponseResourceProperties.json.cs @@ -20,7 +20,7 @@ public partial class StaticSiteUserInvitationResponseResourceProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StaticSiteUserInvitationResponseResourceProperties /// /// 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 StaticSiteUserInvitationResponseResourceProperties /// /// 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/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.PowerShell.cs index f72eb5843f90..eaa6084e03f9 100644 --- a/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStatusCodesBasedTrigger FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.TypeConverter.cs index 9e4a140252f4..a94a50e121b2 100644 --- a/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StatusCodesBasedTriggerTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.json.cs b/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.json.cs index db5168cbf27d..4e371479fed7 100644 --- a/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StatusCodesBasedTrigger.json.cs @@ -20,7 +20,7 @@ public partial class StatusCodesBasedTrigger partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StatusCodesBasedTrigger /// /// 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 StatusCodesBasedTrigger /// /// 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/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.PowerShell.cs index 7ca81e71815b..38c924bcf906 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStorageMigrationOptions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.TypeConverter.cs index dbbe7299cf10..e6093a4100cc 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageMigrationOptionsTypeConverter : global::System.Manag 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.cs index 6786a0b02bc5..cce39009a3c0 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.cs @@ -84,7 +84,7 @@ public StorageMigrationOptions() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.json.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.json.cs index 12fcc5a3e087..4f63fa820568 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptions.json.cs @@ -20,7 +20,7 @@ public partial class StorageMigrationOptions partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageMigrationOptions /// /// 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 StorageMigrationOptions /// /// 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/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.PowerShell.cs index 30948c8dab61..3cc03100594e 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStorageMigrationOptionsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.TypeConverter.cs index 10dd48f30cb4..0e0193f64615 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageMigrationOptionsPropertiesTypeConverter : global::Sy 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.json.cs index bc04c1c154ae..f5eef328ad88 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationOptionsProperties.json.cs @@ -20,7 +20,7 @@ public partial class StorageMigrationOptionsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageMigrationOptionsProperties /// /// 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 StorageMigrationOptionsProperties /// /// 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/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.PowerShell.cs index 36fb5588a785..e076524b4e50 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStorageMigrationResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.TypeConverter.cs index d3895fb6a75b..83c7b9ee3d72 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageMigrationResponseTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.cs index 4acc01d31776..a5452e739025 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.cs @@ -73,7 +73,7 @@ public StorageMigrationResponse() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.json.cs index ea673b5a9fc7..27d4638b0f50 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponse.json.cs @@ -20,7 +20,7 @@ public partial class StorageMigrationResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageMigrationResponse /// /// 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 StorageMigrationResponse /// /// 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/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.PowerShell.cs index 0eb967a9c9b0..b1c0553a07df 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStorageMigrationResponseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.TypeConverter.cs index 05fa00df75a2..8a6a47a835ea 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StorageMigrationResponsePropertiesTypeConverter : global::S 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.json.cs index 719be1ede187..0a9661480c08 100644 --- a/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StorageMigrationResponseProperties.json.cs @@ -20,7 +20,7 @@ public partial class StorageMigrationResponseProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StorageMigrationResponseProperties /// /// 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 StorageMigrationResponseProperties /// /// 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/Functions/generated/api/Models/Api20190801/StringDictionary.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionary.PowerShell.cs index 24edfc4a53d9..afa175eb07c5 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionary.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionary.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStringDictionary FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StringDictionary.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionary.TypeConverter.cs index 61bb8f189a16..676d5deb72f5 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionary.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionary.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class StringDictionaryTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StringDictionary.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionary.cs index b356ecb13ec0..ac35ef4e23b7 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionary.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionary.cs @@ -61,7 +61,7 @@ public StringDictionary() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/StringDictionary.json.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionary.json.cs index f69468c3c77d..14a018e8624b 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionary.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionary.json.cs @@ -20,7 +20,7 @@ public partial class StringDictionary partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StringDictionary /// /// 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 StringDictionary /// /// 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/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.PowerShell.cs index 67e95bb3ee1f..2302482866a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.IStringDictionaryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.TypeConverter.cs index 57eb500a58e8..15032ca0a57b 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class StringDictionaryPropertiesTypeConverter : global::System.Ma 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.json.cs index bd5dfbd39036..33be0c9097b2 100644 --- a/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/StringDictionaryProperties.json.cs @@ -20,7 +20,7 @@ public partial class StringDictionaryProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 StringDictionaryProperties /// /// 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 StringDictionaryProperties /// /// 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/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.PowerShell.cs index 3696a94b4fc0..d4c293979d8e 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISwiftVirtualNetwork FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.TypeConverter.cs index 5faa1083abdf..1280b4a59b0e 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SwiftVirtualNetworkTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.cs index 41adc8cf1140..65424e7c78c9 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.cs @@ -79,7 +79,7 @@ public SwiftVirtualNetwork() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.json.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.json.cs index 0081e6e163fd..74ddbb5ed093 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetwork.json.cs @@ -22,7 +22,7 @@ public partial class SwiftVirtualNetwork partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SwiftVirtualNetwork /// /// 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 SwiftVirtualNetwork /// /// 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/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.PowerShell.cs index ba261da1de45..b79a4f11b5b1 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IS /// 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.Functions.Models.Api20190801.ISwiftVirtualNetworkProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.TypeConverter.cs index f7b4eae4ba5a..1e9dfe05a27d 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class SwiftVirtualNetworkPropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.json.cs index 0f3155b2c852..fa31f1040393 100644 --- a/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/SwiftVirtualNetworkProperties.json.cs @@ -20,7 +20,7 @@ public partial class SwiftVirtualNetworkProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 SwiftVirtualNetworkProperties /// /// 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 SwiftVirtualNetworkProperties /// /// 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/Functions/generated/api/Models/Api20190801/TldLegalAgreement.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.PowerShell.cs index aa8b2f872071..428271c6c4ac 100644 --- a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITldLegalAgreement FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.TypeConverter.cs index eaf0d70d76ff..78afbed87ac8 100644 --- a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TldLegalAgreementTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.json.cs b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.json.cs index 7b535d95b724..77d5a6fa70a4 100644 --- a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreement.json.cs @@ -20,7 +20,7 @@ public partial class TldLegalAgreement partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TldLegalAgreement /// /// 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 TldLegalAgreement /// /// 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/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.PowerShell.cs index 3c01ec6c4b8f..df34a75dd8fd 100644 --- a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITldLegalAgreementCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.TypeConverter.cs index d62b6a2f279b..7410d997e672 100644 --- a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TldLegalAgreementCollectionTypeConverter : global::System.M 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.json.cs index 95e3339279df..0d9c080cf3d2 100644 --- a/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TldLegalAgreementCollection.json.cs @@ -20,7 +20,7 @@ public partial class TldLegalAgreementCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TldLegalAgreementCollection /// /// 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 TldLegalAgreementCollection /// /// 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/Functions/generated/api/Models/Api20190801/TopLevelDomain.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.PowerShell.cs index 142c4ce71b44..d4d10c72c420 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITopLevelDomain FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.TypeConverter.cs index 3f4a3fbc3dbd..1c15770c10a9 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TopLevelDomainTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.cs index e55cd25cfac5..3ac569b5bfe2 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.cs @@ -70,7 +70,7 @@ public TopLevelDomain() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.json.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.json.cs index bcd4440a98fe..947def41e803 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomain.json.cs @@ -20,7 +20,7 @@ public partial class TopLevelDomain partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TopLevelDomain /// /// 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 TopLevelDomain /// /// 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/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.PowerShell.cs index d39d07d0a3d0..34f31c9cd544 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITopLevelDomainAgreementOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.TypeConverter.cs index 6c59353a798b..e084e0186946 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TopLevelDomainAgreementOptionTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.json.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.json.cs index 7fb6848c1b20..d2c39ecd761d 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainAgreementOption.json.cs @@ -20,7 +20,7 @@ public partial class TopLevelDomainAgreementOption partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TopLevelDomainAgreementOption /// /// 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 TopLevelDomainAgreementOption /// /// 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/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.PowerShell.cs index 8fdd0d23ec55..9aa51611ceb3 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITopLevelDomainCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.TypeConverter.cs index 855339b2935f..09599086c049 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TopLevelDomainCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.json.cs index dee5ee35911e..6ba6ea43179b 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainCollection.json.cs @@ -20,7 +20,7 @@ public partial class TopLevelDomainCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TopLevelDomainCollection /// /// 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 TopLevelDomainCollection /// /// 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/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.PowerShell.cs index 6de336abbb9d..15a84d5aaeeb 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITopLevelDomainProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.TypeConverter.cs index 44363f177d6d..95e7436f6628 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TopLevelDomainPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.json.cs index 24784c518501..71878db8ee22 100644 --- a/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TopLevelDomainProperties.json.cs @@ -20,7 +20,7 @@ public partial class TopLevelDomainProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TopLevelDomainProperties /// /// 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 TopLevelDomainProperties /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.PowerShell.cs index da9b28949449..71b14143b185 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredJobHistory FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.TypeConverter.cs index 30d0836c87cf..52bc3ee48650 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredJobHistoryTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.cs index 09362b5dc9ab..19dcbf99d353 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.cs @@ -68,7 +68,7 @@ public TriggeredJobHistory() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.json.cs index ca985ae8bab8..b9619119dd31 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistory.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredJobHistory partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredJobHistory /// /// 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 TriggeredJobHistory /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.PowerShell.cs index c7fad219cec1..8604a476436b 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredJobHistoryCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.TypeConverter.cs index 089eac77e81a..b36daccd6a75 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredJobHistoryCollectionTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.json.cs index 6820909cc27f..c9bba12c4867 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryCollection.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredJobHistoryCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredJobHistoryCollection /// /// 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 TriggeredJobHistoryCollection /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.PowerShell.cs index aa455eed30a1..2bc7c53f6aaa 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredJobHistoryProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.TypeConverter.cs index d7a3a4379f5b..cef6e748c2b2 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredJobHistoryPropertiesTypeConverter : global::System 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.json.cs index 9523dab8f768..391753edb421 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobHistoryProperties.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredJobHistoryProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredJobHistoryProperties /// /// 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 TriggeredJobHistoryProperties /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredJobRun.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.PowerShell.cs index 8dbbef445c0c..90bb569b41e9 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredJobRun FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.TypeConverter.cs index 0559f9611093..ddcd82684842 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TriggeredJobRunTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.cs index 11e7d5d9e0bd..43c0825d385f 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.cs @@ -108,7 +108,7 @@ public TriggeredJobRun() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.json.cs index 804a57976902..0af4e9fa81a3 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRun.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredJobRun partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredJobRun /// /// 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 TriggeredJobRun /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.PowerShell.cs index 0ca7ae99673a..3a201abb6d31 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredJobRunProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.TypeConverter.cs index 3f908c68d9f3..1b6647d1eeac 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredJobRunPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.json.cs index 43b7830e4304..76e8afa0c515 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredJobRunProperties.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredJobRunProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredJobRunProperties /// /// 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 TriggeredJobRunProperties /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredWebJob.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.PowerShell.cs index f31c761c5b01..1d2707d96327 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredWebJob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.TypeConverter.cs index 75392593610a..10f72975cb06 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class TriggeredWebJobTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.cs index 07765bdf0369..c70c94d9da25 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.cs @@ -175,7 +175,7 @@ public TriggeredWebJob() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.json.cs index 932446e69132..9247b596ad28 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJob.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredWebJob partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredWebJob /// /// 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 TriggeredWebJob /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.PowerShell.cs index 04c39a2c732b..d44a0d201b5d 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredWebJobCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.TypeConverter.cs index 9bb1fea5f741..174c23e2c739 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredWebJobCollectionTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.json.cs index 68689b92b02d..8e1242fa4682 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobCollection.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredWebJobCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredWebJobCollection /// /// 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 TriggeredWebJobCollection /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.PowerShell.cs index b331a373a655..a1268c6aa07b 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredWebJobProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.TypeConverter.cs index 98a5d9a689f4..097bb08be43b 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredWebJobPropertiesTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.json.cs index b6391f381161..9c9e5dfb0f84 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobProperties.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredWebJobProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredWebJobProperties /// /// 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 TriggeredWebJobProperties /// /// 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/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.PowerShell.cs index 5bf4eacca056..45f7a93e967c 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IT /// 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.Functions.Models.Api20190801.ITriggeredWebJobPropertiesSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.TypeConverter.cs index 20edb942adde..5e82af63c271 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class TriggeredWebJobPropertiesSettingsTypeConverter : global::Sy 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.json.cs b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.json.cs index f206c2670a27..0dd7bb709446 100644 --- a/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/TriggeredWebJobPropertiesSettings.json.cs @@ -20,7 +20,7 @@ public partial class TriggeredWebJobPropertiesSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 TriggeredWebJobPropertiesSettings /// /// 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 TriggeredWebJobPropertiesSettings /// /// 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/Functions/generated/api/Models/Api20190801/Usage.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/Usage.PowerShell.cs index 5068db163fa4..360eac4ef146 100644 --- a/src/Functions/generated/api/Models/Api20190801/Usage.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/Usage.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IU /// 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.Functions.Models.Api20190801.IUsage FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/Usage.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/Usage.TypeConverter.cs index d8dc8ba32b27..f5cae6ea4090 100644 --- a/src/Functions/generated/api/Models/Api20190801/Usage.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/Usage.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UsageTypeConverter : global::System.Management.Automation.P 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/Usage.cs b/src/Functions/generated/api/Models/Api20190801/Usage.cs index d2ee36000c62..4f89e1f8b175 100644 --- a/src/Functions/generated/api/Models/Api20190801/Usage.cs +++ b/src/Functions/generated/api/Models/Api20190801/Usage.cs @@ -120,7 +120,7 @@ public Usage() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/Usage.json.cs b/src/Functions/generated/api/Models/Api20190801/Usage.json.cs index f557a6768d90..2c9a2d7ec081 100644 --- a/src/Functions/generated/api/Models/Api20190801/Usage.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/Usage.json.cs @@ -20,7 +20,7 @@ public partial class Usage partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 Usage /// /// 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 Usage /// /// 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/Functions/generated/api/Models/Api20190801/UsageCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/UsageCollection.PowerShell.cs index 89d18d27becf..f9d0383a68c8 100644 --- a/src/Functions/generated/api/Models/Api20190801/UsageCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/UsageCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IU /// 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.Functions.Models.Api20190801.IUsageCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/UsageCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/UsageCollection.TypeConverter.cs index 02708022ad6e..97817451d0ab 100644 --- a/src/Functions/generated/api/Models/Api20190801/UsageCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/UsageCollection.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UsageCollectionTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/UsageCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/UsageCollection.json.cs index a27729418706..58468e0b7c47 100644 --- a/src/Functions/generated/api/Models/Api20190801/UsageCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/UsageCollection.json.cs @@ -20,7 +20,7 @@ public partial class UsageCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UsageCollection /// /// 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 UsageCollection /// /// 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/Functions/generated/api/Models/Api20190801/UsageProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/UsageProperties.PowerShell.cs index 9b4d6e04dd9a..0a0b0079c6b5 100644 --- a/src/Functions/generated/api/Models/Api20190801/UsageProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/UsageProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IU /// 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.Functions.Models.Api20190801.IUsageProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/UsageProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/UsageProperties.TypeConverter.cs index 1c7cd51e6dc9..79bae2d3d848 100644 --- a/src/Functions/generated/api/Models/Api20190801/UsageProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/UsageProperties.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UsagePropertiesTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/UsageProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/UsageProperties.json.cs index a7a4ee1c3323..cc49418e2191 100644 --- a/src/Functions/generated/api/Models/Api20190801/UsageProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/UsageProperties.json.cs @@ -20,7 +20,7 @@ public partial class UsageProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UsageProperties /// /// 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 UsageProperties /// /// 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/Functions/generated/api/Models/Api20190801/User.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/User.PowerShell.cs index c081ca3e65cb..0d4c2739ded0 100644 --- a/src/Functions/generated/api/Models/Api20190801/User.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/User.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IU /// 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.Functions.Models.Api20190801.IUser FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/User.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/User.TypeConverter.cs index 83654c405f53..88d229af1bcb 100644 --- a/src/Functions/generated/api/Models/Api20190801/User.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/User.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UserTypeConverter : global::System.Management.Automation.PS 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/User.cs b/src/Functions/generated/api/Models/Api20190801/User.cs index 9ee3120dda13..f7c858ec9720 100644 --- a/src/Functions/generated/api/Models/Api20190801/User.cs +++ b/src/Functions/generated/api/Models/Api20190801/User.cs @@ -84,7 +84,7 @@ public User() /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/User.json.cs b/src/Functions/generated/api/Models/Api20190801/User.json.cs index 443a6674c8a2..9543cd0a937c 100644 --- a/src/Functions/generated/api/Models/Api20190801/User.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/User.json.cs @@ -20,7 +20,7 @@ public partial class User partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 User /// /// 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 User /// /// 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/Functions/generated/api/Models/Api20190801/UserProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/UserProperties.PowerShell.cs index 23d06313976c..9d937d43282d 100644 --- a/src/Functions/generated/api/Models/Api20190801/UserProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/UserProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IU /// 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.Functions.Models.Api20190801.IUserProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/UserProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/UserProperties.TypeConverter.cs index 292fea785496..9fde722edee1 100644 --- a/src/Functions/generated/api/Models/Api20190801/UserProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/UserProperties.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class UserPropertiesTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/UserProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/UserProperties.json.cs index 3b9f4cab767a..cf96669320b4 100644 --- a/src/Functions/generated/api/Models/Api20190801/UserProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/UserProperties.json.cs @@ -20,7 +20,7 @@ public partial class UserProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 UserProperties /// /// 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 UserProperties /// /// 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/Functions/generated/api/Models/Api20190801/ValidateProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ValidateProperties.PowerShell.cs index ff2a8572ed30..5eeb5198229b 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IValidateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ValidateProperties.TypeConverter.cs index 4f3ee4072ef0..2f6b71ab34ab 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ValidatePropertiesTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/ValidateProperties.json.cs index 9a62bb726483..2cfbf04c70f4 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateProperties.json.cs @@ -20,7 +20,7 @@ public partial class ValidateProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ValidateProperties /// /// 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 ValidateProperties /// /// 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/Functions/generated/api/Models/Api20190801/ValidateRequest.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ValidateRequest.PowerShell.cs index e0a75c544397..bfeb40b6ef0c 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateRequest.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateRequest.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IValidateRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateRequest.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ValidateRequest.TypeConverter.cs index 991c65f32239..efac11a0775f 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateRequest.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateRequest.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ValidateRequestTypeConverter : global::System.Management.Au 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateRequest.json.cs b/src/Functions/generated/api/Models/Api20190801/ValidateRequest.json.cs index 4145ef2d7cfd..9c338c4dacf2 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateRequest.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateRequest.json.cs @@ -20,7 +20,7 @@ public partial class ValidateRequest partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ValidateRequest /// /// 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 ValidateRequest /// /// 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/Functions/generated/api/Models/Api20190801/ValidateResponse.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ValidateResponse.PowerShell.cs index 30a4feaf69b9..8a550e4b85ea 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateResponse.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateResponse.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IValidateResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateResponse.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ValidateResponse.TypeConverter.cs index 9638f589498a..6f47063e8259 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateResponse.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateResponse.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class ValidateResponseTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateResponse.json.cs b/src/Functions/generated/api/Models/Api20190801/ValidateResponse.json.cs index 33f710b4ce7b..13ed92e71098 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateResponse.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateResponse.json.cs @@ -20,7 +20,7 @@ public partial class ValidateResponse partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ValidateResponse /// /// 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 ValidateResponse /// /// 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/Functions/generated/api/Models/Api20190801/ValidateResponseError.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.PowerShell.cs index 05edfcc19765..c324719eab5e 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IValidateResponseError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.TypeConverter.cs index 7fb45616bf4e..1100fbe99eb5 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class ValidateResponseErrorTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.json.cs b/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.json.cs index c71d74d5731b..1d190739aa29 100644 --- a/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/ValidateResponseError.json.cs @@ -20,7 +20,7 @@ public partial class ValidateResponseError partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 ValidateResponseError /// /// 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 ValidateResponseError /// /// 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/Functions/generated/api/Models/Api20190801/VirtualApplication.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VirtualApplication.PowerShell.cs index e5fd28c041d8..ad1999ab1f68 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualApplication.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualApplication.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVirtualApplication FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualApplication.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VirtualApplication.TypeConverter.cs index 915393ae1f9c..f816f8167219 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualApplication.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualApplication.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VirtualApplicationTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualApplication.json.cs b/src/Functions/generated/api/Models/Api20190801/VirtualApplication.json.cs index f21834b2c0e7..51c29e8994b6 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualApplication.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualApplication.json.cs @@ -20,7 +20,7 @@ public partial class VirtualApplication partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VirtualApplication /// /// 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 VirtualApplication /// /// 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/Functions/generated/api/Models/Api20190801/VirtualDirectory.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.PowerShell.cs index de24d1273ab5..e2db4334c516 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVirtualDirectory FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.TypeConverter.cs index 4426b98c1c9d..3dd465aae634 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class VirtualDirectoryTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.json.cs b/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.json.cs index 714be463f6a4..ad8df5880152 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualDirectory.json.cs @@ -20,7 +20,7 @@ public partial class VirtualDirectory partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VirtualDirectory /// /// 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 VirtualDirectory /// /// 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/Functions/generated/api/Models/Api20190801/VirtualIPMapping.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.PowerShell.cs index 109520e3ebcd..9915fd77148a 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVirtualIPMapping FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.TypeConverter.cs index 1d33946fe9f8..2b2d684e03ae 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class VirtualIPMappingTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.json.cs b/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.json.cs index 7565a006139c..16082076d29d 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualIPMapping.json.cs @@ -20,7 +20,7 @@ public partial class VirtualIPMapping partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VirtualIPMapping /// /// 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 VirtualIPMapping /// /// 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/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.PowerShell.cs index 3986508f3a6b..78a00b196b14 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVirtualNetworkProfile FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.TypeConverter.cs index 08a52d2ccf60..a99409d6353c 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VirtualNetworkProfileTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.json.cs b/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.json.cs index 36739d0b6819..e91a323270e0 100644 --- a/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VirtualNetworkProfile.json.cs @@ -20,7 +20,7 @@ public partial class VirtualNetworkProfile partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VirtualNetworkProfile /// /// 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 VirtualNetworkProfile /// /// 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/Functions/generated/api/Models/Api20190801/VnetGateway.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetGateway.PowerShell.cs index 471c31a65b82..96608d5757d1 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGateway.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGateway.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetGateway FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetGateway.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetGateway.TypeConverter.cs index 7db369460256..165c9c7650f4 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGateway.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGateway.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class VnetGatewayTypeConverter : global::System.Management.Automa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetGateway.cs b/src/Functions/generated/api/Models/Api20190801/VnetGateway.cs index 3d9db43c0f6d..55dab6d254a6 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGateway.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGateway.cs @@ -68,7 +68,7 @@ public partial class VnetGateway : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/VnetGateway.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetGateway.json.cs index 08ebcb26b3e2..05b0d24e0551 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGateway.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGateway.json.cs @@ -22,7 +22,7 @@ public partial class VnetGateway partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetGateway /// /// 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 VnetGateway /// /// 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/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.PowerShell.cs index 93994ef19e12..d2dcf2611e11 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetGatewayProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.TypeConverter.cs index c5a02549c0ae..889895c4bfb1 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetGatewayPropertiesTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.json.cs index 80b627fe041b..d0196770f612 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetGatewayProperties.json.cs @@ -20,7 +20,7 @@ public partial class VnetGatewayProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetGatewayProperties /// /// 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 VnetGatewayProperties /// /// 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/Functions/generated/api/Models/Api20190801/VnetInfo.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfo.PowerShell.cs index f8a61ab06675..c5045bea703d 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfo.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfo.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetInfo.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfo.TypeConverter.cs index 49aa56154ac2..6cc908a97251 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfo.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfo.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class VnetInfoTypeConverter : global::System.Management.Automatio 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetInfo.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfo.cs index 08504a11365d..f3a3e24278d3 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfo.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfo.cs @@ -100,7 +100,7 @@ public partial class VnetInfo : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/VnetInfo.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfo.json.cs index 7df78a2557db..704ccb6a9910 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfo.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfo.json.cs @@ -20,7 +20,7 @@ public partial class VnetInfo partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetInfo /// /// 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 VnetInfo /// /// 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/Functions/generated/api/Models/Api20190801/VnetInfoProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.PowerShell.cs index 8af170f724ce..7b8ffd1234f3 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetInfoProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.TypeConverter.cs index ec1a29418ed5..9df6a4b99938 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetInfoPropertiesTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.json.cs index 331fca4b9773..24846b388b27 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetInfoProperties.json.cs @@ -20,7 +20,7 @@ public partial class VnetInfoProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetInfoProperties /// /// 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 VnetInfoProperties /// /// 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/Functions/generated/api/Models/Api20190801/VnetParameters.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetParameters.PowerShell.cs index c0be381a481b..5e88e3344bfa 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParameters.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParameters.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetParameters.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetParameters.TypeConverter.cs index cc5c9e5a2b76..1a0e27624f6a 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParameters.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParameters.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class VnetParametersTypeConverter : global::System.Management.Aut 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetParameters.cs b/src/Functions/generated/api/Models/Api20190801/VnetParameters.cs index cc46b320b426..7d10a26b1ab8 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParameters.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParameters.cs @@ -70,7 +70,7 @@ public partial class VnetParameters : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/VnetParameters.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetParameters.json.cs index 98547a38331d..665e66b277d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParameters.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParameters.json.cs @@ -20,7 +20,7 @@ public partial class VnetParameters partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetParameters /// /// 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 VnetParameters /// /// 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/Functions/generated/api/Models/Api20190801/VnetParametersProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.PowerShell.cs index 37a9b485efdc..cd0eee46bf69 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetParametersProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.TypeConverter.cs index 83ab9b448da8..7eb88a503aad 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetParametersPropertiesTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.json.cs index 5ccfa05111f7..85b14d8dbb60 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetParametersProperties.json.cs @@ -20,7 +20,7 @@ public partial class VnetParametersProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetParametersProperties /// /// 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 VnetParametersProperties /// /// 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/Functions/generated/api/Models/Api20190801/VnetRoute.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetRoute.PowerShell.cs index 954d6bfddaee..3fdf8cf9ba44 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRoute.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRoute.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetRoute FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetRoute.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetRoute.TypeConverter.cs index b95bf316ddac..af60b10e5450 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRoute.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRoute.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class VnetRouteTypeConverter : global::System.Management.Automati 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetRoute.cs b/src/Functions/generated/api/Models/Api20190801/VnetRoute.cs index f67153ce6ad7..0ad508825e40 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRoute.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRoute.cs @@ -83,7 +83,7 @@ public partial class VnetRoute : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/VnetRoute.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetRoute.json.cs index 6b29968ee5ad..f3dd249bdc0d 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRoute.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRoute.json.cs @@ -22,7 +22,7 @@ public partial class VnetRoute partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetRoute /// /// 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 VnetRoute /// /// 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/Functions/generated/api/Models/Api20190801/VnetRouteProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.PowerShell.cs index e9dc59d70a86..2dfdf2eec6d4 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetRouteProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.TypeConverter.cs index 050926fef723..fcd344382b04 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetRoutePropertiesTypeConverter : global::System.Managemen 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.json.cs index 937f6a7bcbb4..2f7fe194bf79 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetRouteProperties.json.cs @@ -20,7 +20,7 @@ public partial class VnetRouteProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetRouteProperties /// /// 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 VnetRouteProperties /// /// 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/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.PowerShell.cs index 6bee3ea392d7..3783dd684446 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetValidationFailureDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.TypeConverter.cs index 9e4dd300f337..1d9a79ccb72a 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetValidationFailureDetailsTypeConverter : global::System. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.cs index aa828ecec222..9f4b6e74a4a2 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.cs @@ -66,7 +66,7 @@ public partial class VnetValidationFailureDetails : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.json.cs index ebe7fa6f80f8..de28701916e2 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetails.json.cs @@ -20,7 +20,7 @@ public partial class VnetValidationFailureDetails partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetValidationFailureDetails /// /// 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 VnetValidationFailureDetails /// /// 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/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.PowerShell.cs index ea2727058a49..24f3389d665b 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetValidationFailureDetailsProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.TypeConverter.cs index 3b2676ad8be7..18c34ae50c58 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class VnetValidationFailureDetailsPropertiesTypeConverter : globa 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.json.cs index 3cb346a7001d..869c8ae649a5 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationFailureDetailsProperties.json.cs @@ -20,7 +20,7 @@ public partial class VnetValidationFailureDetailsProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetValidationFailureDetailsProperties /// /// 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 VnetValidationFailureDetailsProperties /// /// 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/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.PowerShell.cs index 5648ce9e2c7d..0124266c76d3 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetValidationTestFailure FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.TypeConverter.cs index bf787477a83d..c4ae89c2c087 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetValidationTestFailureTypeConverter : global::System.Man 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.cs index 97955833c295..609637e61e13 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.cs @@ -66,7 +66,7 @@ public partial class VnetValidationTestFailure : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.json.cs index 44112d81fc77..0c6f8947dcd5 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailure.json.cs @@ -20,7 +20,7 @@ public partial class VnetValidationTestFailure partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetValidationTestFailure /// /// 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 VnetValidationTestFailure /// /// 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/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.PowerShell.cs index 0860584e3c2e..b05b3031c29b 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.PowerShell.cs @@ -84,7 +84,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IV /// 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.Functions.Models.Api20190801.IVnetValidationTestFailureProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.TypeConverter.cs index 22356a519c6f..b40eb69cf0ba 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class VnetValidationTestFailurePropertiesTypeConverter : global:: 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.json.cs index e21c65aa295a..4bedbff3a5b1 100644 --- a/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/VnetValidationTestFailureProperties.json.cs @@ -20,7 +20,7 @@ public partial class VnetValidationTestFailureProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 VnetValidationTestFailureProperties /// /// 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 VnetValidationTestFailureProperties /// /// 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/Functions/generated/api/Models/Api20190801/WebAppCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebAppCollection.PowerShell.cs index 03ff5f12a391..365b05e4ae7c 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebAppCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebAppCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebAppCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebAppCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebAppCollection.TypeConverter.cs index 72db8e58fe44..c419cdb7402a 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebAppCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebAppCollection.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class WebAppCollectionTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebAppCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/WebAppCollection.json.cs index 94e49193aba0..ddf5236b3447 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebAppCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebAppCollection.json.cs @@ -20,7 +20,7 @@ public partial class WebAppCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebAppCollection /// /// 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 WebAppCollection /// /// 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/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.PowerShell.cs index dcdf78e910fa..598f35b7cae1 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebAppInstanceCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.TypeConverter.cs index 877af3d30c25..494296f1853a 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class WebAppInstanceCollectionTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.json.cs index b0a636b44447..8ebe5d104b6d 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebAppInstanceCollection.json.cs @@ -20,7 +20,7 @@ public partial class WebAppInstanceCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebAppInstanceCollection /// /// 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 WebAppInstanceCollection /// /// 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/Functions/generated/api/Models/Api20190801/WebJob.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebJob.PowerShell.cs index 167148b3cac2..e3725013694c 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJob.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJob.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebJob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJob.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebJob.TypeConverter.cs index 95421fa68399..64f7e55c7e41 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJob.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJob.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class WebJobTypeConverter : global::System.Management.Automation. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJob.cs b/src/Functions/generated/api/Models/Api20190801/WebJob.cs index f4e1edd173f1..85b5837e034a 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJob.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJob.cs @@ -86,7 +86,7 @@ public partial class WebJob : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/WebJob.json.cs b/src/Functions/generated/api/Models/Api20190801/WebJob.json.cs index 64d405e0a901..7540c7e6c2be 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJob.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJob.json.cs @@ -20,7 +20,7 @@ public partial class WebJob partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebJob /// /// 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 WebJob /// /// 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/Functions/generated/api/Models/Api20190801/WebJobCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebJobCollection.PowerShell.cs index 0f4513d79580..dd2397042925 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebJobCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJobCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebJobCollection.TypeConverter.cs index 5245100de097..038da3b989a1 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobCollection.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class WebJobCollectionTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJobCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/WebJobCollection.json.cs index b93c140c4569..b372665b6521 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobCollection.json.cs @@ -20,7 +20,7 @@ public partial class WebJobCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebJobCollection /// /// 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 WebJobCollection /// /// 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/Functions/generated/api/Models/Api20190801/WebJobProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebJobProperties.PowerShell.cs index 76faecc63706..35cdfae45df0 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobProperties.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebJobProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJobProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebJobProperties.TypeConverter.cs index 924996ead233..eee28330529e 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobProperties.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class WebJobPropertiesTypeConverter : global::System.Management.A 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJobProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/WebJobProperties.json.cs index c9593cefd2e1..437b3e1827a9 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobProperties.json.cs @@ -20,7 +20,7 @@ public partial class WebJobProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebJobProperties /// /// 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 WebJobProperties /// /// 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/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.PowerShell.cs index 3a1c98840ab8..c42ec0d76d58 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebJobPropertiesSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.TypeConverter.cs index 3f7e0bff9b95..b198ad334220 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class WebJobPropertiesSettingsTypeConverter : global::System.Mana 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.json.cs b/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.json.cs index 011f96a85991..e4f7787e0d4f 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebJobPropertiesSettings.json.cs @@ -20,7 +20,7 @@ public partial class WebJobPropertiesSettings partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebJobPropertiesSettings /// /// 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 WebJobPropertiesSettings /// /// 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/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.PowerShell.cs index 1b7d6ddf4de3..f827b6f1d0f3 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.PowerShell.cs @@ -81,7 +81,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebSiteInstanceStatus FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.TypeConverter.cs index 341c57f9d1d8..2b42fade6424 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class WebSiteInstanceStatusTypeConverter : global::System.Managem 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.cs index f327587162f5..c104ef7f057c 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.cs @@ -76,7 +76,7 @@ public partial class WebSiteInstanceStatus : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.json.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.json.cs index 4433185d34f4..24f1e54d30fd 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatus.json.cs @@ -19,7 +19,7 @@ public partial class WebSiteInstanceStatus partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebSiteInstanceStatus /// /// 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 WebSiteInstanceStatus /// /// 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/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.PowerShell.cs index 204d130bc141..115feaa52d21 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.PowerShell.cs @@ -84,7 +84,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebSiteInstanceStatusProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.TypeConverter.cs index 925527de631f..7d6ab33e3bfb 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class WebSiteInstanceStatusPropertiesTypeConverter : global::Syst 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.json.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.json.cs index 94fb8f1e4212..d3b4df5a1d77 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusProperties.json.cs @@ -20,7 +20,7 @@ public partial class WebSiteInstanceStatusProperties partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebSiteInstanceStatusProperties /// /// 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 WebSiteInstanceStatusProperties /// /// 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/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.PowerShell.cs index 64a2a6e7379c..11d19c4f3de0 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.PowerShell.cs @@ -85,7 +85,9 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWebSiteInstanceStatusPropertiesContainers FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.TypeConverter.cs index 9774758707d8..38785ff3b3ce 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.TypeConverter.cs @@ -27,8 +27,8 @@ public partial class WebSiteInstanceStatusPropertiesContainersTypeConverter : gl 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.json.cs b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.json.cs index b11d505bc8ab..339cf70bde5d 100644 --- a/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WebSiteInstanceStatusPropertiesContainers.json.cs @@ -20,7 +20,7 @@ public partial class WebSiteInstanceStatusPropertiesContainers partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WebSiteInstanceStatusPropertiesContainers /// /// 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 WebSiteInstanceStatusPropertiesContainers /// /// 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/Functions/generated/api/Models/Api20190801/WorkerPool.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPool.PowerShell.cs index fe73a86136bf..c095ea007879 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPool.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPool.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWorkerPool FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPool.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPool.TypeConverter.cs index 957cba53d6ce..33bca2477830 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPool.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPool.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class WorkerPoolTypeConverter : global::System.Management.Automat 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPool.json.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPool.json.cs index bd1c4caf659a..9364ab5057e4 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPool.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPool.json.cs @@ -20,7 +20,7 @@ public partial class WorkerPool partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WorkerPool /// /// 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 WorkerPool /// /// 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/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.PowerShell.cs index ea07b70d9c88..698817d605b1 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWorkerPoolCollection FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.TypeConverter.cs index f900bfb6f363..538579314674 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class WorkerPoolCollectionTypeConverter : global::System.Manageme 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.json.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.json.cs index 84397aaed5f4..f8eeef19a31d 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolCollection.json.cs @@ -20,7 +20,7 @@ public partial class WorkerPoolCollection partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WorkerPoolCollection /// /// 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 WorkerPoolCollection /// /// 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/Functions/generated/api/Models/Api20190801/WorkerPoolResource.PowerShell.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.PowerShell.cs index e48d72cf5cd3..baba275ea8c4 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.PowerShell.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.PowerShell.cs @@ -82,7 +82,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IW /// 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.Functions.Models.Api20190801.IWorkerPoolResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.TypeConverter.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.TypeConverter.cs index 34264f9a8181..d58e45087781 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.TypeConverter.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.TypeConverter.cs @@ -26,8 +26,8 @@ public partial class WorkerPoolResourceTypeConverter : global::System.Management 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.cs index a2cc28c5710c..92a34aa4b9e6 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.cs @@ -138,7 +138,7 @@ public partial class WorkerPoolResource : /// 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.Functions.Runtime.IEventListener eventListener) { diff --git a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.json.cs b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.json.cs index ef67b2d6355d..93dc046cfe62 100644 --- a/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.json.cs +++ b/src/Functions/generated/api/Models/Api20190801/WorkerPoolResource.json.cs @@ -20,7 +20,7 @@ public partial class WorkerPoolResource partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 WorkerPoolResource /// /// 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 WorkerPoolResource /// /// 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/Functions/generated/api/Models/FunctionsIdentity.PowerShell.cs b/src/Functions/generated/api/Models/FunctionsIdentity.PowerShell.cs index 664afbf0664c..64ed8dcf7014 100644 --- a/src/Functions/generated/api/Models/FunctionsIdentity.PowerShell.cs +++ b/src/Functions/generated/api/Models/FunctionsIdentity.PowerShell.cs @@ -81,7 +81,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIden /// 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.Functions.Models.IFunctionsIdentity FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Json.JsonNode.Parse(jsonText)); /// diff --git a/src/Functions/generated/api/Models/FunctionsIdentity.TypeConverter.cs b/src/Functions/generated/api/Models/FunctionsIdentity.TypeConverter.cs index 2941cf3adee4..f0edc92b40ae 100644 --- a/src/Functions/generated/api/Models/FunctionsIdentity.TypeConverter.cs +++ b/src/Functions/generated/api/Models/FunctionsIdentity.TypeConverter.cs @@ -26,8 +26,7 @@ public partial class FunctionsIdentityTypeConverter : global::System.Management. 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 . /// /// the instance to check if it can be converted to the type. diff --git a/src/Functions/generated/api/Models/FunctionsIdentity.json.cs b/src/Functions/generated/api/Models/FunctionsIdentity.json.cs index bc14c38736c5..2dc9ff59cc85 100644 --- a/src/Functions/generated/api/Models/FunctionsIdentity.json.cs +++ b/src/Functions/generated/api/Models/FunctionsIdentity.json.cs @@ -19,7 +19,7 @@ public partial class FunctionsIdentity partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.Functions.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 FunctionsIdentity /// /// 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 FunctionsIdentity /// /// 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/Functions/generated/api/Support/AccessControlEntryAction.cs b/src/Functions/generated/api/Support/AccessControlEntryAction.cs index f50e6b0b959d..3b571e419df8 100644 --- a/src/Functions/generated/api/Support/AccessControlEntryAction.cs +++ b/src/Functions/generated/api/Support/AccessControlEntryAction.cs @@ -17,7 +17,7 @@ public partial struct AccessControlEntryAction : /// 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 AccessControlEntryAction(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AccessControlEntryAction - /// 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.Functions.Support.AccessControlEntryAction e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AccessControlEntryAction e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AccessControlEntryAction - /// 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.Functions.Support.AccessControlEntryAction e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AccessControlEntryAction e2) { diff --git a/src/Functions/generated/api/Support/AccessTier.cs b/src/Functions/generated/api/Support/AccessTier.cs index 1a4025a4f18b..8abb88d6f699 100644 --- a/src/Functions/generated/api/Support/AccessTier.cs +++ b/src/Functions/generated/api/Support/AccessTier.cs @@ -19,7 +19,7 @@ public partial struct AccessTier : /// 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 AccessTier(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AccessTier - /// 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.Functions.Support.AccessTier e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AccessTier e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AccessTier - /// 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.Functions.Support.AccessTier e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AccessTier e2) { diff --git a/src/Functions/generated/api/Support/AccountStatus.cs b/src/Functions/generated/api/Support/AccountStatus.cs index e06ab16b24c1..0407af7ce797 100644 --- a/src/Functions/generated/api/Support/AccountStatus.cs +++ b/src/Functions/generated/api/Support/AccountStatus.cs @@ -19,7 +19,7 @@ public partial struct AccountStatus : /// 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 AccountStatus(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AccountStatus - /// 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.Functions.Support.AccountStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AccountStatus e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AccountStatus - /// 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.Functions.Support.AccountStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AccountStatus e2) { diff --git a/src/Functions/generated/api/Support/Action.cs b/src/Functions/generated/api/Support/Action.cs index 3f8cb4850698..9f4388fe7cbb 100644 --- a/src/Functions/generated/api/Support/Action.cs +++ b/src/Functions/generated/api/Support/Action.cs @@ -15,7 +15,7 @@ public partial struct Action : /// 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 Action(string underlyingValue) { @@ -76,8 +76,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Action - /// 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.Functions.Support.Action e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Action e2) { @@ -85,8 +85,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Action - /// 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.Functions.Support.Action e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Action e2) { diff --git a/src/Functions/generated/api/Support/AppServicePlanRestrictions.cs b/src/Functions/generated/api/Support/AppServicePlanRestrictions.cs index 02f4ed237c7a..2e8220f50850 100644 --- a/src/Functions/generated/api/Support/AppServicePlanRestrictions.cs +++ b/src/Functions/generated/api/Support/AppServicePlanRestrictions.cs @@ -27,7 +27,7 @@ public partial struct AppServicePlanRestrictions : /// 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 AppServicePlanRestrictions(string underlyingValue) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AppServicePlanRestrictions - /// 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.Functions.Support.AppServicePlanRestrictions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AppServicePlanRestrictions e2) { @@ -97,8 +97,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AppServicePlanRestrictions - /// 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.Functions.Support.AppServicePlanRestrictions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AppServicePlanRestrictions e2) { diff --git a/src/Functions/generated/api/Support/ApplicationType.cs b/src/Functions/generated/api/Support/ApplicationType.cs index 8a5470e6f6c5..eaa35b8a33a5 100644 --- a/src/Functions/generated/api/Support/ApplicationType.cs +++ b/src/Functions/generated/api/Support/ApplicationType.cs @@ -17,7 +17,7 @@ public partial struct ApplicationType : /// 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 ApplicationType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ApplicationType - /// 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.Functions.Support.ApplicationType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ApplicationType - /// 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.Functions.Support.ApplicationType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType e2) { diff --git a/src/Functions/generated/api/Support/AutoHealActionType.cs b/src/Functions/generated/api/Support/AutoHealActionType.cs index 554f0319f2e3..e5622189d477 100644 --- a/src/Functions/generated/api/Support/AutoHealActionType.cs +++ b/src/Functions/generated/api/Support/AutoHealActionType.cs @@ -19,7 +19,7 @@ public partial struct AutoHealActionType : /// 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 AutoHealActionType(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AutoHealActionType - /// 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.Functions.Support.AutoHealActionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AutoHealActionType - /// 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.Functions.Support.AutoHealActionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType e2) { diff --git a/src/Functions/generated/api/Support/AzureResourceType.cs b/src/Functions/generated/api/Support/AzureResourceType.cs index 1cf74bc1dd03..c7f5ad19cbd8 100644 --- a/src/Functions/generated/api/Support/AzureResourceType.cs +++ b/src/Functions/generated/api/Support/AzureResourceType.cs @@ -17,7 +17,7 @@ public partial struct AzureResourceType : /// 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 AzureResourceType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AzureResourceType - /// 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.Functions.Support.AzureResourceType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AzureResourceType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AzureResourceType - /// 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.Functions.Support.AzureResourceType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AzureResourceType e2) { diff --git a/src/Functions/generated/api/Support/AzureStorageState.cs b/src/Functions/generated/api/Support/AzureStorageState.cs index d4e49d654f58..22907089a426 100644 --- a/src/Functions/generated/api/Support/AzureStorageState.cs +++ b/src/Functions/generated/api/Support/AzureStorageState.cs @@ -19,7 +19,7 @@ public partial struct AzureStorageState : /// 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 AzureStorageState(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AzureStorageState - /// 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.Functions.Support.AzureStorageState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AzureStorageState e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AzureStorageState - /// 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.Functions.Support.AzureStorageState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AzureStorageState e2) { diff --git a/src/Functions/generated/api/Support/AzureStorageType.cs b/src/Functions/generated/api/Support/AzureStorageType.cs index c4b9c6dfeb21..7881c205e7da 100644 --- a/src/Functions/generated/api/Support/AzureStorageType.cs +++ b/src/Functions/generated/api/Support/AzureStorageType.cs @@ -17,7 +17,7 @@ public partial struct AzureStorageType : /// 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 AzureStorageType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum AzureStorageType - /// 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.Functions.Support.AzureStorageType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AzureStorageType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum AzureStorageType - /// 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.Functions.Support.AzureStorageType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AzureStorageType e2) { diff --git a/src/Functions/generated/api/Support/BackupItemStatus.cs b/src/Functions/generated/api/Support/BackupItemStatus.cs index b2759428ede3..1a091f31af3a 100644 --- a/src/Functions/generated/api/Support/BackupItemStatus.cs +++ b/src/Functions/generated/api/Support/BackupItemStatus.cs @@ -33,7 +33,7 @@ public partial struct BackupItemStatus : /// 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 BackupItemStatus(string underlyingValue) { @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum BackupItemStatus - /// 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.Functions.Support.BackupItemStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupItemStatus e2) { @@ -103,8 +103,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum BackupItemStatus - /// 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.Functions.Support.BackupItemStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupItemStatus e2) { diff --git a/src/Functions/generated/api/Support/BackupRestoreOperationType.cs b/src/Functions/generated/api/Support/BackupRestoreOperationType.cs index c64e52841ecf..071bbfc68c46 100644 --- a/src/Functions/generated/api/Support/BackupRestoreOperationType.cs +++ b/src/Functions/generated/api/Support/BackupRestoreOperationType.cs @@ -25,7 +25,7 @@ public partial struct BackupRestoreOperationType : /// 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 BackupRestoreOperationType(string underlyingValue) { @@ -86,8 +86,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum BackupRestoreOperationType - /// 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.Functions.Support.BackupRestoreOperationType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType e2) { @@ -95,8 +95,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum BackupRestoreOperationType - /// 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.Functions.Support.BackupRestoreOperationType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType e2) { diff --git a/src/Functions/generated/api/Support/BuildStatus.cs b/src/Functions/generated/api/Support/BuildStatus.cs index e222d7b511a2..d27afe03a09a 100644 --- a/src/Functions/generated/api/Support/BuildStatus.cs +++ b/src/Functions/generated/api/Support/BuildStatus.cs @@ -27,7 +27,7 @@ public partial struct BuildStatus : /// 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 BuildStatus(string underlyingValue) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum BuildStatus - /// 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.Functions.Support.BuildStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BuildStatus e2) { @@ -97,8 +97,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum BuildStatus - /// 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.Functions.Support.BuildStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BuildStatus e2) { diff --git a/src/Functions/generated/api/Support/BuiltInAuthenticationProvider.cs b/src/Functions/generated/api/Support/BuiltInAuthenticationProvider.cs index abf34a617be8..4df290317e40 100644 --- a/src/Functions/generated/api/Support/BuiltInAuthenticationProvider.cs +++ b/src/Functions/generated/api/Support/BuiltInAuthenticationProvider.cs @@ -30,7 +30,7 @@ public partial struct BuiltInAuthenticationProvider : 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 BuiltInAuthenticationProvider(string underlyingValue) @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum BuiltInAuthenticationProvider - /// 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.Functions.Support.BuiltInAuthenticationProvider e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BuiltInAuthenticationProvider e2) { @@ -103,8 +103,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum BuiltInAuthenticationProvider - /// 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.Functions.Support.BuiltInAuthenticationProvider e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BuiltInAuthenticationProvider e2) { diff --git a/src/Functions/generated/api/Support/Bypass.cs b/src/Functions/generated/api/Support/Bypass.cs index 4c906cc13a45..272200e2a8e1 100644 --- a/src/Functions/generated/api/Support/Bypass.cs +++ b/src/Functions/generated/api/Support/Bypass.cs @@ -24,7 +24,7 @@ public partial struct Bypass : /// 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 Bypass(string underlyingValue) { @@ -85,8 +85,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Bypass - /// 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.Functions.Support.Bypass e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Bypass e2) { @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Bypass - /// 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.Functions.Support.Bypass e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Bypass e2) { diff --git a/src/Functions/generated/api/Support/CertificateOrderActionType.cs b/src/Functions/generated/api/Support/CertificateOrderActionType.cs index 0ed34d37379b..8efeb4f1321b 100644 --- a/src/Functions/generated/api/Support/CertificateOrderActionType.cs +++ b/src/Functions/generated/api/Support/CertificateOrderActionType.cs @@ -43,7 +43,7 @@ public partial struct CertificateOrderActionType : /// 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 CertificateOrderActionType(string underlyingValue) { @@ -104,8 +104,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum CertificateOrderActionType - /// 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.Functions.Support.CertificateOrderActionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CertificateOrderActionType e2) { @@ -113,8 +113,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum CertificateOrderActionType - /// 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.Functions.Support.CertificateOrderActionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CertificateOrderActionType e2) { diff --git a/src/Functions/generated/api/Support/CertificateOrderStatus.cs b/src/Functions/generated/api/Support/CertificateOrderStatus.cs index 1552f5eaaf12..4c120dbe76af 100644 --- a/src/Functions/generated/api/Support/CertificateOrderStatus.cs +++ b/src/Functions/generated/api/Support/CertificateOrderStatus.cs @@ -33,7 +33,7 @@ public partial struct CertificateOrderStatus : /// 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 CertificateOrderStatus(string underlyingValue) { @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum CertificateOrderStatus - /// 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.Functions.Support.CertificateOrderStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CertificateOrderStatus e2) { @@ -103,8 +103,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum CertificateOrderStatus - /// 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.Functions.Support.CertificateOrderStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CertificateOrderStatus e2) { diff --git a/src/Functions/generated/api/Support/CertificateProductType.cs b/src/Functions/generated/api/Support/CertificateProductType.cs index 70f11fd01406..4c89f8723931 100644 --- a/src/Functions/generated/api/Support/CertificateProductType.cs +++ b/src/Functions/generated/api/Support/CertificateProductType.cs @@ -17,7 +17,7 @@ public partial struct CertificateProductType : /// 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 CertificateProductType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum CertificateProductType - /// 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.Functions.Support.CertificateProductType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CertificateProductType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum CertificateProductType - /// 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.Functions.Support.CertificateProductType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CertificateProductType e2) { diff --git a/src/Functions/generated/api/Support/Channels.cs b/src/Functions/generated/api/Support/Channels.cs index d223df08e57a..e907a91fa846 100644 --- a/src/Functions/generated/api/Support/Channels.cs +++ b/src/Functions/generated/api/Support/Channels.cs @@ -23,7 +23,7 @@ public partial struct Channels : /// 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 Channels(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Channels - /// 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.Functions.Support.Channels e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Channels e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Channels - /// 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.Functions.Support.Channels e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Channels e2) { diff --git a/src/Functions/generated/api/Support/CheckNameResourceTypes.cs b/src/Functions/generated/api/Support/CheckNameResourceTypes.cs index 515114a986d3..b85d252810e9 100644 --- a/src/Functions/generated/api/Support/CheckNameResourceTypes.cs +++ b/src/Functions/generated/api/Support/CheckNameResourceTypes.cs @@ -29,7 +29,7 @@ public partial struct CheckNameResourceTypes : /// 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 CheckNameResourceTypes(string underlyingValue) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum CheckNameResourceTypes - /// 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.Functions.Support.CheckNameResourceTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes e2) { @@ -99,8 +99,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum CheckNameResourceTypes - /// 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.Functions.Support.CheckNameResourceTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes e2) { diff --git a/src/Functions/generated/api/Support/CloneAbilityResult.cs b/src/Functions/generated/api/Support/CloneAbilityResult.cs index 547eb50313b0..e2b454e64cb5 100644 --- a/src/Functions/generated/api/Support/CloneAbilityResult.cs +++ b/src/Functions/generated/api/Support/CloneAbilityResult.cs @@ -19,7 +19,7 @@ public partial struct CloneAbilityResult : /// 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 CloneAbilityResult(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum CloneAbilityResult - /// 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.Functions.Support.CloneAbilityResult e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CloneAbilityResult e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum CloneAbilityResult - /// 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.Functions.Support.CloneAbilityResult e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CloneAbilityResult e2) { diff --git a/src/Functions/generated/api/Support/ComputeModeOptions.cs b/src/Functions/generated/api/Support/ComputeModeOptions.cs index a004b80c03a8..f14f265443db 100644 --- a/src/Functions/generated/api/Support/ComputeModeOptions.cs +++ b/src/Functions/generated/api/Support/ComputeModeOptions.cs @@ -19,7 +19,7 @@ public partial struct ComputeModeOptions : /// 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 ComputeModeOptions(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ComputeModeOptions - /// 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.Functions.Support.ComputeModeOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ComputeModeOptions e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ComputeModeOptions - /// 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.Functions.Support.ComputeModeOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ComputeModeOptions e2) { diff --git a/src/Functions/generated/api/Support/ConfigReferenceLocation.cs b/src/Functions/generated/api/Support/ConfigReferenceLocation.cs index 9a046ac27af5..8d99dde92d64 100644 --- a/src/Functions/generated/api/Support/ConfigReferenceLocation.cs +++ b/src/Functions/generated/api/Support/ConfigReferenceLocation.cs @@ -14,7 +14,7 @@ public partial struct ConfigReferenceLocation : /// 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 ConfigReferenceLocation(string underlyingValue) { @@ -75,8 +75,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ConfigReferenceLocation - /// 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.Functions.Support.ConfigReferenceLocation e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ConfigReferenceLocation e2) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ConfigReferenceLocation - /// 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.Functions.Support.ConfigReferenceLocation e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ConfigReferenceLocation e2) { diff --git a/src/Functions/generated/api/Support/ConfigReferenceSource.cs b/src/Functions/generated/api/Support/ConfigReferenceSource.cs index 21af81362d86..78ad6fe9f918 100644 --- a/src/Functions/generated/api/Support/ConfigReferenceSource.cs +++ b/src/Functions/generated/api/Support/ConfigReferenceSource.cs @@ -14,7 +14,7 @@ public partial struct ConfigReferenceSource : /// 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 ConfigReferenceSource(string underlyingValue) { @@ -75,8 +75,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ConfigReferenceSource - /// 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.Functions.Support.ConfigReferenceSource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ConfigReferenceSource e2) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ConfigReferenceSource - /// 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.Functions.Support.ConfigReferenceSource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ConfigReferenceSource e2) { diff --git a/src/Functions/generated/api/Support/ConnectionStringType.cs b/src/Functions/generated/api/Support/ConnectionStringType.cs index fb18b12ff0e2..80fcd7ba53da 100644 --- a/src/Functions/generated/api/Support/ConnectionStringType.cs +++ b/src/Functions/generated/api/Support/ConnectionStringType.cs @@ -35,7 +35,7 @@ public partial struct ConnectionStringType : /// 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 ConnectionStringType(string underlyingValue) { @@ -96,8 +96,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ConnectionStringType - /// 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.Functions.Support.ConnectionStringType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ConnectionStringType e2) { @@ -105,8 +105,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ConnectionStringType - /// 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.Functions.Support.ConnectionStringType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ConnectionStringType e2) { diff --git a/src/Functions/generated/api/Support/ContinuousWebJobStatus.cs b/src/Functions/generated/api/Support/ContinuousWebJobStatus.cs index 4875dcb9f62f..068464f26aa6 100644 --- a/src/Functions/generated/api/Support/ContinuousWebJobStatus.cs +++ b/src/Functions/generated/api/Support/ContinuousWebJobStatus.cs @@ -23,7 +23,7 @@ public partial struct ContinuousWebJobStatus : /// 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 ContinuousWebJobStatus(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ContinuousWebJobStatus - /// 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.Functions.Support.ContinuousWebJobStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ContinuousWebJobStatus e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ContinuousWebJobStatus - /// 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.Functions.Support.ContinuousWebJobStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ContinuousWebJobStatus e2) { diff --git a/src/Functions/generated/api/Support/CustomHostNameDnsRecordType.cs b/src/Functions/generated/api/Support/CustomHostNameDnsRecordType.cs index 42ebd1a7c6d4..c237f917071f 100644 --- a/src/Functions/generated/api/Support/CustomHostNameDnsRecordType.cs +++ b/src/Functions/generated/api/Support/CustomHostNameDnsRecordType.cs @@ -27,7 +27,7 @@ internal static object CreateFrom(object value) } /// - /// Creates an instance of the + /// Creates an instance of the Enum class. /// /// the value to create an instance for. private CustomHostNameDnsRecordType(string underlyingValue) @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum CustomHostNameDnsRecordType - /// 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.Functions.Support.CustomHostNameDnsRecordType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CustomHostNameDnsRecordType e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum CustomHostNameDnsRecordType - /// 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.Functions.Support.CustomHostNameDnsRecordType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CustomHostNameDnsRecordType e2) { diff --git a/src/Functions/generated/api/Support/DatabaseType.cs b/src/Functions/generated/api/Support/DatabaseType.cs index dbb862f17547..01299568ad90 100644 --- a/src/Functions/generated/api/Support/DatabaseType.cs +++ b/src/Functions/generated/api/Support/DatabaseType.cs @@ -28,7 +28,7 @@ internal static object CreateFrom(object value) return new DatabaseType(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DatabaseType(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DatabaseType - /// 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.Functions.Support.DatabaseType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DatabaseType e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DatabaseType - /// 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.Functions.Support.DatabaseType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DatabaseType e2) { diff --git a/src/Functions/generated/api/Support/DefaultAction.cs b/src/Functions/generated/api/Support/DefaultAction.cs index 5ef6d2f86200..53fea4c83637 100644 --- a/src/Functions/generated/api/Support/DefaultAction.cs +++ b/src/Functions/generated/api/Support/DefaultAction.cs @@ -24,7 +24,7 @@ internal static object CreateFrom(object value) return new DefaultAction(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DefaultAction(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DefaultAction - /// 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.Functions.Support.DefaultAction e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DefaultAction e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DefaultAction - /// 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.Functions.Support.DefaultAction e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DefaultAction e2) { diff --git a/src/Functions/generated/api/Support/DirectoryServiceOptions.cs b/src/Functions/generated/api/Support/DirectoryServiceOptions.cs index 85656805eec1..8d7cec9571d8 100644 --- a/src/Functions/generated/api/Support/DirectoryServiceOptions.cs +++ b/src/Functions/generated/api/Support/DirectoryServiceOptions.cs @@ -26,7 +26,7 @@ internal static object CreateFrom(object value) return new DirectoryServiceOptions(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DirectoryServiceOptions(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DirectoryServiceOptions - /// 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.Functions.Support.DirectoryServiceOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DirectoryServiceOptions - /// 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.Functions.Support.DirectoryServiceOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DirectoryServiceOptions e2) { diff --git a/src/Functions/generated/api/Support/DnsType.cs b/src/Functions/generated/api/Support/DnsType.cs index 25f103abb599..ab5af00312bc 100644 --- a/src/Functions/generated/api/Support/DnsType.cs +++ b/src/Functions/generated/api/Support/DnsType.cs @@ -24,7 +24,7 @@ internal static object CreateFrom(object value) return new DnsType(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DnsType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DnsType - /// 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.Functions.Support.DnsType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DnsType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DnsType - /// 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.Functions.Support.DnsType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DnsType e2) { diff --git a/src/Functions/generated/api/Support/DnsVerificationTestResult.cs b/src/Functions/generated/api/Support/DnsVerificationTestResult.cs index 1202e28ae7bd..98b97e0685be 100644 --- a/src/Functions/generated/api/Support/DnsVerificationTestResult.cs +++ b/src/Functions/generated/api/Support/DnsVerificationTestResult.cs @@ -26,7 +26,7 @@ internal static object CreateFrom(object value) return new DnsVerificationTestResult(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DnsVerificationTestResult(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DnsVerificationTestResult - /// 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.Functions.Support.DnsVerificationTestResult e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DnsVerificationTestResult e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DnsVerificationTestResult - /// 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.Functions.Support.DnsVerificationTestResult e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DnsVerificationTestResult e2) { diff --git a/src/Functions/generated/api/Support/DomainStatus.cs b/src/Functions/generated/api/Support/DomainStatus.cs index 662f156fbbb9..eed67cde129e 100644 --- a/src/Functions/generated/api/Support/DomainStatus.cs +++ b/src/Functions/generated/api/Support/DomainStatus.cs @@ -62,7 +62,7 @@ internal static object CreateFrom(object value) return new DomainStatus(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DomainStatus(string underlyingValue) { @@ -116,8 +116,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DomainStatus - /// 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.Functions.Support.DomainStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DomainStatus e2) { @@ -125,8 +125,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DomainStatus - /// 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.Functions.Support.DomainStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DomainStatus e2) { diff --git a/src/Functions/generated/api/Support/DomainType.cs b/src/Functions/generated/api/Support/DomainType.cs index f806cb05a75c..01fe4469d4b9 100644 --- a/src/Functions/generated/api/Support/DomainType.cs +++ b/src/Functions/generated/api/Support/DomainType.cs @@ -27,7 +27,7 @@ internal static object CreateFrom(object value) return new DomainType(global::System.Convert.ToString(value)); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private DomainType(string underlyingValue) { @@ -81,8 +81,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum DomainType - /// 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.Functions.Support.DomainType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DomainType e2) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum DomainType - /// 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.Functions.Support.DomainType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.DomainType e2) { diff --git a/src/Functions/generated/api/Support/FlowType.cs b/src/Functions/generated/api/Support/FlowType.cs index 06a14d283e2f..b5efc3321f4c 100644 --- a/src/Functions/generated/api/Support/FlowType.cs +++ b/src/Functions/generated/api/Support/FlowType.cs @@ -41,7 +41,7 @@ public override bool Equals(object obj) return obj is FlowType && Equals((FlowType)obj); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private FlowType(string underlyingValue) { @@ -79,8 +79,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum FlowType - /// 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.Functions.Support.FlowType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType e2) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum FlowType - /// 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.Functions.Support.FlowType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType e2) { diff --git a/src/Functions/generated/api/Support/FrequencyUnit.cs b/src/Functions/generated/api/Support/FrequencyUnit.cs index 8eb94a14b910..8a2fe6d1c540 100644 --- a/src/Functions/generated/api/Support/FrequencyUnit.cs +++ b/src/Functions/generated/api/Support/FrequencyUnit.cs @@ -43,7 +43,7 @@ public override bool Equals(object obj) return obj is FrequencyUnit && Equals((FrequencyUnit)obj); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private FrequencyUnit(string underlyingValue) { @@ -81,8 +81,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum FrequencyUnit - /// 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.Functions.Support.FrequencyUnit e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit e2) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum FrequencyUnit - /// 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.Functions.Support.FrequencyUnit e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit e2) { diff --git a/src/Functions/generated/api/Support/FtpsState.cs b/src/Functions/generated/api/Support/FtpsState.cs index e03b7aa88403..bdaa5a2789e0 100644 --- a/src/Functions/generated/api/Support/FtpsState.cs +++ b/src/Functions/generated/api/Support/FtpsState.cs @@ -42,7 +42,7 @@ public override bool Equals(object obj) return obj is FtpsState && Equals((FtpsState)obj); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private FtpsState(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum FtpsState - /// 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.Functions.Support.FtpsState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum FtpsState - /// 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.Functions.Support.FtpsState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState e2) { diff --git a/src/Functions/generated/api/Support/GeoReplicationStatus.cs b/src/Functions/generated/api/Support/GeoReplicationStatus.cs index 3f07d9a100e3..0ee804db8ed4 100644 --- a/src/Functions/generated/api/Support/GeoReplicationStatus.cs +++ b/src/Functions/generated/api/Support/GeoReplicationStatus.cs @@ -47,7 +47,7 @@ public override bool Equals(object obj) return obj is GeoReplicationStatus && Equals((GeoReplicationStatus)obj); } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private GeoReplicationStatus(string underlyingValue) { @@ -85,8 +85,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum GeoReplicationStatus - /// 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.Functions.Support.GeoReplicationStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.GeoReplicationStatus e2) { @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum GeoReplicationStatus - /// 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.Functions.Support.GeoReplicationStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.GeoReplicationStatus e2) { diff --git a/src/Functions/generated/api/Support/HostNameType.cs b/src/Functions/generated/api/Support/HostNameType.cs index b889f6f5cc5d..0d1c9ce40f60 100644 --- a/src/Functions/generated/api/Support/HostNameType.cs +++ b/src/Functions/generated/api/Support/HostNameType.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 HostNameType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum HostNameType - /// 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.Functions.Support.HostNameType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HostNameType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum HostNameType - /// 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.Functions.Support.HostNameType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HostNameType e2) { diff --git a/src/Functions/generated/api/Support/HostType.cs b/src/Functions/generated/api/Support/HostType.cs index bf587b9debea..39fc1754525f 100644 --- a/src/Functions/generated/api/Support/HostType.cs +++ b/src/Functions/generated/api/Support/HostType.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 HostType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum HostType - /// 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.Functions.Support.HostType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HostType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum HostType - /// 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.Functions.Support.HostType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HostType e2) { diff --git a/src/Functions/generated/api/Support/HostingEnvironmentStatus.cs b/src/Functions/generated/api/Support/HostingEnvironmentStatus.cs index 47da3d925a6e..2fd2ad20e9e7 100644 --- a/src/Functions/generated/api/Support/HostingEnvironmentStatus.cs +++ b/src/Functions/generated/api/Support/HostingEnvironmentStatus.cs @@ -51,7 +51,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 HostingEnvironmentStatus(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum HostingEnvironmentStatus - /// 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.Functions.Support.HostingEnvironmentStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HostingEnvironmentStatus e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum HostingEnvironmentStatus - /// 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.Functions.Support.HostingEnvironmentStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HostingEnvironmentStatus e2) { diff --git a/src/Functions/generated/api/Support/HttpProtocol.cs b/src/Functions/generated/api/Support/HttpProtocol.cs index 5234d9fc612f..8dd64acad46f 100644 --- a/src/Functions/generated/api/Support/HttpProtocol.cs +++ b/src/Functions/generated/api/Support/HttpProtocol.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 HttpProtocol(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum HttpProtocol - /// 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.Functions.Support.HttpProtocol e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HttpProtocol e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum HttpProtocol - /// 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.Functions.Support.HttpProtocol e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.HttpProtocol e2) { diff --git a/src/Functions/generated/api/Support/IPFilterTag.cs b/src/Functions/generated/api/Support/IPFilterTag.cs index 5ec54ac9ee06..4087a6e7e3cb 100644 --- a/src/Functions/generated/api/Support/IPFilterTag.cs +++ b/src/Functions/generated/api/Support/IPFilterTag.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 IPFilterTag(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum IPFilterTag - /// 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.Functions.Support.IPFilterTag e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.IPFilterTag e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum IPFilterTag - /// 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.Functions.Support.IPFilterTag e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.IPFilterTag e2) { diff --git a/src/Functions/generated/api/Support/ImmutabilityPolicyState.cs b/src/Functions/generated/api/Support/ImmutabilityPolicyState.cs index 4c726067f2a8..7dd22382b4ca 100644 --- a/src/Functions/generated/api/Support/ImmutabilityPolicyState.cs +++ b/src/Functions/generated/api/Support/ImmutabilityPolicyState.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 ImmutabilityPolicyState(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ImmutabilityPolicyState - /// 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.Functions.Support.ImmutabilityPolicyState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyState e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ImmutabilityPolicyState - /// 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.Functions.Support.ImmutabilityPolicyState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyState e2) { diff --git a/src/Functions/generated/api/Support/ImmutabilityPolicyUpdateType.cs b/src/Functions/generated/api/Support/ImmutabilityPolicyUpdateType.cs index 218d80818f91..0054802257aa 100644 --- a/src/Functions/generated/api/Support/ImmutabilityPolicyUpdateType.cs +++ b/src/Functions/generated/api/Support/ImmutabilityPolicyUpdateType.cs @@ -54,7 +54,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 ImmutabilityPolicyUpdateType(string underlyingValue) @@ -86,8 +86,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ImmutabilityPolicyUpdateType - /// 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.Functions.Support.ImmutabilityPolicyUpdateType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyUpdateType e2) { @@ -95,8 +95,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ImmutabilityPolicyUpdateType - /// 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.Functions.Support.ImmutabilityPolicyUpdateType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ImmutabilityPolicyUpdateType e2) { diff --git a/src/Functions/generated/api/Support/InAvailabilityReasonType.cs b/src/Functions/generated/api/Support/InAvailabilityReasonType.cs index 9f8a270e7b57..251564302e75 100644 --- a/src/Functions/generated/api/Support/InAvailabilityReasonType.cs +++ b/src/Functions/generated/api/Support/InAvailabilityReasonType.cs @@ -50,7 +50,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 InAvailabilityReasonType(string underlyingValue) { @@ -81,8 +81,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum InAvailabilityReasonType - /// 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.Functions.Support.InAvailabilityReasonType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.InAvailabilityReasonType e2) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum InAvailabilityReasonType - /// 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.Functions.Support.InAvailabilityReasonType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.InAvailabilityReasonType e2) { diff --git a/src/Functions/generated/api/Support/InternalLoadBalancingMode.cs b/src/Functions/generated/api/Support/InternalLoadBalancingMode.cs index 717b765533c3..98e970801f93 100644 --- a/src/Functions/generated/api/Support/InternalLoadBalancingMode.cs +++ b/src/Functions/generated/api/Support/InternalLoadBalancingMode.cs @@ -51,7 +51,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 InternalLoadBalancingMode(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum InternalLoadBalancingMode - /// 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.Functions.Support.InternalLoadBalancingMode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.InternalLoadBalancingMode e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum InternalLoadBalancingMode - /// 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.Functions.Support.InternalLoadBalancingMode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.InternalLoadBalancingMode e2) { diff --git a/src/Functions/generated/api/Support/IssueType.cs b/src/Functions/generated/api/Support/IssueType.cs index d5dcfd43b964..1179e6bbeb63 100644 --- a/src/Functions/generated/api/Support/IssueType.cs +++ b/src/Functions/generated/api/Support/IssueType.cs @@ -59,7 +59,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 IssueType(string underlyingValue) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum IssueType - /// 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.Functions.Support.IssueType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.IssueType e2) { @@ -99,8 +99,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum IssueType - /// 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.Functions.Support.IssueType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.IssueType e2) { diff --git a/src/Functions/generated/api/Support/KeyPermission.cs b/src/Functions/generated/api/Support/KeyPermission.cs index 6239d7493764..1988f582046d 100644 --- a/src/Functions/generated/api/Support/KeyPermission.cs +++ b/src/Functions/generated/api/Support/KeyPermission.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 KeyPermission(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum KeyPermission - /// 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.Functions.Support.KeyPermission e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.KeyPermission e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum KeyPermission - /// 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.Functions.Support.KeyPermission e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.KeyPermission e2) { diff --git a/src/Functions/generated/api/Support/KeySource.cs b/src/Functions/generated/api/Support/KeySource.cs index db40210f491b..b7050280ed06 100644 --- a/src/Functions/generated/api/Support/KeySource.cs +++ b/src/Functions/generated/api/Support/KeySource.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 KeySource(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum KeySource - /// 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.Functions.Support.KeySource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.KeySource e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum KeySource - /// 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.Functions.Support.KeySource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.KeySource e2) { diff --git a/src/Functions/generated/api/Support/KeyVaultSecretStatus.cs b/src/Functions/generated/api/Support/KeyVaultSecretStatus.cs index 246551b5e58a..ac5b5ca909dd 100644 --- a/src/Functions/generated/api/Support/KeyVaultSecretStatus.cs +++ b/src/Functions/generated/api/Support/KeyVaultSecretStatus.cs @@ -65,7 +65,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 KeyVaultSecretStatus(string underlyingValue) { @@ -96,8 +96,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum KeyVaultSecretStatus - /// 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.Functions.Support.KeyVaultSecretStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.KeyVaultSecretStatus e2) { @@ -105,8 +105,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum KeyVaultSecretStatus - /// 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.Functions.Support.KeyVaultSecretStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.KeyVaultSecretStatus e2) { diff --git a/src/Functions/generated/api/Support/Kind.cs b/src/Functions/generated/api/Support/Kind.cs index 13629684261c..7c40906feef6 100644 --- a/src/Functions/generated/api/Support/Kind.cs +++ b/src/Functions/generated/api/Support/Kind.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 Kind(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Kind - /// 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.Functions.Support.Kind e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Kind e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Kind - /// 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.Functions.Support.Kind e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Kind e2) { diff --git a/src/Functions/generated/api/Support/LargeFileSharesState.cs b/src/Functions/generated/api/Support/LargeFileSharesState.cs index 659aa87106ea..c6198e03fc07 100644 --- a/src/Functions/generated/api/Support/LargeFileSharesState.cs +++ b/src/Functions/generated/api/Support/LargeFileSharesState.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 LargeFileSharesState(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum LargeFileSharesState - /// 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.Functions.Support.LargeFileSharesState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum LargeFileSharesState - /// 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.Functions.Support.LargeFileSharesState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LargeFileSharesState e2) { diff --git a/src/Functions/generated/api/Support/LeaseDuration.cs b/src/Functions/generated/api/Support/LeaseDuration.cs index 535c77967435..a520334f40f8 100644 --- a/src/Functions/generated/api/Support/LeaseDuration.cs +++ b/src/Functions/generated/api/Support/LeaseDuration.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 LeaseDuration(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum LeaseDuration - /// 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.Functions.Support.LeaseDuration e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LeaseDuration e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum LeaseDuration - /// 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.Functions.Support.LeaseDuration e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LeaseDuration e2) { diff --git a/src/Functions/generated/api/Support/LeaseState.cs b/src/Functions/generated/api/Support/LeaseState.cs index 01d5a14a4525..20f9b5022d4b 100644 --- a/src/Functions/generated/api/Support/LeaseState.cs +++ b/src/Functions/generated/api/Support/LeaseState.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 LeaseState(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum LeaseState - /// 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.Functions.Support.LeaseState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LeaseState e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum LeaseState - /// 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.Functions.Support.LeaseState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LeaseState e2) { diff --git a/src/Functions/generated/api/Support/LeaseStatus.cs b/src/Functions/generated/api/Support/LeaseStatus.cs index cd83fcf006b1..ce3e3a462d3b 100644 --- a/src/Functions/generated/api/Support/LeaseStatus.cs +++ b/src/Functions/generated/api/Support/LeaseStatus.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 LeaseStatus(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum LeaseStatus - /// 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.Functions.Support.LeaseStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LeaseStatus e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum LeaseStatus - /// 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.Functions.Support.LeaseStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LeaseStatus e2) { diff --git a/src/Functions/generated/api/Support/ListKeyExpand.cs b/src/Functions/generated/api/Support/ListKeyExpand.cs index 0d526bee504e..af9e4045162a 100644 --- a/src/Functions/generated/api/Support/ListKeyExpand.cs +++ b/src/Functions/generated/api/Support/ListKeyExpand.cs @@ -44,7 +44,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 ListKeyExpand(string underlyingValue) { @@ -75,8 +75,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ListKeyExpand - /// 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.Functions.Support.ListKeyExpand e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ListKeyExpand e2) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ListKeyExpand - /// 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.Functions.Support.ListKeyExpand e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ListKeyExpand e2) { diff --git a/src/Functions/generated/api/Support/LogLevel.cs b/src/Functions/generated/api/Support/LogLevel.cs index 49631d18c2ac..6eab36861525 100644 --- a/src/Functions/generated/api/Support/LogLevel.cs +++ b/src/Functions/generated/api/Support/LogLevel.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 LogLevel(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum LogLevel - /// 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.Functions.Support.LogLevel e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LogLevel e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum LogLevel - /// 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.Functions.Support.LogLevel e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.LogLevel e2) { diff --git a/src/Functions/generated/api/Support/MSDeployLogEntryType.cs b/src/Functions/generated/api/Support/MSDeployLogEntryType.cs index d1ff17bc03f4..3876f1b32604 100644 --- a/src/Functions/generated/api/Support/MSDeployLogEntryType.cs +++ b/src/Functions/generated/api/Support/MSDeployLogEntryType.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 MSDeployLogEntryType(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum MSDeployLogEntryType - /// 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.Functions.Support.MSDeployLogEntryType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MSDeployLogEntryType e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum MSDeployLogEntryType - /// 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.Functions.Support.MSDeployLogEntryType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MSDeployLogEntryType e2) { diff --git a/src/Functions/generated/api/Support/MSDeployProvisioningState.cs b/src/Functions/generated/api/Support/MSDeployProvisioningState.cs index 33b918992eaa..bfd4a4907cf1 100644 --- a/src/Functions/generated/api/Support/MSDeployProvisioningState.cs +++ b/src/Functions/generated/api/Support/MSDeployProvisioningState.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 MSDeployProvisioningState(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum MSDeployProvisioningState - /// 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.Functions.Support.MSDeployProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MSDeployProvisioningState e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum MSDeployProvisioningState - /// 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.Functions.Support.MSDeployProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MSDeployProvisioningState e2) { diff --git a/src/Functions/generated/api/Support/ManagedPipelineMode.cs b/src/Functions/generated/api/Support/ManagedPipelineMode.cs index e45e288f87f2..49786b100a7b 100644 --- a/src/Functions/generated/api/Support/ManagedPipelineMode.cs +++ b/src/Functions/generated/api/Support/ManagedPipelineMode.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 ManagedPipelineMode(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ManagedPipelineMode - /// 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.Functions.Support.ManagedPipelineMode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ManagedPipelineMode - /// 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.Functions.Support.ManagedPipelineMode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode e2) { diff --git a/src/Functions/generated/api/Support/ManagedServiceIdentityType.Completer.cs b/src/Functions/generated/api/Support/ManagedServiceIdentityType.Completer.cs index acea3a2eef25..4c846d274eca 100644 --- a/src/Functions/generated/api/Support/ManagedServiceIdentityType.Completer.cs +++ b/src/Functions/generated/api/Support/ManagedServiceIdentityType.Completer.cs @@ -26,10 +26,6 @@ public partial struct ManagedServiceIdentityType : /// public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) { - if (global::System.String.IsNullOrEmpty(wordToComplete) || "None".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) - { - yield return new global::System.Management.Automation.CompletionResult("'None'", "None", global::System.Management.Automation.CompletionResultType.ParameterValue, "None"); - } if (global::System.String.IsNullOrEmpty(wordToComplete) || "SystemAssigned".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) { yield return new global::System.Management.Automation.CompletionResult("'SystemAssigned'", "SystemAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "SystemAssigned"); @@ -38,6 +34,14 @@ public partial struct ManagedServiceIdentityType : { yield return new global::System.Management.Automation.CompletionResult("'UserAssigned'", "UserAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "UserAssigned"); } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "SystemAssigned, UserAssigned".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'SystemAssigned, UserAssigned'", "SystemAssigned, UserAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "SystemAssigned, UserAssigned"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "None".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'None'", "None", global::System.Management.Automation.CompletionResultType.ParameterValue, "None"); + } } } } \ No newline at end of file diff --git a/src/Functions/generated/api/Support/ManagedServiceIdentityType.cs b/src/Functions/generated/api/Support/ManagedServiceIdentityType.cs index 22bdc7ffbf2a..7311e25919d7 100644 --- a/src/Functions/generated/api/Support/ManagedServiceIdentityType.cs +++ b/src/Functions/generated/api/Support/ManagedServiceIdentityType.cs @@ -14,6 +14,8 @@ public partial struct ManagedServiceIdentityType : public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType SystemAssigned = @"SystemAssigned"; + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType SystemAssignedUserAssigned = @"SystemAssigned, UserAssigned"; + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType UserAssigned = @"UserAssigned"; /// @@ -51,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 ManagedServiceIdentityType(string underlyingValue) { @@ -82,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ManagedServiceIdentityType - /// 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.Functions.Support.ManagedServiceIdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType e2) { @@ -91,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ManagedServiceIdentityType - /// 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.Functions.Support.ManagedServiceIdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType e2) { diff --git a/src/Functions/generated/api/Support/ManagementPolicyName.cs b/src/Functions/generated/api/Support/ManagementPolicyName.cs index ed54eada1a05..414cbae0663b 100644 --- a/src/Functions/generated/api/Support/ManagementPolicyName.cs +++ b/src/Functions/generated/api/Support/ManagementPolicyName.cs @@ -44,7 +44,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 ManagementPolicyName(string underlyingValue) { @@ -75,8 +75,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ManagementPolicyName - /// 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.Functions.Support.ManagementPolicyName e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagementPolicyName e2) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ManagementPolicyName - /// 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.Functions.Support.ManagementPolicyName e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagementPolicyName e2) { diff --git a/src/Functions/generated/api/Support/MinimumTlsVersion.Completer.cs b/src/Functions/generated/api/Support/MinimumTlsVersion.Completer.cs new file mode 100644 index 000000000000..061b14f5d052 --- /dev/null +++ b/src/Functions/generated/api/Support/MinimumTlsVersion.Completer.cs @@ -0,0 +1,45 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Support +{ + + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersionTypeConverter))] + public partial struct MinimumTlsVersion : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "TLS1_0".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'TLS1_0'", "TLS1_0", global::System.Management.Automation.CompletionResultType.ParameterValue, "TLS1_0"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "TLS1_1".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'TLS1_1'", "TLS1_1", global::System.Management.Automation.CompletionResultType.ParameterValue, "TLS1_1"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "TLS1_2".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'TLS1_2'", "TLS1_2", global::System.Management.Automation.CompletionResultType.ParameterValue, "TLS1_2"); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Support/MinimumTlsVersion.TypeConverter.cs b/src/Functions/generated/api/Support/MinimumTlsVersion.TypeConverter.cs new file mode 100644 index 000000000000..faf6ab2b3d8e --- /dev/null +++ b/src/Functions/generated/api/Support/MinimumTlsVersion.TypeConverter.cs @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Support +{ + + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + public partial class MinimumTlsVersionTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// 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. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// 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. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => MinimumTlsVersion.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Support/MinimumTlsVersion.cs b/src/Functions/generated/api/Support/MinimumTlsVersion.cs new file mode 100644 index 000000000000..5fa05cab69ba --- /dev/null +++ b/src/Functions/generated/api/Support/MinimumTlsVersion.cs @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Support +{ + + /// + /// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + /// + public partial struct MinimumTlsVersion : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion Tls10 = @"TLS1_0"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion Tls11 = @"TLS1_1"; + + public static Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion Tls12 = @"TLS1_2"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to MinimumTlsVersion + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new MinimumTlsVersion(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type MinimumTlsVersion + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type MinimumTlsVersion (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is MinimumTlsVersion && Equals((MinimumTlsVersion)obj); + } + + /// Returns hashCode for enum MinimumTlsVersion + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private MinimumTlsVersion(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns string representation for MinimumTlsVersion + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to MinimumTlsVersion + /// the value to convert to an instance of . + + public static implicit operator MinimumTlsVersion(string value) + { + return new MinimumTlsVersion(value); + } + + /// Implicit operator to convert MinimumTlsVersion to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion e) + { + return e._value; + } + + /// Overriding != operator for enum MinimumTlsVersion + /// 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.Functions.Support.MinimumTlsVersion e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum MinimumTlsVersion + /// 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.Functions.Support.MinimumTlsVersion e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MinimumTlsVersion e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/api/Support/MySqlMigrationType.cs b/src/Functions/generated/api/Support/MySqlMigrationType.cs index a6eb50f90937..67a5bb715bc3 100644 --- a/src/Functions/generated/api/Support/MySqlMigrationType.cs +++ b/src/Functions/generated/api/Support/MySqlMigrationType.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 MySqlMigrationType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum MySqlMigrationType - /// 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.Functions.Support.MySqlMigrationType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MySqlMigrationType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum MySqlMigrationType - /// 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.Functions.Support.MySqlMigrationType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.MySqlMigrationType e2) { diff --git a/src/Functions/generated/api/Support/NotificationLevel.cs b/src/Functions/generated/api/Support/NotificationLevel.cs index e8160bd254f3..82c516983c59 100644 --- a/src/Functions/generated/api/Support/NotificationLevel.cs +++ b/src/Functions/generated/api/Support/NotificationLevel.cs @@ -51,7 +51,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 NotificationLevel(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum NotificationLevel - /// 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.Functions.Support.NotificationLevel e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.NotificationLevel e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum NotificationLevel - /// 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.Functions.Support.NotificationLevel e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.NotificationLevel e2) { diff --git a/src/Functions/generated/api/Support/OperationStatus.cs b/src/Functions/generated/api/Support/OperationStatus.cs index e133bb4b21d9..a11de3b0c0dc 100644 --- a/src/Functions/generated/api/Support/OperationStatus.cs +++ b/src/Functions/generated/api/Support/OperationStatus.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 OperationStatus(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum OperationStatus - /// 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.Functions.Support.OperationStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.OperationStatus e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum OperationStatus - /// 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.Functions.Support.OperationStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.OperationStatus e2) { diff --git a/src/Functions/generated/api/Support/Permissions.cs b/src/Functions/generated/api/Support/Permissions.cs index aaa338d937d8..641bb7f6dd4b 100644 --- a/src/Functions/generated/api/Support/Permissions.cs +++ b/src/Functions/generated/api/Support/Permissions.cs @@ -62,7 +62,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 Permissions(string underlyingValue) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Permissions - /// 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.Functions.Support.Permissions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Permissions e2) { @@ -102,8 +102,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Permissions - /// 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.Functions.Support.Permissions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Permissions e2) { diff --git a/src/Functions/generated/api/Support/ProvisioningState.cs b/src/Functions/generated/api/Support/ProvisioningState.cs index 064137c5d62e..8dc9f95512bf 100644 --- a/src/Functions/generated/api/Support/ProvisioningState.cs +++ b/src/Functions/generated/api/Support/ProvisioningState.cs @@ -57,7 +57,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 ProvisioningState(string underlyingValue) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ProvisioningState - /// 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.Functions.Support.ProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState e2) { @@ -97,8 +97,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ProvisioningState - /// 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.Functions.Support.ProvisioningState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ProvisioningState e2) { diff --git a/src/Functions/generated/api/Support/PublicAccess.cs b/src/Functions/generated/api/Support/PublicAccess.cs index 809ddaecc6d0..44c88a0db063 100644 --- a/src/Functions/generated/api/Support/PublicAccess.cs +++ b/src/Functions/generated/api/Support/PublicAccess.cs @@ -51,7 +51,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 PublicAccess(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum PublicAccess - /// 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.Functions.Support.PublicAccess e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PublicAccess e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum PublicAccess - /// 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.Functions.Support.PublicAccess e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PublicAccess e2) { diff --git a/src/Functions/generated/api/Support/PublicCertificateLocation.cs b/src/Functions/generated/api/Support/PublicCertificateLocation.cs index e15f74537d68..b128d35a0ff3 100644 --- a/src/Functions/generated/api/Support/PublicCertificateLocation.cs +++ b/src/Functions/generated/api/Support/PublicCertificateLocation.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 PublicCertificateLocation(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum PublicCertificateLocation - /// 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.Functions.Support.PublicCertificateLocation e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PublicCertificateLocation e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum PublicCertificateLocation - /// 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.Functions.Support.PublicCertificateLocation e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PublicCertificateLocation e2) { diff --git a/src/Functions/generated/api/Support/PublishingProfileFormat.cs b/src/Functions/generated/api/Support/PublishingProfileFormat.cs index b0fc146b2f54..75cd91713189 100644 --- a/src/Functions/generated/api/Support/PublishingProfileFormat.cs +++ b/src/Functions/generated/api/Support/PublishingProfileFormat.cs @@ -54,7 +54,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 PublishingProfileFormat(string underlyingValue) { @@ -85,8 +85,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum PublishingProfileFormat - /// 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.Functions.Support.PublishingProfileFormat e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PublishingProfileFormat e2) { @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum PublishingProfileFormat - /// 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.Functions.Support.PublishingProfileFormat e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PublishingProfileFormat e2) { diff --git a/src/Functions/generated/api/Support/PurgeState.cs b/src/Functions/generated/api/Support/PurgeState.cs index 8ae4e27342ba..7a783cdb2ff6 100644 --- a/src/Functions/generated/api/Support/PurgeState.cs +++ b/src/Functions/generated/api/Support/PurgeState.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 PurgeState(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum PurgeState - /// 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.Functions.Support.PurgeState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PurgeState e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum PurgeState - /// 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.Functions.Support.PurgeState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.PurgeState e2) { diff --git a/src/Functions/generated/api/Support/Reason.cs b/src/Functions/generated/api/Support/Reason.cs index 22338b8218ad..b313ce359c40 100644 --- a/src/Functions/generated/api/Support/Reason.cs +++ b/src/Functions/generated/api/Support/Reason.cs @@ -50,7 +50,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 Reason(string underlyingValue) { @@ -81,8 +81,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Reason - /// 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.Functions.Support.Reason e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Reason e2) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Reason - /// 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.Functions.Support.Reason e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Reason e2) { diff --git a/src/Functions/generated/api/Support/ReasonCode.cs b/src/Functions/generated/api/Support/ReasonCode.cs index d83cb0f800f2..8f4597caa3bb 100644 --- a/src/Functions/generated/api/Support/ReasonCode.cs +++ b/src/Functions/generated/api/Support/ReasonCode.cs @@ -51,7 +51,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 ReasonCode(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ReasonCode - /// 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.Functions.Support.ReasonCode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonCode e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ReasonCode - /// 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.Functions.Support.ReasonCode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ReasonCode e2) { diff --git a/src/Functions/generated/api/Support/RedundancyMode.cs b/src/Functions/generated/api/Support/RedundancyMode.cs index ded8ddcb80d2..e7e063031464 100644 --- a/src/Functions/generated/api/Support/RedundancyMode.cs +++ b/src/Functions/generated/api/Support/RedundancyMode.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 RedundancyMode(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum RedundancyMode - /// 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.Functions.Support.RedundancyMode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum RedundancyMode - /// 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.Functions.Support.RedundancyMode e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode e2) { diff --git a/src/Functions/generated/api/Support/RenderingType.cs b/src/Functions/generated/api/Support/RenderingType.cs index 7f9b37d5dbd7..5a703ee6ec56 100644 --- a/src/Functions/generated/api/Support/RenderingType.cs +++ b/src/Functions/generated/api/Support/RenderingType.cs @@ -51,7 +51,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 RenderingType(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum RenderingType - /// 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.Functions.Support.RenderingType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RenderingType e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum RenderingType - /// 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.Functions.Support.RenderingType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RenderingType e2) { diff --git a/src/Functions/generated/api/Support/RequestSource.cs b/src/Functions/generated/api/Support/RequestSource.cs index c2ee459328b7..87a0aeb69857 100644 --- a/src/Functions/generated/api/Support/RequestSource.cs +++ b/src/Functions/generated/api/Support/RequestSource.cs @@ -48,7 +48,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 RequestSource(string underlyingValue) { @@ -79,8 +79,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum RequestSource - /// 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.Functions.Support.RequestSource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource e2) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum RequestSource - /// 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.Functions.Support.RequestSource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource e2) { diff --git a/src/Functions/generated/api/Support/ResolveStatus.cs b/src/Functions/generated/api/Support/ResolveStatus.cs index 4c8402daeb14..3bf80f329493 100644 --- a/src/Functions/generated/api/Support/ResolveStatus.cs +++ b/src/Functions/generated/api/Support/ResolveStatus.cs @@ -60,7 +60,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 ResolveStatus(string underlyingValue) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ResolveStatus - /// 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.Functions.Support.ResolveStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ResolveStatus e2) { @@ -100,8 +100,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ResolveStatus - /// 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.Functions.Support.ResolveStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ResolveStatus e2) { diff --git a/src/Functions/generated/api/Support/ResourceScopeType.cs b/src/Functions/generated/api/Support/ResourceScopeType.cs index 1f2965249e20..031d0a765bb6 100644 --- a/src/Functions/generated/api/Support/ResourceScopeType.cs +++ b/src/Functions/generated/api/Support/ResourceScopeType.cs @@ -51,7 +51,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 ResourceScopeType(string underlyingValue) { @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ResourceScopeType - /// 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.Functions.Support.ResourceScopeType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ResourceScopeType e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ResourceScopeType - /// 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.Functions.Support.ResourceScopeType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ResourceScopeType e2) { diff --git a/src/Functions/generated/api/Support/RouteType.cs b/src/Functions/generated/api/Support/RouteType.cs index 7d3ccf399c9a..42e80ca1708e 100644 --- a/src/Functions/generated/api/Support/RouteType.cs +++ b/src/Functions/generated/api/Support/RouteType.cs @@ -55,7 +55,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 RouteType(string underlyingValue) { @@ -86,8 +86,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum RouteType - /// 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.Functions.Support.RouteType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RouteType e2) { @@ -95,8 +95,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum RouteType - /// 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.Functions.Support.RouteType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RouteType e2) { diff --git a/src/Functions/generated/api/Support/ScmType.cs b/src/Functions/generated/api/Support/ScmType.cs index e121b2aa3b6b..70077c43250b 100644 --- a/src/Functions/generated/api/Support/ScmType.cs +++ b/src/Functions/generated/api/Support/ScmType.cs @@ -71,7 +71,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 ScmType(string underlyingValue) { @@ -102,8 +102,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ScmType - /// 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.Functions.Support.ScmType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType e2) { @@ -111,8 +111,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ScmType - /// 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.Functions.Support.ScmType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType e2) { diff --git a/src/Functions/generated/api/Support/Services.cs b/src/Functions/generated/api/Support/Services.cs index 155cf310aafe..d0dca60b0fbe 100644 --- a/src/Functions/generated/api/Support/Services.cs +++ b/src/Functions/generated/api/Support/Services.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 Services(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum Services - /// 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.Functions.Support.Services e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Services e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum Services - /// 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.Functions.Support.Services e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.Services e2) { diff --git a/src/Functions/generated/api/Support/SignedResource.cs b/src/Functions/generated/api/Support/SignedResource.cs index 09ed7ff33c09..da0ea8dfb55c 100644 --- a/src/Functions/generated/api/Support/SignedResource.cs +++ b/src/Functions/generated/api/Support/SignedResource.cs @@ -54,7 +54,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 SignedResource(string underlyingValue) { @@ -85,8 +85,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SignedResource - /// 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.Functions.Support.SignedResource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SignedResource e2) { @@ -94,8 +94,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SignedResource - /// 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.Functions.Support.SignedResource e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SignedResource e2) { diff --git a/src/Functions/generated/api/Support/SignedResourceTypes.cs b/src/Functions/generated/api/Support/SignedResourceTypes.cs index 9bbe3360e5eb..fb6590591ee9 100644 --- a/src/Functions/generated/api/Support/SignedResourceTypes.cs +++ b/src/Functions/generated/api/Support/SignedResourceTypes.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 SignedResourceTypes(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SignedResourceTypes - /// 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.Functions.Support.SignedResourceTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SignedResourceTypes e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SignedResourceTypes - /// 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.Functions.Support.SignedResourceTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SignedResourceTypes e2) { diff --git a/src/Functions/generated/api/Support/SiteAvailabilityState.cs b/src/Functions/generated/api/Support/SiteAvailabilityState.cs index ff795b19c1df..26ed43e433de 100644 --- a/src/Functions/generated/api/Support/SiteAvailabilityState.cs +++ b/src/Functions/generated/api/Support/SiteAvailabilityState.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 SiteAvailabilityState(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SiteAvailabilityState - /// 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.Functions.Support.SiteAvailabilityState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteAvailabilityState e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SiteAvailabilityState - /// 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.Functions.Support.SiteAvailabilityState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteAvailabilityState e2) { diff --git a/src/Functions/generated/api/Support/SiteExtensionType.cs b/src/Functions/generated/api/Support/SiteExtensionType.cs index fba14a487afa..7976c94ade7c 100644 --- a/src/Functions/generated/api/Support/SiteExtensionType.cs +++ b/src/Functions/generated/api/Support/SiteExtensionType.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 SiteExtensionType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SiteExtensionType - /// 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.Functions.Support.SiteExtensionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteExtensionType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SiteExtensionType - /// 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.Functions.Support.SiteExtensionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteExtensionType e2) { diff --git a/src/Functions/generated/api/Support/SiteLoadBalancing.cs b/src/Functions/generated/api/Support/SiteLoadBalancing.cs index cd565e38cbff..59b848ed8042 100644 --- a/src/Functions/generated/api/Support/SiteLoadBalancing.cs +++ b/src/Functions/generated/api/Support/SiteLoadBalancing.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 SiteLoadBalancing(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SiteLoadBalancing - /// 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.Functions.Support.SiteLoadBalancing e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SiteLoadBalancing - /// 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.Functions.Support.SiteLoadBalancing e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing e2) { diff --git a/src/Functions/generated/api/Support/SiteRuntimeState.cs b/src/Functions/generated/api/Support/SiteRuntimeState.cs index 899550a37c92..48fe90f27b78 100644 --- a/src/Functions/generated/api/Support/SiteRuntimeState.cs +++ b/src/Functions/generated/api/Support/SiteRuntimeState.cs @@ -48,7 +48,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 SiteRuntimeState(string underlyingValue) { @@ -79,8 +79,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SiteRuntimeState - /// 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.Functions.Support.SiteRuntimeState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteRuntimeState e2) { @@ -88,8 +88,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SiteRuntimeState - /// 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.Functions.Support.SiteRuntimeState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteRuntimeState e2) { diff --git a/src/Functions/generated/api/Support/SkuName.cs b/src/Functions/generated/api/Support/SkuName.cs index d1ba9f098098..010249e0be9a 100644 --- a/src/Functions/generated/api/Support/SkuName.cs +++ b/src/Functions/generated/api/Support/SkuName.cs @@ -82,7 +82,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 SkuName(string underlyingValue) { @@ -113,8 +113,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SkuName - /// 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.Functions.Support.SkuName e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SkuName e2) { @@ -122,8 +122,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SkuName - /// 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.Functions.Support.SkuName e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SkuName e2) { diff --git a/src/Functions/generated/api/Support/SkuTier.cs b/src/Functions/generated/api/Support/SkuTier.cs index 9a19daa50114..6191cc2b2b9c 100644 --- a/src/Functions/generated/api/Support/SkuTier.cs +++ b/src/Functions/generated/api/Support/SkuTier.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 SkuTier(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SkuTier - /// 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.Functions.Support.SkuTier e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SkuTier e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SkuTier - /// 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.Functions.Support.SkuTier e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SkuTier e2) { diff --git a/src/Functions/generated/api/Support/SolutionType.cs b/src/Functions/generated/api/Support/SolutionType.cs index 5c4e1ec1748b..c47641883a0b 100644 --- a/src/Functions/generated/api/Support/SolutionType.cs +++ b/src/Functions/generated/api/Support/SolutionType.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 SolutionType(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SolutionType - /// 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.Functions.Support.SolutionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SolutionType e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SolutionType - /// 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.Functions.Support.SolutionType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SolutionType e2) { diff --git a/src/Functions/generated/api/Support/SslState.cs b/src/Functions/generated/api/Support/SslState.cs index 5a67e557206e..24fdc6b3551d 100644 --- a/src/Functions/generated/api/Support/SslState.cs +++ b/src/Functions/generated/api/Support/SslState.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 SslState(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SslState - /// 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.Functions.Support.SslState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SslState e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SslState - /// 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.Functions.Support.SslState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SslState e2) { diff --git a/src/Functions/generated/api/Support/State.cs b/src/Functions/generated/api/Support/State.cs index af71c4a49e4e..c14c0195a638 100644 --- a/src/Functions/generated/api/Support/State.cs +++ b/src/Functions/generated/api/Support/State.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 State(string underlyingValue) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum State - /// 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.Functions.Support.State e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.State e2) { @@ -93,8 +93,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum State - /// 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.Functions.Support.State e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.State e2) { diff --git a/src/Functions/generated/api/Support/StatusOptions.cs b/src/Functions/generated/api/Support/StatusOptions.cs index 07fe0739b51e..a194e9594b87 100644 --- a/src/Functions/generated/api/Support/StatusOptions.cs +++ b/src/Functions/generated/api/Support/StatusOptions.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 StatusOptions(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum StatusOptions - /// 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.Functions.Support.StatusOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.StatusOptions e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum StatusOptions - /// 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.Functions.Support.StatusOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.StatusOptions e2) { diff --git a/src/Functions/generated/api/Support/StorageAccountExpand.cs b/src/Functions/generated/api/Support/StorageAccountExpand.cs index af01d52b1849..a487c25c49bc 100644 --- a/src/Functions/generated/api/Support/StorageAccountExpand.cs +++ b/src/Functions/generated/api/Support/StorageAccountExpand.cs @@ -44,7 +44,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 StorageAccountExpand(string underlyingValue) { @@ -75,8 +75,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum StorageAccountExpand - /// 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.Functions.Support.StorageAccountExpand e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.StorageAccountExpand e2) { @@ -84,8 +84,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum StorageAccountExpand - /// 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.Functions.Support.StorageAccountExpand e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.StorageAccountExpand e2) { diff --git a/src/Functions/generated/api/Support/SupportedTlsVersions.cs b/src/Functions/generated/api/Support/SupportedTlsVersions.cs index b5b5aef7f06d..8844f5eb475f 100644 --- a/src/Functions/generated/api/Support/SupportedTlsVersions.cs +++ b/src/Functions/generated/api/Support/SupportedTlsVersions.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 SupportedTlsVersions(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum SupportedTlsVersions - /// 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.Functions.Support.SupportedTlsVersions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum SupportedTlsVersions - /// 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.Functions.Support.SupportedTlsVersions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions e2) { diff --git a/src/Functions/generated/api/Support/TriggerTypes.cs b/src/Functions/generated/api/Support/TriggerTypes.cs index f27d057755b3..2ccb1dba6579 100644 --- a/src/Functions/generated/api/Support/TriggerTypes.cs +++ b/src/Functions/generated/api/Support/TriggerTypes.cs @@ -54,7 +54,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private TriggerTypes(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum TriggerTypes - /// 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.Functions.Support.TriggerTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.TriggerTypes e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum TriggerTypes - /// 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.Functions.Support.TriggerTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.TriggerTypes e2) { diff --git a/src/Functions/generated/api/Support/TriggeredWebJobStatus.cs b/src/Functions/generated/api/Support/TriggeredWebJobStatus.cs index 8f6e685a62b7..e6d09cd437b2 100644 --- a/src/Functions/generated/api/Support/TriggeredWebJobStatus.cs +++ b/src/Functions/generated/api/Support/TriggeredWebJobStatus.cs @@ -56,7 +56,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private TriggeredWebJobStatus(string underlyingValue) { @@ -80,8 +80,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum TriggeredWebJobStatus - /// 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.Functions.Support.TriggeredWebJobStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.TriggeredWebJobStatus e2) { @@ -89,8 +89,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum TriggeredWebJobStatus - /// 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.Functions.Support.TriggeredWebJobStatus e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.TriggeredWebJobStatus e2) { diff --git a/src/Functions/generated/api/Support/UnauthenticatedClientAction.cs b/src/Functions/generated/api/Support/UnauthenticatedClientAction.cs index 7e83a2d31526..bd7809780cb5 100644 --- a/src/Functions/generated/api/Support/UnauthenticatedClientAction.cs +++ b/src/Functions/generated/api/Support/UnauthenticatedClientAction.cs @@ -57,7 +57,7 @@ public override string ToString() } /// - /// Creates an instance of the + /// Creates an instance of the Enum class. /// /// the value to create an instance for. private UnauthenticatedClientAction(string underlyingValue) @@ -82,8 +82,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum UnauthenticatedClientAction - /// 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.Functions.Support.UnauthenticatedClientAction e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UnauthenticatedClientAction e2) { @@ -91,8 +91,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum UnauthenticatedClientAction - /// 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.Functions.Support.UnauthenticatedClientAction e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UnauthenticatedClientAction e2) { diff --git a/src/Functions/generated/api/Support/UsageState.cs b/src/Functions/generated/api/Support/UsageState.cs index b0c146861597..df86822ca7c9 100644 --- a/src/Functions/generated/api/Support/UsageState.cs +++ b/src/Functions/generated/api/Support/UsageState.cs @@ -54,7 +54,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private UsageState(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum UsageState - /// 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.Functions.Support.UsageState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageState e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum UsageState - /// 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.Functions.Support.UsageState e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageState e2) { diff --git a/src/Functions/generated/api/Support/UsageUnit.cs b/src/Functions/generated/api/Support/UsageUnit.cs index d9d57975efe6..d27902a1b14f 100644 --- a/src/Functions/generated/api/Support/UsageUnit.cs +++ b/src/Functions/generated/api/Support/UsageUnit.cs @@ -62,7 +62,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private UsageUnit(string underlyingValue) { @@ -86,8 +86,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum UsageUnit - /// 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.Functions.Support.UsageUnit e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageUnit e2) { @@ -95,8 +95,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum UsageUnit - /// 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.Functions.Support.UsageUnit e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageUnit e2) { diff --git a/src/Functions/generated/api/Support/ValidateResourceTypes.cs b/src/Functions/generated/api/Support/ValidateResourceTypes.cs index 7776dba13f87..9584b364dfac 100644 --- a/src/Functions/generated/api/Support/ValidateResourceTypes.cs +++ b/src/Functions/generated/api/Support/ValidateResourceTypes.cs @@ -54,7 +54,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private ValidateResourceTypes(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum ValidateResourceTypes - /// 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.Functions.Support.ValidateResourceTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum ValidateResourceTypes - /// 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.Functions.Support.ValidateResourceTypes e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes e2) { diff --git a/src/Functions/generated/api/Support/WebJobType.cs b/src/Functions/generated/api/Support/WebJobType.cs index e4444f06c51e..674a2e1ebbd2 100644 --- a/src/Functions/generated/api/Support/WebJobType.cs +++ b/src/Functions/generated/api/Support/WebJobType.cs @@ -54,7 +54,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private WebJobType(string underlyingValue) { @@ -78,8 +78,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum WebJobType - /// 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.Functions.Support.WebJobType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.WebJobType e2) { @@ -87,8 +87,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum WebJobType - /// 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.Functions.Support.WebJobType e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.WebJobType e2) { diff --git a/src/Functions/generated/api/Support/WorkerSizeOptions.cs b/src/Functions/generated/api/Support/WorkerSizeOptions.cs index 724e9b7488d0..bb55ff3a1ce2 100644 --- a/src/Functions/generated/api/Support/WorkerSizeOptions.cs +++ b/src/Functions/generated/api/Support/WorkerSizeOptions.cs @@ -66,7 +66,7 @@ public override string ToString() return this._value; } - /// Creates an instance of the + /// Creates an instance of the Enum class. /// the value to create an instance for. private WorkerSizeOptions(string underlyingValue) { @@ -90,8 +90,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding != operator for enum WorkerSizeOptions - /// 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.Functions.Support.WorkerSizeOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.WorkerSizeOptions e2) { @@ -99,8 +99,8 @@ public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.Functi } /// Overriding == operator for enum WorkerSizeOptions - /// 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.Functions.Support.WorkerSizeOptions e1, Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.WorkerSizeOptions e2) { diff --git a/src/Functions/generated/cmdlets/BackupAzFunctionApp_Backup.cs b/src/Functions/generated/cmdlets/BackupAzFunctionApp_Backup.cs index 05a48ddc8baa..5e6311d86b2c 100644 --- a/src/Functions/generated/cmdlets/BackupAzFunctionApp_Backup.cs +++ b/src/Functions/generated/cmdlets/BackupAzFunctionApp_Backup.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// /// [OpenAPI] Backup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Backup, @"AzFunctionApp_Backup", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupItem))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a backup of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a backup of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class BackupAzFunctionApp_Backup : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class BackupAzFunctionApp_Backup : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -193,6 +193,11 @@ public BackupAzFunctionApp_Backup() /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -204,7 +209,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -307,7 +312,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupExpanded.cs b/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupExpanded.cs index d829586c334b..a845be390f49 100644 --- a/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupExpanded.cs +++ b/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// /// [OpenAPI] Backup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Backup, @"AzFunctionApp_BackupExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupItem))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a backup of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a backup of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class BackupAzFunctionApp_BackupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,9 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Description of a backup which will be performed. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest _requestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.BackupRequest(); + /// Name of the backup. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the backup.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +46,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"Name of the backup.", SerializedName = @"backupName", PossibleTypes = new [] { typeof(string) })] - public string BackupName { get => RequestBody.BackupName ?? null; set => RequestBody.BackupName = value; } + public string BackupName { get => _requestBody.BackupName ?? null; set => _requestBody.BackupName = value; } /// /// How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set @@ -57,7 +60,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)", SerializedName = @"frequencyInterval", PossibleTypes = new [] { typeof(int) })] - public int BackupScheduleFrequencyInterval { get => RequestBody.BackupScheduleFrequencyInterval ?? default(int); set => RequestBody.BackupScheduleFrequencyInterval = value; } + public int BackupScheduleFrequencyInterval { get => _requestBody.BackupScheduleFrequencyInterval ?? default(int); set => _requestBody.BackupScheduleFrequencyInterval = value; } /// /// The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval @@ -72,7 +75,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem SerializedName = @"frequencyUnit", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit BackupScheduleFrequencyUnit { get => RequestBody.BackupScheduleFrequencyUnit ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit)""); set => RequestBody.BackupScheduleFrequencyUnit = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit BackupScheduleFrequencyUnit { get => _requestBody.BackupScheduleFrequencyUnit ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit)""); set => _requestBody.BackupScheduleFrequencyUnit = value; } /// /// True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; @@ -86,7 +89,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.", SerializedName = @"keepAtLeastOneBackup", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter BackupScheduleKeepAtLeastOneBackup { get => RequestBody.BackupScheduleKeepAtLeastOneBackup ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.BackupScheduleKeepAtLeastOneBackup = value; } + public global::System.Management.Automation.SwitchParameter BackupScheduleKeepAtLeastOneBackup { get => _requestBody.BackupScheduleKeepAtLeastOneBackup ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.BackupScheduleKeepAtLeastOneBackup = value; } /// After how many days backups should be deleted. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "After how many days backups should be deleted.")] @@ -97,7 +100,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"After how many days backups should be deleted.", SerializedName = @"retentionPeriodInDays", PossibleTypes = new [] { typeof(int) })] - public int BackupScheduleRetentionPeriodInDay { get => RequestBody.BackupScheduleRetentionPeriodInDay ?? default(int); set => RequestBody.BackupScheduleRetentionPeriodInDay = value; } + public int BackupScheduleRetentionPeriodInDay { get => _requestBody.BackupScheduleRetentionPeriodInDay ?? default(int); set => _requestBody.BackupScheduleRetentionPeriodInDay = value; } /// When the schedule should start working. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "When the schedule should start working.")] @@ -108,7 +111,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"When the schedule should start working.", SerializedName = @"startTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime BackupScheduleStartTime { get => RequestBody.BackupScheduleStartTime ?? default(global::System.DateTime); set => RequestBody.BackupScheduleStartTime = value; } + public global::System.DateTime BackupScheduleStartTime { get => _requestBody.BackupScheduleStartTime ?? default(global::System.DateTime); set => _requestBody.BackupScheduleStartTime = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -128,7 +131,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"Databases included in the backup.", SerializedName = @"databases", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => RequestBody.Database ?? null /* arrayOf */; set => RequestBody.Database = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => _requestBody.Database ?? null /* arrayOf */; set => _requestBody.Database = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -150,7 +153,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => RequestBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _requestBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.Enabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -176,14 +179,14 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => RequestBody.Kind ?? null; set => RequestBody.Kind = value; } + public string Kind { get => _requestBody.Kind ?? null; set => _requestBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -221,12 +224,6 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest _requestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.BackupRequest(); - - /// Description of a backup which will be performed. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest RequestBody { get => this._requestBody; set => this._requestBody = value; } - /// Backing field for property. private string _resourceGroupName; @@ -250,7 +247,7 @@ public partial class BackupAzFunctionApp_BackupExpanded : global::System.Managem Description = @"SAS URL to the container.", SerializedName = @"storageAccountUrl", PossibleTypes = new [] { typeof(string) })] - public string StorageAccountUrl { get => RequestBody.StorageAccountUrl ?? null; set => RequestBody.StorageAccountUrl = value; } + public string StorageAccountUrl { get => _requestBody.StorageAccountUrl ?? null; set => _requestBody.StorageAccountUrl = value; } /// Backing field for property. private string _subscriptionId; @@ -309,6 +306,11 @@ public BackupAzFunctionApp_BackupExpanded() /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -320,7 +322,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -423,7 +425,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -438,12 +439,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsBackup(ResourceGroupName, Name, SubscriptionId, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsBackup(ResourceGroupName, Name, SubscriptionId, _requestBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=RequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_requestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -489,14 +490,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentity.cs b/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentity.cs index b8b0e618006c..18132b481ec2 100644 --- a/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentity.cs +++ b/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// /// [OpenAPI] Backup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Backup, @"AzFunctionApp_BackupViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupItem))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a backup of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a backup of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class BackupAzFunctionApp_BackupViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class BackupAzFunctionApp_BackupViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -153,6 +153,11 @@ public BackupAzFunctionApp_BackupViaIdentity() /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -164,7 +169,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -267,7 +272,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentityExpanded.cs index a46bf2142f97..88ac042aae12 100644 --- a/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/BackupAzFunctionApp_BackupViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates a backup of an app. + /// Creates a backup of an app. /// /// [OpenAPI] Backup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Backup, @"AzFunctionApp_BackupViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupItem))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a backup of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a backup of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,9 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Description of a backup which will be performed. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest _requestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.BackupRequest(); + /// Name of the backup. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the backup.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +46,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"Name of the backup.", SerializedName = @"backupName", PossibleTypes = new [] { typeof(string) })] - public string BackupName { get => RequestBody.BackupName ?? null; set => RequestBody.BackupName = value; } + public string BackupName { get => _requestBody.BackupName ?? null; set => _requestBody.BackupName = value; } /// /// How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set @@ -57,7 +60,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)", SerializedName = @"frequencyInterval", PossibleTypes = new [] { typeof(int) })] - public int BackupScheduleFrequencyInterval { get => RequestBody.BackupScheduleFrequencyInterval ?? default(int); set => RequestBody.BackupScheduleFrequencyInterval = value; } + public int BackupScheduleFrequencyInterval { get => _requestBody.BackupScheduleFrequencyInterval ?? default(int); set => _requestBody.BackupScheduleFrequencyInterval = value; } /// /// The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval @@ -72,7 +75,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys SerializedName = @"frequencyUnit", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit BackupScheduleFrequencyUnit { get => RequestBody.BackupScheduleFrequencyUnit ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit)""); set => RequestBody.BackupScheduleFrequencyUnit = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit BackupScheduleFrequencyUnit { get => _requestBody.BackupScheduleFrequencyUnit ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit)""); set => _requestBody.BackupScheduleFrequencyUnit = value; } /// /// True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; @@ -86,7 +89,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.", SerializedName = @"keepAtLeastOneBackup", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter BackupScheduleKeepAtLeastOneBackup { get => RequestBody.BackupScheduleKeepAtLeastOneBackup ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.BackupScheduleKeepAtLeastOneBackup = value; } + public global::System.Management.Automation.SwitchParameter BackupScheduleKeepAtLeastOneBackup { get => _requestBody.BackupScheduleKeepAtLeastOneBackup ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.BackupScheduleKeepAtLeastOneBackup = value; } /// After how many days backups should be deleted. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "After how many days backups should be deleted.")] @@ -97,7 +100,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"After how many days backups should be deleted.", SerializedName = @"retentionPeriodInDays", PossibleTypes = new [] { typeof(int) })] - public int BackupScheduleRetentionPeriodInDay { get => RequestBody.BackupScheduleRetentionPeriodInDay ?? default(int); set => RequestBody.BackupScheduleRetentionPeriodInDay = value; } + public int BackupScheduleRetentionPeriodInDay { get => _requestBody.BackupScheduleRetentionPeriodInDay ?? default(int); set => _requestBody.BackupScheduleRetentionPeriodInDay = value; } /// When the schedule should start working. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "When the schedule should start working.")] @@ -108,7 +111,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"When the schedule should start working.", SerializedName = @"startTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime BackupScheduleStartTime { get => RequestBody.BackupScheduleStartTime ?? default(global::System.DateTime); set => RequestBody.BackupScheduleStartTime = value; } + public global::System.DateTime BackupScheduleStartTime { get => _requestBody.BackupScheduleStartTime ?? default(global::System.DateTime); set => _requestBody.BackupScheduleStartTime = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -128,7 +131,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"Databases included in the backup.", SerializedName = @"databases", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => RequestBody.Database ?? null /* arrayOf */; set => RequestBody.Database = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => _requestBody.Database ?? null /* arrayOf */; set => _requestBody.Database = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -150,7 +153,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => RequestBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _requestBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.Enabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -184,14 +187,14 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => RequestBody.Kind ?? null; set => RequestBody.Kind = value; } + public string Kind { get => _requestBody.Kind ?? null; set => _requestBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -215,12 +218,6 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest _requestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.BackupRequest(); - - /// Description of a backup which will be performed. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest RequestBody { get => this._requestBody; set => this._requestBody = value; } - /// SAS URL to the container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SAS URL to the container.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -230,7 +227,7 @@ public partial class BackupAzFunctionApp_BackupViaIdentityExpanded : global::Sys Description = @"SAS URL to the container.", SerializedName = @"storageAccountUrl", PossibleTypes = new [] { typeof(string) })] - public string StorageAccountUrl { get => RequestBody.StorageAccountUrl ?? null; set => RequestBody.StorageAccountUrl = value; } + public string StorageAccountUrl { get => _requestBody.StorageAccountUrl ?? null; set => _requestBody.StorageAccountUrl = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -269,6 +266,11 @@ public BackupAzFunctionApp_BackupViaIdentityExpanded() /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -280,7 +282,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -383,7 +385,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -400,7 +401,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsBackupViaIdentity(InputObject.Id, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsBackupViaIdentity(InputObject.Id, _requestBody, onOk, onDefault, this, Pipeline); } else { @@ -417,13 +418,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsBackup(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsBackup(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _requestBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -469,14 +470,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_Get.cs b/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_Get.cs index 3f1c626b697c..a5bd601e204d 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_Get.cs @@ -81,11 +81,11 @@ public partial class GetAzAppInsightsApiKey_Get : global::System.Management.Auto public string KeyId { get => this._keyId; set => this._keyId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -174,6 +174,11 @@ public partial class GetAzAppInsightsApiKey_Get : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -185,7 +190,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -293,7 +298,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_GetViaIdentity.cs index 0d2a536d7237..d9fb1c069712 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_GetViaIdentity.cs @@ -75,11 +75,11 @@ public partial class GetAzAppInsightsApiKey_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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -120,6 +120,11 @@ public partial class GetAzAppInsightsApiKey_GetViaIdentity : global::System.Mana /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -131,7 +136,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -239,7 +244,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_List.cs b/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_List.cs index 2714d6705e57..40f9027e9505 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_List.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsightsApiKey_List.cs @@ -67,11 +67,11 @@ public partial class GetAzAppInsightsApiKey_List : global::System.Management.Aut 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -160,6 +160,11 @@ public partial class GetAzAppInsightsApiKey_List : global::System.Management.Aut /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -171,7 +176,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -279,7 +284,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzAppInsights_Get.cs b/src/Functions/generated/cmdlets/GetAzAppInsights_Get.cs index a8f75d908758..6453d9ca0257 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsights_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsights_Get.cs @@ -67,11 +67,11 @@ public partial class GetAzAppInsights_Get : global::System.Management.Automation 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -160,6 +160,11 @@ public partial class GetAzAppInsights_Get : global::System.Management.Automation /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -171,7 +176,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -279,7 +284,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzAppInsights_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzAppInsights_GetViaIdentity.cs index f7a2d6532ab3..4c899a2eea18 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsights_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsights_GetViaIdentity.cs @@ -75,11 +75,11 @@ public partial class GetAzAppInsights_GetViaIdentity : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -120,6 +120,11 @@ public partial class GetAzAppInsights_GetViaIdentity : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -131,7 +136,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -239,7 +244,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzAppInsights_List.cs b/src/Functions/generated/cmdlets/GetAzAppInsights_List.cs index 2f408616d0fb..19e6a4b529f0 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsights_List.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsights_List.cs @@ -73,11 +73,11 @@ public partial class GetAzAppInsights_List : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -138,6 +138,11 @@ public partial class GetAzAppInsights_List : global::System.Management.Automatio /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -149,7 +154,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -257,7 +262,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzAppInsights_List1.cs b/src/Functions/generated/cmdlets/GetAzAppInsights_List1.cs index 6653141cb91d..344dd4c7efe6 100644 --- a/src/Functions/generated/cmdlets/GetAzAppInsights_List1.cs +++ b/src/Functions/generated/cmdlets/GetAzAppInsights_List1.cs @@ -73,11 +73,11 @@ public partial class GetAzAppInsights_List1 : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -152,6 +152,11 @@ public partial class GetAzAppInsights_List1 : global::System.Management.Automati /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -163,7 +168,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -271,7 +276,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionAppAvailableLocation_List.cs b/src/Functions/generated/cmdlets/GetAzFunctionAppAvailableLocation_List.cs index 38efc8d638d8..1a36fe0b82ce 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionAppAvailableLocation_List.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionAppAvailableLocation_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Get a list of available geographical regions. + /// Get a list of available geographical regions. /// /// [OpenAPI] ListGeoRegions=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionAppAvailableLocation_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get a list of available geographical regions.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get a list of available geographical regions.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionAppAvailableLocation_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -105,11 +105,11 @@ public partial class GetAzFunctionAppAvailableLocation_List : global::System.Man public global::System.Management.Automation.SwitchParameter LinuxWorkersEnabled { get => this._linuxWorkersEnabled; set => this._linuxWorkersEnabled = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -213,6 +213,11 @@ public partial class GetAzFunctionAppAvailableLocation_List : global::System.Man /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -224,7 +229,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -332,7 +337,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_Get.cs b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_Get.cs index b406778af862..027adbfb0a03 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_Get.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Get an App Service plan. + /// Get an App Service plan. /// /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionAppPlan_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get an App Service plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get an App Service plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionAppPlan_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class GetAzFunctionAppPlan_Get : global::System.Management.Automa 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -189,6 +189,11 @@ public partial class GetAzFunctionAppPlan_Get : global::System.Management.Automa /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -308,7 +313,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_GetViaIdentity.cs index 9c599b61cb20..b4da6112f485 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_GetViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Get an App Service plan. + /// Get an App Service plan. /// /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionAppPlan_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get an App Service plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get an App Service plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionAppPlan_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class GetAzFunctionAppPlan_GetViaIdentity : global::System.Manage 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -149,6 +149,11 @@ public partial class GetAzFunctionAppPlan_GetViaIdentity : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -160,7 +165,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -268,7 +273,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List.cs b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List.cs index c7ac5dcd2c6c..21cd802f8477 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Get all App Service plans for a subscription. + /// Get all App Service plans for a subscription. /// /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionAppPlan_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get all App Service plans for a subscription.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get all App Service plans for a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionAppPlan_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -92,11 +92,11 @@ public partial class GetAzFunctionAppPlan_List : global::System.Management.Autom 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -169,6 +169,11 @@ public partial class GetAzFunctionAppPlan_List : global::System.Management.Autom /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -180,7 +185,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -288,7 +293,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List1.cs b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List1.cs index 79f26049e7d7..a842838e0767 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List1.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionAppPlan_List1.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Get all App Service plans in a resource group. + /// Get all App Service plans in a resource group. /// /// [OpenAPI] ListByResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionAppPlan_List1")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get all App Service plans in a resource group.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get all App Service plans in a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionAppPlan_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -73,11 +73,11 @@ public partial class GetAzFunctionAppPlan_List1 : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -164,6 +164,11 @@ public partial class GetAzFunctionAppPlan_List1 : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -283,7 +288,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionApp_Get.cs b/src/Functions/generated/cmdlets/GetAzFunctionApp_Get.cs index ec32da5bada9..988285f5e2f2 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionApp_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionApp_Get.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the details of a web, mobile, or API app. + /// Gets the details of a web, mobile, or API app. /// /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionApp_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the details of a web, mobile, or API app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the details of a web, mobile, or API app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionApp_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class GetAzFunctionApp_Get : global::System.Management.Automation 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -189,6 +189,11 @@ public partial class GetAzFunctionApp_Get : global::System.Management.Automation /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -308,7 +313,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionApp_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzFunctionApp_GetViaIdentity.cs index a7e009b541b3..d2ee00ba316b 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionApp_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionApp_GetViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the details of a web, mobile, or API app. + /// Gets the details of a web, mobile, or API app. /// /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionApp_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the details of a web, mobile, or API app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the details of a web, mobile, or API app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionApp_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class GetAzFunctionApp_GetViaIdentity : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -149,6 +149,11 @@ public partial class GetAzFunctionApp_GetViaIdentity : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -160,7 +165,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -268,7 +273,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionApp_List.cs b/src/Functions/generated/cmdlets/GetAzFunctionApp_List.cs index fdd43f5075e6..cded439c8306 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionApp_List.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionApp_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Get all apps for a subscription. + /// Get all apps for a subscription. /// /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/sites" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionApp_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get all apps for a subscription.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get all apps for a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionApp_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -73,11 +73,11 @@ public partial class GetAzFunctionApp_List : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -150,6 +150,11 @@ public partial class GetAzFunctionApp_List : global::System.Management.Automatio /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -161,7 +166,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -269,7 +274,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunctionApp_List1.cs b/src/Functions/generated/cmdlets/GetAzFunctionApp_List1.cs index a7a49adeed7b..070c5b564845 100644 --- a/src/Functions/generated/cmdlets/GetAzFunctionApp_List1.cs +++ b/src/Functions/generated/cmdlets/GetAzFunctionApp_List1.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Gets all web, mobile, and API apps in the specified resource group. - /// + /// Gets all web, mobile, and API apps in the specified resource group. /// /// [OpenAPI] ListByResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunctionApp_List1")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets all web, mobile, and API apps in the specified resource group.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets all web, mobile, and API apps in the specified resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunctionApp_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -92,11 +90,11 @@ public partial class GetAzFunctionApp_List1 : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -183,6 +181,11 @@ public partial class GetAzFunctionApp_List1 : global::System.Management.Automati /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -194,7 +197,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -302,7 +305,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunction_Get.cs b/src/Functions/generated/cmdlets/GetAzFunction_Get.cs index cf764afb9322..298288b05562 100644 --- a/src/Functions/generated/cmdlets/GetAzFunction_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzFunction_Get.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Get function information by its ID for web site, or a deployment slot. - /// + /// Get function information by its ID for web site, or a deployment slot. /// /// [OpenAPI] GetFunction=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunction_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get function information by its ID for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get function information by its ID for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunction_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -97,11 +95,11 @@ public partial class GetAzFunction_Get : global::System.Management.Automation.PS 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -205,6 +203,11 @@ public partial class GetAzFunction_Get : global::System.Management.Automation.PS /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -216,7 +219,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Intializes a new instance of the cmdlet class. @@ -322,7 +325,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunction_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzFunction_GetViaIdentity.cs index 2ccc766d984c..4216e6354d43 100644 --- a/src/Functions/generated/cmdlets/GetAzFunction_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzFunction_GetViaIdentity.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Get function information by its ID for web site, or a deployment slot. - /// + /// Get function information by its ID for web site, or a deployment slot. /// /// [OpenAPI] GetFunction=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunction_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get function information by its ID for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get function information by its ID for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunction_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -77,11 +75,11 @@ public partial class GetAzFunction_GetViaIdentity : global::System.Management.Au 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -151,6 +149,11 @@ public partial class GetAzFunction_GetViaIdentity : global::System.Management.Au /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -162,7 +165,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -270,7 +273,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzFunction_List.cs b/src/Functions/generated/cmdlets/GetAzFunction_List.cs index d31cef008217..6996e5567c82 100644 --- a/src/Functions/generated/cmdlets/GetAzFunction_List.cs +++ b/src/Functions/generated/cmdlets/GetAzFunction_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for List the functions for a web site, or a deployment slot. + /// List the functions for a web site, or a deployment slot. /// /// [OpenAPI] ListFunctions=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzFunction_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for List the functions for a web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"List the functions for a web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzFunction_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -87,11 +87,11 @@ public partial class GetAzFunction_List : global::System.Management.Automation.P 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -195,6 +195,11 @@ public partial class GetAzFunction_List : global::System.Management.Automation.P /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -206,7 +211,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -314,7 +319,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzStorageAccountKey_List.cs b/src/Functions/generated/cmdlets/GetAzStorageAccountKey_List.cs index 91bf38a1dece..a2e2fa9b9049 100644 --- a/src/Functions/generated/cmdlets/GetAzStorageAccountKey_List.cs +++ b/src/Functions/generated/cmdlets/GetAzStorageAccountKey_List.cs @@ -84,11 +84,11 @@ public partial class GetAzStorageAccountKey_List : global::System.Management.Aut 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -182,6 +182,11 @@ public partial class GetAzStorageAccountKey_List : global::System.Management.Aut /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -193,7 +198,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -304,7 +309,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzStorageAccount_List.cs b/src/Functions/generated/cmdlets/GetAzStorageAccount_List.cs index dfe129428ba1..f0ff1674b10a 100644 --- a/src/Functions/generated/cmdlets/GetAzStorageAccount_List.cs +++ b/src/Functions/generated/cmdlets/GetAzStorageAccount_List.cs @@ -76,11 +76,11 @@ public partial class GetAzStorageAccount_List : global::System.Management.Automa 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -141,6 +141,11 @@ public partial class GetAzStorageAccount_List : global::System.Management.Automa /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -152,7 +157,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -260,7 +265,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzStorageAccount_List1.cs b/src/Functions/generated/cmdlets/GetAzStorageAccount_List1.cs index d7fdcf1b8b9f..f83a2994a4c8 100644 --- a/src/Functions/generated/cmdlets/GetAzStorageAccount_List1.cs +++ b/src/Functions/generated/cmdlets/GetAzStorageAccount_List1.cs @@ -70,11 +70,11 @@ public partial class GetAzStorageAccount_List1 : global::System.Management.Autom 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -151,6 +151,11 @@ public partial class GetAzStorageAccount_List1 : global::System.Management.Autom /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -162,7 +167,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -270,7 +275,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_Get.cs b/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_Get.cs index 712ece0526e0..7c151cf002d0 100644 --- a/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_Get.cs @@ -66,11 +66,11 @@ public partial class GetAzSystemAssignedIdentity_Get : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -139,6 +139,11 @@ public partial class GetAzSystemAssignedIdentity_Get : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -150,7 +155,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -258,7 +263,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_GetViaIdentity.cs index eb5dfc9d1ef6..fdb662896195 100644 --- a/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzSystemAssignedIdentity_GetViaIdentity.cs @@ -74,11 +74,11 @@ public partial class GetAzSystemAssignedIdentity_GetViaIdentity : global::System 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -131,6 +131,11 @@ public partial class GetAzSystemAssignedIdentity_GetViaIdentity : global::System /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -142,7 +147,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -250,7 +255,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_Get.cs b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_Get.cs index a5f1ca8c6655..59f67e107b5d 100644 --- a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_Get.cs @@ -67,11 +67,11 @@ public partial class GetAzUserAssignedIdentity_Get : global::System.Management.A 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -172,6 +172,11 @@ public partial class GetAzUserAssignedIdentity_Get : global::System.Management.A /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -183,7 +188,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -291,7 +296,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_GetViaIdentity.cs index 1c33d2ace212..b4b34e0642b4 100644 --- a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_GetViaIdentity.cs @@ -75,11 +75,11 @@ public partial class GetAzUserAssignedIdentity_GetViaIdentity : global::System.M 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -132,6 +132,11 @@ public partial class GetAzUserAssignedIdentity_GetViaIdentity : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -143,7 +148,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -251,7 +256,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List.cs b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List.cs index 749c07c20250..c1c01ab32c7b 100644 --- a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List.cs +++ b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List.cs @@ -75,11 +75,11 @@ public partial class GetAzUserAssignedIdentity_List : global::System.Management. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -152,6 +152,11 @@ public partial class GetAzUserAssignedIdentity_List : global::System.Management. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -163,7 +168,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -271,7 +276,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List1.cs b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List1.cs index 25cdc1f6b740..3eec3ec5af0d 100644 --- a/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List1.cs +++ b/src/Functions/generated/cmdlets/GetAzUserAssignedIdentity_List1.cs @@ -75,11 +75,11 @@ public partial class GetAzUserAssignedIdentity_List1 : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -166,6 +166,11 @@ public partial class GetAzUserAssignedIdentity_List1 : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -177,7 +182,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -285,7 +290,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppApplicationSettingSlot_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppApplicationSettingSlot_List.cs index 27bf5c517145..c4e477b995a2 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppApplicationSettingSlot_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppApplicationSettingSlot_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the application settings of an app. + /// Gets the application settings of an app. /// /// [OpenAPI] ListApplicationSettingsSlot=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppApplicationSettingSlot_List", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the application settings of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the application settings of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppApplicationSettingSlot_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class GetAzWebAppApplicationSettingSlot_List : global::System.Man 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -189,6 +189,11 @@ public partial class GetAzWebAppApplicationSettingSlot_List : global::System.Man /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -311,7 +316,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppApplicationSetting_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppApplicationSetting_List.cs index a46596e1bf2f..a01b33e0b142 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppApplicationSetting_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppApplicationSetting_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the application settings of an app. + /// Gets the application settings of an app. /// /// [OpenAPI] ListApplicationSettings=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings/list" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppApplicationSetting_List", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the application settings of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the application settings of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppApplicationSetting_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class GetAzWebAppApplicationSetting_List : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -172,6 +172,11 @@ public partial class GetAzWebAppApplicationSetting_List : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -183,7 +188,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -294,7 +299,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppBasicPublishingCredentialsPolicy_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppBasicPublishingCredentialsPolicy_Get.cs new file mode 100644 index 000000000000..af89ccfe40f3 --- /dev/null +++ b/src/Functions/generated/cmdlets/GetAzWebAppBasicPublishingCredentialsPolicy_Get.cs @@ -0,0 +1,407 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// + /// Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. + /// + /// + /// [OpenAPI] GetBasicPublishingCredentialsPolicies=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppBasicPublishingCredentialsPolicy_Get")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class GetAzWebAppBasicPublishingCredentialsPolicy_Get : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzWebAppBasicPublishingCredentialsPolicy_Get() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsGetBasicPublishingCredentialsPolicies(ResourceGroupName, Name, SubscriptionId, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/GetAzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity.cs new file mode 100644 index 000000000000..630c0b7e37ce --- /dev/null +++ b/src/Functions/generated/cmdlets/GetAzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity.cs @@ -0,0 +1,384 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// + /// Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site. + /// + /// + /// [OpenAPI] GetBasicPublishingCredentialsPolicies=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Returns whether Scm basic auth is allowed and whether Ftp is allowed for a given site.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class GetAzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzWebAppBasicPublishingCredentialsPolicy_GetViaIdentity() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.WebAppsGetBasicPublishingCredentialsPoliciesViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Name) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Name"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.WebAppsGetBasicPublishingCredentialsPolicies(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesCollection + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_Get.cs index 3a245febde1e..6aeba2ea18f6 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_Get.cs @@ -9,8 +9,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// /// [OpenAPI] GetConfigurationSlot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSlot_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSlot_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -70,11 +70,11 @@ public partial class GetAzWebAppConfigurationSlot_Get : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -191,6 +191,11 @@ public partial class GetAzWebAppConfigurationSlot_Get : global::System.Managemen /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -202,7 +207,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -310,7 +315,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_GetViaIdentity.cs index e20b8179862a..8ecadf745b77 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_GetViaIdentity.cs @@ -9,8 +9,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// /// [OpenAPI] GetConfigurationSlot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSlot_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSlot_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -78,11 +78,11 @@ public partial class GetAzWebAppConfigurationSlot_GetViaIdentity : global::Syste 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -135,6 +135,11 @@ public partial class GetAzWebAppConfigurationSlot_GetViaIdentity : global::Syste /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -146,7 +151,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -254,7 +259,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_List.cs index b55cfb95d58e..7efa53fefd5b 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSlot_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for List the configurations of an app + /// List the configurations of an app /// /// [OpenAPI] ListConfigurationsSlot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSlot_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for List the configurations of an app")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"List the configurations of an app")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSlot_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -73,11 +73,11 @@ public partial class GetAzWebAppConfigurationSlot_List : global::System.Manageme 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -194,6 +194,11 @@ public partial class GetAzWebAppConfigurationSlot_List : global::System.Manageme /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -205,7 +210,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -313,7 +318,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfoSlot_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfoSlot_List.cs index c3700d2f4dab..d8c4e90600db 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfoSlot_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfoSlot_List.cs @@ -9,8 +9,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp - /// and the ID of the snapshot. + /// Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of + /// the snapshot. /// /// /// [OpenAPI] ListConfigurationSnapshotInfoSlot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSnapshotInfoSlot_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSnapshotInfoSlot_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -76,11 +76,11 @@ public partial class GetAzWebAppConfigurationSnapshotInfoSlot_List : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -197,6 +197,11 @@ public partial class GetAzWebAppConfigurationSnapshotInfoSlot_List : global::Sys /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -208,7 +213,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -316,7 +321,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfo_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfo_List.cs index 8a468f845080..b7190fdcdd48 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfo_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotInfo_List.cs @@ -9,8 +9,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp - /// and the ID of the snapshot. + /// Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of + /// the snapshot. /// /// /// [OpenAPI] ListConfigurationSnapshotInfo=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSnapshotInfo_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSnapshotInfo_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -76,11 +76,11 @@ public partial class GetAzWebAppConfigurationSnapshotInfo_List : global::System. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -181,6 +181,11 @@ public partial class GetAzWebAppConfigurationSnapshotInfo_List : global::System. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -192,7 +197,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -300,7 +305,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_Get.cs index 5f60dd2d9fb2..eabc9baf42c0 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_Get.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// /// [OpenAPI] GetConfigurationSnapshotSlot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSnapshotSlot_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets a snapshot of the configuration of an app at a previous point in time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets a snapshot of the configuration of an app at a previous point in time.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSnapshotSlot_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -69,11 +67,11 @@ public partial class GetAzWebAppConfigurationSnapshotSlot_Get : global::System.M 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -204,6 +202,11 @@ public partial class GetAzWebAppConfigurationSnapshotSlot_Get : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -215,7 +218,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -323,7 +326,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity.cs index 019233ac3d92..2a0f258d75f7 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// /// [OpenAPI] GetConfigurationSnapshotSlot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSnapshotSlot_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets a snapshot of the configuration of an app at a previous point in time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets a snapshot of the configuration of an app at a previous point in time.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -77,11 +75,11 @@ public partial class GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity : globa 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -134,6 +132,11 @@ public partial class GetAzWebAppConfigurationSnapshotSlot_GetViaIdentity : globa /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -145,7 +148,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -253,7 +256,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_Get.cs index f6d273448879..3e45550c710a 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_Get.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// /// [OpenAPI] GetConfigurationSnapshot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSnapshot_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets a snapshot of the configuration of an app at a previous point in time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets a snapshot of the configuration of an app at a previous point in time.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSnapshot_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -69,11 +67,11 @@ public partial class GetAzWebAppConfigurationSnapshot_Get : global::System.Manag 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -188,6 +186,11 @@ public partial class GetAzWebAppConfigurationSnapshot_Get : global::System.Manag /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -199,7 +202,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -307,7 +310,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_GetViaIdentity.cs index 7d7a50c94356..88c0f961c4e8 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfigurationSnapshot_GetViaIdentity.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Gets a snapshot of the configuration of an app at a previous point in time. - /// + /// Gets a snapshot of the configuration of an app at a previous point in time. /// /// [OpenAPI] GetConfigurationSnapshot=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfigurationSnapshot_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets a snapshot of the configuration of an app at a previous point in time.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets a snapshot of the configuration of an app at a previous point in time.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfigurationSnapshot_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -77,11 +75,11 @@ public partial class GetAzWebAppConfigurationSnapshot_GetViaIdentity : global::S 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -134,6 +132,11 @@ public partial class GetAzWebAppConfigurationSnapshot_GetViaIdentity : global::S /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -145,7 +148,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -253,7 +256,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_Get.cs index 18fd5475c6aa..cff5b9e9ef22 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_Get.cs @@ -9,8 +9,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// /// [OpenAPI] GetConfiguration=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfiguration_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfiguration_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -70,11 +70,11 @@ public partial class GetAzWebAppConfiguration_Get : global::System.Management.Au 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -175,6 +175,11 @@ public partial class GetAzWebAppConfiguration_Get : global::System.Management.Au /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -186,7 +191,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -294,7 +299,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_GetViaIdentity.cs index 05bd9159770d..15f943b2877e 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_GetViaIdentity.cs @@ -9,8 +9,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, - /// Always On, etc. + /// Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always + /// On, etc. /// /// /// [OpenAPI] GetConfiguration=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" @@ -18,7 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfiguration_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfiguration_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -78,11 +78,11 @@ public partial class GetAzWebAppConfiguration_GetViaIdentity : global::System.Ma 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -135,6 +135,11 @@ public partial class GetAzWebAppConfiguration_GetViaIdentity : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -146,7 +151,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -254,7 +259,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_List.cs index d3afe8d5e2cf..24d3a006886f 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppConfiguration_List.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for List the configurations of an app + /// List the configurations of an app /// /// [OpenAPI] ListConfigurations=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppConfiguration_List")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for List the configurations of an app")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"List the configurations of an app")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppConfiguration_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -73,11 +73,11 @@ public partial class GetAzWebAppConfiguration_List : global::System.Management.A 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -178,6 +178,11 @@ public partial class GetAzWebAppConfiguration_List : global::System.Management.A /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -189,7 +194,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -297,7 +302,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppFtpAllowed_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppFtpAllowed_Get.cs new file mode 100644 index 000000000000..34fae6dd352c --- /dev/null +++ b/src/Functions/generated/cmdlets/GetAzWebAppFtpAllowed_Get.cs @@ -0,0 +1,405 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Returns whether FTP is allowed on the site or not. + /// + /// [OpenAPI] GetFtpAllowed=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppFtpAllowed_Get")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Returns whether FTP is allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class GetAzWebAppFtpAllowed_Get : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzWebAppFtpAllowed_Get() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsGetFtpAllowed(ResourceGroupName, Name, SubscriptionId, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/GetAzWebAppFtpAllowed_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppFtpAllowed_GetViaIdentity.cs new file mode 100644 index 000000000000..398769fa866c --- /dev/null +++ b/src/Functions/generated/cmdlets/GetAzWebAppFtpAllowed_GetViaIdentity.cs @@ -0,0 +1,382 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Returns whether FTP is allowed on the site or not. + /// + /// [OpenAPI] GetFtpAllowed=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppFtpAllowed_GetViaIdentity")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Returns whether FTP is allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class GetAzWebAppFtpAllowed_GetViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzWebAppFtpAllowed_GetViaIdentity() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.WebAppsGetFtpAllowedViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Name) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Name"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.WebAppsGetFtpAllowed(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/GetAzWebAppFunctionKeySlot_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppFunctionKeySlot_List.cs index dd47e03f166d..4cfa485c9454 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppFunctionKeySlot_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppFunctionKeySlot_List.cs @@ -8,15 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Get function keys for a function in a web site, or a deployment slot. - /// + /// Get function keys for a function in a web site, or a deployment slot. /// /// [OpenAPI] ListFunctionKeysSlot=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppFunctionKeySlot_List", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get function keys for a function in a web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get function keys for a function in a web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppFunctionKeySlot_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -82,11 +80,11 @@ public partial class GetAzWebAppFunctionKeySlot_List : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -201,6 +199,11 @@ public partial class GetAzWebAppFunctionKeySlot_List : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +215,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -323,7 +326,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppFunctionKey_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppFunctionKey_List.cs index a4b3158b0daa..22575121ce22 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppFunctionKey_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppFunctionKey_List.cs @@ -8,15 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Get function keys for a function in a web site, or a deployment slot. - /// + /// Get function keys for a function in a web site, or a deployment slot. /// /// [OpenAPI] ListFunctionKeys=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppFunctionKey_List", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Get function keys for a function in a web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Get function keys for a function in a web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppFunctionKey_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -82,11 +80,11 @@ public partial class GetAzWebAppFunctionKey_List : global::System.Management.Aut 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -187,6 +185,11 @@ public partial class GetAzWebAppFunctionKey_List : global::System.Management.Aut /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -198,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -309,7 +312,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppScmAllowed_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppScmAllowed_Get.cs new file mode 100644 index 000000000000..276fc5030d1c --- /dev/null +++ b/src/Functions/generated/cmdlets/GetAzWebAppScmAllowed_Get.cs @@ -0,0 +1,405 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Returns whether Scm basic auth is allowed on the site or not. + /// + /// [OpenAPI] GetScmAllowed=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppScmAllowed_Get")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Returns whether Scm basic auth is allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class GetAzWebAppScmAllowed_Get : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzWebAppScmAllowed_Get() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsGetScmAllowed(ResourceGroupName, Name, SubscriptionId, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/GetAzWebAppScmAllowed_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppScmAllowed_GetViaIdentity.cs new file mode 100644 index 000000000000..2c325b46455f --- /dev/null +++ b/src/Functions/generated/cmdlets/GetAzWebAppScmAllowed_GetViaIdentity.cs @@ -0,0 +1,382 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Returns whether Scm basic auth is allowed on the site or not. + /// + /// [OpenAPI] GetScmAllowed=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppScmAllowed_GetViaIdentity")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Returns whether Scm basic auth is allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class GetAzWebAppScmAllowed_GetViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzWebAppScmAllowed_GetViaIdentity() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.WebAppsGetScmAllowedViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Name) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Name"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.WebAppsGetScmAllowed(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get.cs b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get.cs index 56d3f8d98b13..0a15f1cb55f7 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the config reference app settings and status of an app + /// Gets the config reference app settings and status of an app /// /// [OpenAPI] GetAppSettingsKeyVaultReferences=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppSettingKeyVaultReference_Get")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the config reference app settings and status of an app")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the config reference app settings and status of an app")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppSettingKeyVaultReference_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -66,11 +66,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_Get : global::System.Ma 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -171,6 +171,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_Get : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -182,7 +187,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -290,7 +295,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get1.cs b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get1.cs index 476a388fd014..c4da562d2ba1 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get1.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_Get1.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the config reference and status of an app + /// Gets the config reference and status of an app /// /// [OpenAPI] GetAppSettingKeyVaultReference=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppSettingKeyVaultReference_Get1")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the config reference and status of an app")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the config reference and status of an app")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppSettingKeyVaultReference_Get1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -80,11 +80,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_Get1 : global::System.M 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -185,6 +185,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_Get1 : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -196,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -304,7 +309,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity.cs b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity.cs index 066463f4f91e..45aa39714b91 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the config reference app settings and status of an app + /// Gets the config reference app settings and status of an app /// /// [OpenAPI] GetAppSettingsKeyVaultReferences=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppSettingKeyVaultReference_GetViaIdentity")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the config reference app settings and status of an app")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the config reference app settings and status of an app")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppSettingKeyVaultReference_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_GetViaIdentity : global 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -131,6 +131,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_GetViaIdentity : global /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -142,7 +147,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -250,7 +255,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity1.cs b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity1.cs index 8db15dd44758..31ad12006f61 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity1.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppSettingKeyVaultReference_GetViaIdentity1.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Gets the config reference and status of an app + /// Gets the config reference and status of an app /// /// [OpenAPI] GetAppSettingKeyVaultReference=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/configreferences/appsettings/{appSettingKey}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppSettingKeyVaultReference_GetViaIdentity1")] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Gets the config reference and status of an app")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Gets the config reference and status of an app")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppSettingKeyVaultReference_GetViaIdentity1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_GetViaIdentity1 : globa 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -131,6 +131,11 @@ public partial class GetAzWebAppSettingKeyVaultReference_GetViaIdentity1 : globa /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -142,7 +147,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -250,7 +255,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppSyncStatusSlot_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppSyncStatusSlot_List.cs index 3c4b24975501..7a30b8793a19 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppSyncStatusSlot_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppSyncStatusSlot_List.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// /// [OpenAPI] ListSyncStatusSlot=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppSyncStatusSlot_List", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for This is to allow calling via powershell and ARM template.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"This is to allow calling via powershell and ARM template.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppSyncStatusSlot_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -66,11 +66,11 @@ public partial class GetAzWebAppSyncStatusSlot_List : global::System.Management. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -190,6 +190,11 @@ public partial class GetAzWebAppSyncStatusSlot_List : global::System.Management. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -201,7 +206,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -312,7 +317,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/GetAzWebAppSyncStatus_List.cs b/src/Functions/generated/cmdlets/GetAzWebAppSyncStatus_List.cs index f5cb868bab77..051cb4405049 100644 --- a/src/Functions/generated/cmdlets/GetAzWebAppSyncStatus_List.cs +++ b/src/Functions/generated/cmdlets/GetAzWebAppSyncStatus_List.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for This is to allow calling via powershell and ARM template. + /// This is to allow calling via powershell and ARM template. /// /// [OpenAPI] ListSyncStatus=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWebAppSyncStatus_List", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for This is to allow calling via powershell and ARM template.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"This is to allow calling via powershell and ARM template.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class GetAzWebAppSyncStatus_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -66,11 +66,11 @@ public partial class GetAzWebAppSyncStatus_List : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -176,6 +176,11 @@ public partial class GetAzWebAppSyncStatus_List : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// @@ -298,7 +303,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/MoveAz_Move.cs b/src/Functions/generated/cmdlets/MoveAz_Move.cs index 7e61336871c6..458b5175da5a 100644 --- a/src/Functions/generated/cmdlets/MoveAz_Move.cs +++ b/src/Functions/generated/cmdlets/MoveAz_Move.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Move resources between resource groups. + /// Move resources between resource groups. /// /// [OpenAPI] Move=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Move, @"Az_Move", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Move resources between resource groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Move resources between resource groups.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class MoveAz_Move : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -66,11 +66,11 @@ public partial class MoveAz_Move : global::System.Management.Automation.PSCmdlet 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -177,6 +177,11 @@ public partial class MoveAz_Move : global::System.Management.Automation.PSCmdlet /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -188,7 +193,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -297,7 +302,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/MoveAz_MoveExpanded.cs b/src/Functions/generated/cmdlets/MoveAz_MoveExpanded.cs index 575b7d0f7e33..55f008b6cf0d 100644 --- a/src/Functions/generated/cmdlets/MoveAz_MoveExpanded.cs +++ b/src/Functions/generated/cmdlets/MoveAz_MoveExpanded.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Move resources between resource groups. + /// Move resources between resource groups. /// /// [OpenAPI] Move=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Move, @"Az_MoveExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Move resources between resource groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Move resources between resource groups.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class MoveAz_MoveExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -33,6 +33,11 @@ public partial class MoveAz_MoveExpanded : global::System.Management.Automation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// + /// Object with a list of the resources that need to be moved and the resource group they should be moved to. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope _moveResourceEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmMoveResourceEnvelope(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -66,21 +71,13 @@ public partial class MoveAz_MoveExpanded : global::System.Management.Automation. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope _moveResourceEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmMoveResourceEnvelope(); - - /// - /// Object with a list of the resources that need to be moved and the resource group they should be moved to. - /// - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope MoveResourceEnvelopeBody { get => this._moveResourceEnvelopeBody; set => this._moveResourceEnvelopeBody = value; } - /// /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. /// @@ -119,7 +116,7 @@ public partial class MoveAz_MoveExpanded : global::System.Management.Automation. Description = @".", SerializedName = @"resources", PossibleTypes = new [] { typeof(string) })] - public string[] Resource { get => MoveResourceEnvelopeBody.Resource ?? null /* arrayOf */; set => MoveResourceEnvelopeBody.Resource = value; } + public string[] Resource { get => _moveResourceEnvelopeBody.Resource ?? null /* arrayOf */; set => _moveResourceEnvelopeBody.Resource = value; } /// Backing field for property. private string _resourceGroupName; @@ -164,7 +161,7 @@ public partial class MoveAz_MoveExpanded : global::System.Management.Automation. Description = @".", SerializedName = @"targetResourceGroup", PossibleTypes = new [] { typeof(string) })] - public string TargetResourceGroup { get => MoveResourceEnvelopeBody.TargetResourceGroup ?? null; set => MoveResourceEnvelopeBody.TargetResourceGroup = value; } + public string TargetResourceGroup { get => _moveResourceEnvelopeBody.TargetResourceGroup ?? null; set => _moveResourceEnvelopeBody.TargetResourceGroup = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -193,6 +190,11 @@ public partial class MoveAz_MoveExpanded : global::System.Management.Automation. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -204,7 +206,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +317,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -330,12 +331,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.Move(ResourceGroupName, SubscriptionId, MoveResourceEnvelopeBody, onNoContent, onDefault, this, Pipeline); + await this.Client.Move(ResourceGroupName, SubscriptionId, _moveResourceEnvelopeBody, onNoContent, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,body=MoveResourceEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,body=_moveResourceEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -381,14 +382,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=MoveResourceEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=_moveResourceEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=MoveResourceEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=_moveResourceEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentity.cs b/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentity.cs index 742a224f95bf..c67b91750e16 100644 --- a/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentity.cs +++ b/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentity.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Move resources between resource groups. + /// Move resources between resource groups. /// /// [OpenAPI] Move=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Move, @"Az_MoveViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Move resources between resource groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Move resources between resource groups.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class MoveAz_MoveViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class MoveAz_MoveViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -151,6 +151,11 @@ public partial class MoveAz_MoveViaIdentity : global::System.Management.Automati /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -162,7 +167,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -273,7 +278,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentityExpanded.cs index 09a9302bd905..1028f731c038 100644 --- a/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/MoveAz_MoveViaIdentityExpanded.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Move resources between resource groups. + /// Move resources between resource groups. /// /// [OpenAPI] Move=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Move, @"Az_MoveViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Move resources between resource groups.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Move resources between resource groups.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class MoveAz_MoveViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -33,6 +33,11 @@ public partial class MoveAz_MoveViaIdentityExpanded : global::System.Management. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// + /// Object with a list of the resources that need to be moved and the resource group they should be moved to. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope _moveResourceEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmMoveResourceEnvelope(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -74,21 +79,13 @@ public partial class MoveAz_MoveViaIdentityExpanded : global::System.Management. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope _moveResourceEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmMoveResourceEnvelope(); - - /// - /// Object with a list of the resources that need to be moved and the resource group they should be moved to. - /// - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope MoveResourceEnvelopeBody { get => this._moveResourceEnvelopeBody; set => this._moveResourceEnvelopeBody = value; } - /// /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. /// @@ -127,7 +124,7 @@ public partial class MoveAz_MoveViaIdentityExpanded : global::System.Management. Description = @".", SerializedName = @"resources", PossibleTypes = new [] { typeof(string) })] - public string[] Resource { get => MoveResourceEnvelopeBody.Resource ?? null /* arrayOf */; set => MoveResourceEnvelopeBody.Resource = value; } + public string[] Resource { get => _moveResourceEnvelopeBody.Resource ?? null /* arrayOf */; set => _moveResourceEnvelopeBody.Resource = value; } /// . [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = ".")] @@ -138,7 +135,7 @@ public partial class MoveAz_MoveViaIdentityExpanded : global::System.Management. Description = @".", SerializedName = @"targetResourceGroup", PossibleTypes = new [] { typeof(string) })] - public string TargetResourceGroup { get => MoveResourceEnvelopeBody.TargetResourceGroup ?? null; set => MoveResourceEnvelopeBody.TargetResourceGroup = value; } + public string TargetResourceGroup { get => _moveResourceEnvelopeBody.TargetResourceGroup ?? null; set => _moveResourceEnvelopeBody.TargetResourceGroup = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -167,6 +164,11 @@ public partial class MoveAz_MoveViaIdentityExpanded : global::System.Management. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -178,7 +180,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -289,7 +291,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -306,7 +307,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.MoveViaIdentity(InputObject.Id, MoveResourceEnvelopeBody, onNoContent, onDefault, this, Pipeline); + await this.Client.MoveViaIdentity(InputObject.Id, _moveResourceEnvelopeBody, onNoContent, onDefault, this, Pipeline); } else { @@ -319,13 +320,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.Move(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, MoveResourceEnvelopeBody, onNoContent, onDefault, this, Pipeline); + await this.Client.Move(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, _moveResourceEnvelopeBody, onNoContent, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=MoveResourceEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_moveResourceEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -371,14 +372,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=MoveResourceEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_moveResourceEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=MoveResourceEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_moveResourceEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzAppInsights_Create.cs b/src/Functions/generated/cmdlets/NewAzAppInsights_Create.cs index 80ae042cdf37..c61f62c0155d 100644 --- a/src/Functions/generated/cmdlets/NewAzAppInsights_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzAppInsights_Create.cs @@ -83,11 +83,11 @@ public partial class NewAzAppInsights_Create : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -176,6 +176,11 @@ public partial class NewAzAppInsights_Create : global::System.Management.Automat /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -298,7 +303,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzAppInsights_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzAppInsights_CreateExpanded.cs index 901dafdb765b..ec2f585c9fc9 100644 --- a/src/Functions/generated/cmdlets/NewAzAppInsights_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzAppInsights_CreateExpanded.cs @@ -37,6 +37,9 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// An Application Insights component definition. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent _insightPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.ApplicationInsightsComponent(); + /// Type of application being monitored. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of application being monitored.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -47,7 +50,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management SerializedName = @"Application_Type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType ApplicationType { get => InsightPropertiesBody.ApplicationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType)""); set => InsightPropertiesBody.ApplicationType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType ApplicationType { get => _insightPropertiesBody.ApplicationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType)""); set => _insightPropertiesBody.ApplicationType = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -79,7 +82,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management SerializedName = @"Flow_Type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType FlowType { get => InsightPropertiesBody.FlowType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType)""); set => InsightPropertiesBody.FlowType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType FlowType { get => _insightPropertiesBody.FlowType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType)""); set => _insightPropertiesBody.FlowType = value; } /// /// The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. @@ -92,7 +95,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management Description = @"The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.", SerializedName = @"HockeyAppId", PossibleTypes = new [] { typeof(string) })] - public string HockeyAppId { get => InsightPropertiesBody.HockeyAppId ?? null; set => InsightPropertiesBody.HockeyAppId = value; } + public string HockeyAppId { get => _insightPropertiesBody.HockeyAppId ?? null; set => _insightPropertiesBody.HockeyAppId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -106,12 +109,6 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent _insightPropertiesBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.ApplicationInsightsComponent(); - - /// An Application Insights component definition. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent InsightPropertiesBody { get => this._insightPropertiesBody; set => this._insightPropertiesBody = value; } - /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -127,7 +124,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management Description = @"The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => InsightPropertiesBody.Kind ?? null; set => InsightPropertiesBody.Kind = value; } + public string Kind { get => _insightPropertiesBody.Kind ?? null; set => _insightPropertiesBody.Kind = value; } /// Resource location [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource location")] @@ -138,14 +135,14 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management Description = @"Resource location", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => InsightPropertiesBody.Location ?? null; set => InsightPropertiesBody.Location = value; } + public string Location { get => _insightPropertiesBody.Location ?? null; set => _insightPropertiesBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -182,7 +179,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management SerializedName = @"Request_Source", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource RequestSource { get => InsightPropertiesBody.RequestSource ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource)""); set => InsightPropertiesBody.RequestSource = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource RequestSource { get => _insightPropertiesBody.RequestSource ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource)""); set => _insightPropertiesBody.RequestSource = value; } /// Backing field for property. private string _resourceGroupName; @@ -223,7 +220,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management Description = @"Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.", SerializedName = @"SamplingPercentage", PossibleTypes = new [] { typeof(double) })] - public double SamplingPercentage { get => InsightPropertiesBody.SamplingPercentage ?? default(double); set => InsightPropertiesBody.SamplingPercentage = value; } + public double SamplingPercentage { get => _insightPropertiesBody.SamplingPercentage ?? default(double); set => _insightPropertiesBody.SamplingPercentage = value; } /// Backing field for property. private string _subscriptionId; @@ -255,7 +252,7 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management Description = @"Resource tags", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags Tag { get => InsightPropertiesBody.Tag ?? null /* object */; set => InsightPropertiesBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags Tag { get => _insightPropertiesBody.Tag ?? null /* object */; set => _insightPropertiesBody.Tag = value; } /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -274,6 +271,11 @@ public partial class NewAzAppInsights_CreateExpanded : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -285,7 +287,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -396,7 +398,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -411,12 +412,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.ComponentsCreateOrUpdate(ResourceGroupName, SubscriptionId, ResourceName, InsightPropertiesBody, onOk, this, Pipeline); + await this.Client.ComponentsCreateOrUpdate(ResourceGroupName, SubscriptionId, ResourceName, _insightPropertiesBody, onOk, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,ResourceName=ResourceName,body=InsightPropertiesBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,ResourceName=ResourceName,body=_insightPropertiesBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); diff --git a/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentity.cs index 98977be68179..8577112370db 100644 --- a/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentity.cs @@ -91,11 +91,11 @@ public partial class NewAzAppInsights_CreateViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -136,6 +136,11 @@ public partial class NewAzAppInsights_CreateViaIdentity : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -147,7 +152,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -258,7 +263,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentityExpanded.cs index 0dcfa0b628a9..d46054fc8da4 100644 --- a/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzAppInsights_CreateViaIdentityExpanded.cs @@ -37,6 +37,9 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// An Application Insights component definition. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent _insightPropertiesBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.ApplicationInsightsComponent(); + /// Type of application being monitored. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of application being monitored.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -47,7 +50,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System SerializedName = @"Application_Type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType ApplicationType { get => InsightPropertiesBody.ApplicationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType)""); set => InsightPropertiesBody.ApplicationType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType ApplicationType { get => _insightPropertiesBody.ApplicationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType)""); set => _insightPropertiesBody.ApplicationType = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -79,7 +82,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System SerializedName = @"Flow_Type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType FlowType { get => InsightPropertiesBody.FlowType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType)""); set => InsightPropertiesBody.FlowType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType FlowType { get => _insightPropertiesBody.FlowType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType)""); set => _insightPropertiesBody.FlowType = value; } /// /// The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. @@ -92,7 +95,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System Description = @"The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp.", SerializedName = @"HockeyAppId", PossibleTypes = new [] { typeof(string) })] - public string HockeyAppId { get => InsightPropertiesBody.HockeyAppId ?? null; set => InsightPropertiesBody.HockeyAppId = value; } + public string HockeyAppId { get => _insightPropertiesBody.HockeyAppId ?? null; set => _insightPropertiesBody.HockeyAppId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -114,12 +117,6 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent _insightPropertiesBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.ApplicationInsightsComponent(); - - /// An Application Insights component definition. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent InsightPropertiesBody { get => this._insightPropertiesBody; set => this._insightPropertiesBody = value; } - /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -135,7 +132,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System Description = @"The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => InsightPropertiesBody.Kind ?? null; set => InsightPropertiesBody.Kind = value; } + public string Kind { get => _insightPropertiesBody.Kind ?? null; set => _insightPropertiesBody.Kind = value; } /// Resource location [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource location")] @@ -146,14 +143,14 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System Description = @"Resource location", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => InsightPropertiesBody.Location ?? null; set => InsightPropertiesBody.Location = value; } + public string Location { get => _insightPropertiesBody.Location ?? null; set => _insightPropertiesBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -190,7 +187,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System SerializedName = @"Request_Source", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource RequestSource { get => InsightPropertiesBody.RequestSource ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource)""); set => InsightPropertiesBody.RequestSource = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource RequestSource { get => _insightPropertiesBody.RequestSource ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource)""); set => _insightPropertiesBody.RequestSource = value; } /// /// Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. @@ -203,7 +200,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System Description = @"Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry.", SerializedName = @"SamplingPercentage", PossibleTypes = new [] { typeof(double) })] - public double SamplingPercentage { get => InsightPropertiesBody.SamplingPercentage ?? default(double); set => InsightPropertiesBody.SamplingPercentage = value; } + public double SamplingPercentage { get => _insightPropertiesBody.SamplingPercentage ?? default(double); set => _insightPropertiesBody.SamplingPercentage = value; } /// Resource tags [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ExportAs(typeof(global::System.Collections.Hashtable))] @@ -215,7 +212,7 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System Description = @"Resource tags", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags Tag { get => InsightPropertiesBody.Tag ?? null /* object */; set => InsightPropertiesBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags Tag { get => _insightPropertiesBody.Tag ?? null /* object */; set => _insightPropertiesBody.Tag = value; } /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -234,6 +231,11 @@ public partial class NewAzAppInsights_CreateViaIdentityExpanded : global::System /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -245,7 +247,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -356,7 +358,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -373,7 +374,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.ComponentsCreateOrUpdateViaIdentity(InputObject.Id, InsightPropertiesBody, onOk, this, Pipeline); + await this.Client.ComponentsCreateOrUpdateViaIdentity(InputObject.Id, _insightPropertiesBody, onOk, this, Pipeline); } else { @@ -390,13 +391,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.ComponentsCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, InputObject.ResourceName ?? null, InsightPropertiesBody, onOk, this, Pipeline); + await this.Client.ComponentsCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, InputObject.ResourceName ?? null, _insightPropertiesBody, onOk, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=InsightPropertiesBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_insightPropertiesBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); diff --git a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_Create.cs b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_Create.cs index 342d100f39dc..3c02e78c3b74 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_Create.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionAppPlan_Create", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionAppPlan_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -85,11 +85,11 @@ public partial class NewAzFunctionAppPlan_Create : global::System.Management.Aut 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -198,6 +198,11 @@ public partial class NewAzFunctionAppPlan_Create : global::System.Management.Aut /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -233,7 +238,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionAppPlan /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -374,7 +379,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateExpanded.cs index a1540e03fcfb..2cccda5af642 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionAppPlan_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// App Service plan. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan _appServicePlanBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlan(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan _appServicePlanBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlan(); - - /// App Service plan. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan AppServicePlanBody { get => this._appServicePlanBody; set => this._appServicePlanBody = value; } - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -59,7 +56,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Current number of instances assigned to the resource.", SerializedName = @"capacity", PossibleTypes = new [] { typeof(int) })] - public int Capacity { get => AppServicePlanBody.Capacity ?? default(int); set => AppServicePlanBody.Capacity = value; } + public int Capacity { get => _appServicePlanBody.Capacity ?? default(int); set => _appServicePlanBody.Capacity = value; } /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; @@ -82,7 +79,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"The time when the server farm free offer expires.", SerializedName = @"freeOfferExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime FreeOfferExpirationTime { get => AppServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.FreeOfferExpirationTime = value; } + public global::System.DateTime FreeOfferExpirationTime { get => _appServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.FreeOfferExpirationTime = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -93,7 +90,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => AppServicePlanBody.HostingEnvironmentProfileId ?? null; set => AppServicePlanBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _appServicePlanBody.HostingEnvironmentProfileId ?? null; set => _appServicePlanBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -118,7 +115,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"If Hyper-V container app service plan true, false otherwise.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => AppServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _appServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.HyperV = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -132,7 +129,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"If true, this App Service Plan owns spot instances.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => AppServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _appServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsSpot = value; } /// /// Obsolete: If Hyper-V container app service plan true, false otherwise. @@ -145,7 +142,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Obsolete: If Hyper-V container app service plan true, false otherwise.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => AppServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _appServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -156,7 +153,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppServicePlanBody.Kind ?? null; set => AppServicePlanBody.Kind = value; } + public string Kind { get => _appServicePlanBody.Kind ?? null; set => _appServicePlanBody.Kind = value; } /// Resource Location. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource Location.")] @@ -167,7 +164,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Resource Location.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => AppServicePlanBody.Location ?? null; set => AppServicePlanBody.Location = value; } + public string Location { get => _appServicePlanBody.Location ?? null; set => _appServicePlanBody.Location = value; } /// /// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan @@ -180,14 +177,14 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", SerializedName = @"maximumElasticWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int MaximumElasticWorkerCount { get => AppServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => AppServicePlanBody.MaximumElasticWorkerCount = value; } + public int MaximumElasticWorkerCount { get => _appServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => _appServicePlanBody.MaximumElasticWorkerCount = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -224,7 +221,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"If true, apps assigned to this App Service plan can be scaled independently.If false, apps assigned to this App Service plan will scale to all instances of the plan.", SerializedName = @"perSiteScaling", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => AppServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.PerSiteScaling = value; } + public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => _appServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.PerSiteScaling = value; } /// /// The instance of the that the remote call will use. @@ -256,7 +253,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"If Linux app service plan true, false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => AppServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _appServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.Reserved = value; } /// Backing field for property. private string _resourceGroupName; @@ -282,7 +279,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Capabilities of the SKU, e.g., is traffic manager enabled", SerializedName = @"capabilities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[] SkuCapability { get => AppServicePlanBody.SkuCapability ?? null /* arrayOf */; set => AppServicePlanBody.SkuCapability = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[] SkuCapability { get => _appServicePlanBody.SkuCapability ?? null /* arrayOf */; set => _appServicePlanBody.SkuCapability = value; } /// Default number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Default number of workers for this App Service plan SKU.")] @@ -293,7 +290,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Default number of workers for this App Service plan SKU.", SerializedName = @"default", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityDefault { get => AppServicePlanBody.SkuCapacityDefault ?? default(int); set => AppServicePlanBody.SkuCapacityDefault = value; } + public int SkuCapacityDefault { get => _appServicePlanBody.SkuCapacityDefault ?? default(int); set => _appServicePlanBody.SkuCapacityDefault = value; } /// Maximum number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum number of workers for this App Service plan SKU.")] @@ -304,7 +301,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Maximum number of workers for this App Service plan SKU.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityMaximum { get => AppServicePlanBody.SkuCapacityMaximum ?? default(int); set => AppServicePlanBody.SkuCapacityMaximum = value; } + public int SkuCapacityMaximum { get => _appServicePlanBody.SkuCapacityMaximum ?? default(int); set => _appServicePlanBody.SkuCapacityMaximum = value; } /// Minimum number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum number of workers for this App Service plan SKU.")] @@ -315,7 +312,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Minimum number of workers for this App Service plan SKU.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityMinimum { get => AppServicePlanBody.SkuCapacityMinimum ?? default(int); set => AppServicePlanBody.SkuCapacityMinimum = value; } + public int SkuCapacityMinimum { get => _appServicePlanBody.SkuCapacityMinimum ?? default(int); set => _appServicePlanBody.SkuCapacityMinimum = value; } /// Available scale configurations for an App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Available scale configurations for an App Service plan.")] @@ -326,7 +323,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Available scale configurations for an App Service plan.", SerializedName = @"scaleType", PossibleTypes = new [] { typeof(string) })] - public string SkuCapacityScaleType { get => AppServicePlanBody.SkuCapacityScaleType ?? null; set => AppServicePlanBody.SkuCapacityScaleType = value; } + public string SkuCapacityScaleType { get => _appServicePlanBody.SkuCapacityScaleType ?? null; set => _appServicePlanBody.SkuCapacityScaleType = value; } /// Family code of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Family code of the resource SKU.")] @@ -337,7 +334,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Family code of the resource SKU.", SerializedName = @"family", PossibleTypes = new [] { typeof(string) })] - public string SkuFamily { get => AppServicePlanBody.SkuFamily ?? null; set => AppServicePlanBody.SkuFamily = value; } + public string SkuFamily { get => _appServicePlanBody.SkuFamily ?? null; set => _appServicePlanBody.SkuFamily = value; } /// Locations of the SKU. [global::System.Management.Automation.AllowEmptyCollection] @@ -349,7 +346,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Locations of the SKU.", SerializedName = @"locations", PossibleTypes = new [] { typeof(string) })] - public string[] SkuLocation { get => AppServicePlanBody.SkuLocation ?? null /* arrayOf */; set => AppServicePlanBody.SkuLocation = value; } + public string[] SkuLocation { get => _appServicePlanBody.SkuLocation ?? null /* arrayOf */; set => _appServicePlanBody.SkuLocation = value; } /// Name of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the resource SKU.")] @@ -360,7 +357,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Name of the resource SKU.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string SkuName { get => AppServicePlanBody.SkuName ?? null; set => AppServicePlanBody.SkuName = value; } + public string SkuName { get => _appServicePlanBody.SkuName ?? null; set => _appServicePlanBody.SkuName = value; } /// Size specifier of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size specifier of the resource SKU.")] @@ -371,7 +368,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Size specifier of the resource SKU.", SerializedName = @"size", PossibleTypes = new [] { typeof(string) })] - public string SkuSize { get => AppServicePlanBody.SkuSize ?? null; set => AppServicePlanBody.SkuSize = value; } + public string SkuSize { get => _appServicePlanBody.SkuSize ?? null; set => _appServicePlanBody.SkuSize = value; } /// Service tier of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Service tier of the resource SKU.")] @@ -382,7 +379,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Service tier of the resource SKU.", SerializedName = @"tier", PossibleTypes = new [] { typeof(string) })] - public string SkuTier { get => AppServicePlanBody.SkuTier ?? null; set => AppServicePlanBody.SkuTier = value; } + public string SkuTier { get => _appServicePlanBody.SkuTier ?? null; set => _appServicePlanBody.SkuTier = value; } /// The time when the server farm expires. Valid only if it is a spot server farm. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The time when the server farm expires. Valid only if it is a spot server farm.")] @@ -393,7 +390,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"The time when the server farm expires. Valid only if it is a spot server farm.", SerializedName = @"spotExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime SpotExpirationTime { get => AppServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.SpotExpirationTime = value; } + public global::System.DateTime SpotExpirationTime { get => _appServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.SpotExpirationTime = value; } /// Backing field for property. private string _subscriptionId; @@ -425,7 +422,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => AppServicePlanBody.Tag ?? null /* object */; set => AppServicePlanBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => _appServicePlanBody.Tag ?? null /* object */; set => _appServicePlanBody.Tag = value; } /// Scaling worker count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker count.")] @@ -436,7 +433,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Scaling worker count.", SerializedName = @"targetWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerCount { get => AppServicePlanBody.TargetWorkerCount ?? default(int); set => AppServicePlanBody.TargetWorkerCount = value; } + public int TargetWorkerCount { get => _appServicePlanBody.TargetWorkerCount ?? default(int); set => _appServicePlanBody.TargetWorkerCount = value; } /// Scaling worker size ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker size ID.")] @@ -447,7 +444,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Scaling worker size ID.", SerializedName = @"targetWorkerSizeId", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerSizeId { get => AppServicePlanBody.TargetWorkerSizeId ?? default(int); set => AppServicePlanBody.TargetWorkerSizeId = value; } + public int TargetWorkerSizeId { get => _appServicePlanBody.TargetWorkerSizeId ?? default(int); set => _appServicePlanBody.TargetWorkerSizeId = value; } /// Target worker tier assigned to the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Target worker tier assigned to the App Service plan.")] @@ -458,7 +455,7 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage Description = @"Target worker tier assigned to the App Service plan.", SerializedName = @"workerTierName", PossibleTypes = new [] { typeof(string) })] - public string WorkerTierName { get => AppServicePlanBody.WorkerTierName ?? null; set => AppServicePlanBody.WorkerTierName = value; } + public string WorkerTierName { get => _appServicePlanBody.WorkerTierName ?? null; set => _appServicePlanBody.WorkerTierName = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -489,6 +486,11 @@ public partial class NewAzFunctionAppPlan_CreateExpanded : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -514,7 +516,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionAppPlan clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.AppServicePlanBody = this.AppServicePlanBody; + clone._appServicePlanBody = this._appServicePlanBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; clone.SubscriptionId = this.SubscriptionId; @@ -524,7 +526,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionAppPlan /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -665,7 +667,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -680,12 +681,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AppServicePlansCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, AppServicePlanBody, onOk, onDefault, this, Pipeline); + await this.Client.AppServicePlansCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, _appServicePlanBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=AppServicePlanBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_appServicePlanBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -731,14 +732,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentity.cs index fe72a99a75a7..93583f9d665f 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionAppPlan_CreateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionAppPlan_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -93,11 +93,11 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentity : global::System.Man 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -158,6 +158,11 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentity : global::System.Man /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -190,7 +195,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionAppPlan /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -331,7 +336,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentityExpanded.cs index 431349bb9d17..fe71d5470fbc 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionAppPlan_CreateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionAppPlan_CreateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// App Service plan. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan _appServicePlanBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlan(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan _appServicePlanBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlan(); - - /// App Service plan. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan AppServicePlanBody { get => this._appServicePlanBody; set => this._appServicePlanBody = value; } - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -59,7 +56,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Current number of instances assigned to the resource.", SerializedName = @"capacity", PossibleTypes = new [] { typeof(int) })] - public int Capacity { get => AppServicePlanBody.Capacity ?? default(int); set => AppServicePlanBody.Capacity = value; } + public int Capacity { get => _appServicePlanBody.Capacity ?? default(int); set => _appServicePlanBody.Capacity = value; } /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; @@ -82,7 +79,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"The time when the server farm free offer expires.", SerializedName = @"freeOfferExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime FreeOfferExpirationTime { get => AppServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.FreeOfferExpirationTime = value; } + public global::System.DateTime FreeOfferExpirationTime { get => _appServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.FreeOfferExpirationTime = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -93,7 +90,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => AppServicePlanBody.HostingEnvironmentProfileId ?? null; set => AppServicePlanBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _appServicePlanBody.HostingEnvironmentProfileId ?? null; set => _appServicePlanBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -118,7 +115,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"If Hyper-V container app service plan true, false otherwise.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => AppServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _appServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.HyperV = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -140,7 +137,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"If true, this App Service Plan owns spot instances.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => AppServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _appServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsSpot = value; } /// /// Obsolete: If Hyper-V container app service plan true, false otherwise. @@ -153,7 +150,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Obsolete: If Hyper-V container app service plan true, false otherwise.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => AppServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _appServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -164,7 +161,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppServicePlanBody.Kind ?? null; set => AppServicePlanBody.Kind = value; } + public string Kind { get => _appServicePlanBody.Kind ?? null; set => _appServicePlanBody.Kind = value; } /// Resource Location. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource Location.")] @@ -175,7 +172,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Resource Location.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => AppServicePlanBody.Location ?? null; set => AppServicePlanBody.Location = value; } + public string Location { get => _appServicePlanBody.Location ?? null; set => _appServicePlanBody.Location = value; } /// /// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan @@ -188,14 +185,14 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", SerializedName = @"maximumElasticWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int MaximumElasticWorkerCount { get => AppServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => AppServicePlanBody.MaximumElasticWorkerCount = value; } + public int MaximumElasticWorkerCount { get => _appServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => _appServicePlanBody.MaximumElasticWorkerCount = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -218,7 +215,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"If true, apps assigned to this App Service plan can be scaled independently.If false, apps assigned to this App Service plan will scale to all instances of the plan.", SerializedName = @"perSiteScaling", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => AppServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.PerSiteScaling = value; } + public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => _appServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.PerSiteScaling = value; } /// /// The instance of the that the remote call will use. @@ -250,7 +247,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"If Linux app service plan true, false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => AppServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _appServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.Reserved = value; } /// Capabilities of the SKU, e.g., is traffic manager enabled [global::System.Management.Automation.AllowEmptyCollection] @@ -262,7 +259,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Capabilities of the SKU, e.g., is traffic manager enabled", SerializedName = @"capabilities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[] SkuCapability { get => AppServicePlanBody.SkuCapability ?? null /* arrayOf */; set => AppServicePlanBody.SkuCapability = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[] SkuCapability { get => _appServicePlanBody.SkuCapability ?? null /* arrayOf */; set => _appServicePlanBody.SkuCapability = value; } /// Default number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Default number of workers for this App Service plan SKU.")] @@ -273,7 +270,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Default number of workers for this App Service plan SKU.", SerializedName = @"default", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityDefault { get => AppServicePlanBody.SkuCapacityDefault ?? default(int); set => AppServicePlanBody.SkuCapacityDefault = value; } + public int SkuCapacityDefault { get => _appServicePlanBody.SkuCapacityDefault ?? default(int); set => _appServicePlanBody.SkuCapacityDefault = value; } /// Maximum number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum number of workers for this App Service plan SKU.")] @@ -284,7 +281,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Maximum number of workers for this App Service plan SKU.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityMaximum { get => AppServicePlanBody.SkuCapacityMaximum ?? default(int); set => AppServicePlanBody.SkuCapacityMaximum = value; } + public int SkuCapacityMaximum { get => _appServicePlanBody.SkuCapacityMaximum ?? default(int); set => _appServicePlanBody.SkuCapacityMaximum = value; } /// Minimum number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum number of workers for this App Service plan SKU.")] @@ -295,7 +292,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Minimum number of workers for this App Service plan SKU.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityMinimum { get => AppServicePlanBody.SkuCapacityMinimum ?? default(int); set => AppServicePlanBody.SkuCapacityMinimum = value; } + public int SkuCapacityMinimum { get => _appServicePlanBody.SkuCapacityMinimum ?? default(int); set => _appServicePlanBody.SkuCapacityMinimum = value; } /// Available scale configurations for an App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Available scale configurations for an App Service plan.")] @@ -306,7 +303,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Available scale configurations for an App Service plan.", SerializedName = @"scaleType", PossibleTypes = new [] { typeof(string) })] - public string SkuCapacityScaleType { get => AppServicePlanBody.SkuCapacityScaleType ?? null; set => AppServicePlanBody.SkuCapacityScaleType = value; } + public string SkuCapacityScaleType { get => _appServicePlanBody.SkuCapacityScaleType ?? null; set => _appServicePlanBody.SkuCapacityScaleType = value; } /// Family code of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Family code of the resource SKU.")] @@ -317,7 +314,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Family code of the resource SKU.", SerializedName = @"family", PossibleTypes = new [] { typeof(string) })] - public string SkuFamily { get => AppServicePlanBody.SkuFamily ?? null; set => AppServicePlanBody.SkuFamily = value; } + public string SkuFamily { get => _appServicePlanBody.SkuFamily ?? null; set => _appServicePlanBody.SkuFamily = value; } /// Locations of the SKU. [global::System.Management.Automation.AllowEmptyCollection] @@ -329,7 +326,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Locations of the SKU.", SerializedName = @"locations", PossibleTypes = new [] { typeof(string) })] - public string[] SkuLocation { get => AppServicePlanBody.SkuLocation ?? null /* arrayOf */; set => AppServicePlanBody.SkuLocation = value; } + public string[] SkuLocation { get => _appServicePlanBody.SkuLocation ?? null /* arrayOf */; set => _appServicePlanBody.SkuLocation = value; } /// Name of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the resource SKU.")] @@ -340,7 +337,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Name of the resource SKU.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string SkuName { get => AppServicePlanBody.SkuName ?? null; set => AppServicePlanBody.SkuName = value; } + public string SkuName { get => _appServicePlanBody.SkuName ?? null; set => _appServicePlanBody.SkuName = value; } /// Size specifier of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size specifier of the resource SKU.")] @@ -351,7 +348,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Size specifier of the resource SKU.", SerializedName = @"size", PossibleTypes = new [] { typeof(string) })] - public string SkuSize { get => AppServicePlanBody.SkuSize ?? null; set => AppServicePlanBody.SkuSize = value; } + public string SkuSize { get => _appServicePlanBody.SkuSize ?? null; set => _appServicePlanBody.SkuSize = value; } /// Service tier of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Service tier of the resource SKU.")] @@ -362,7 +359,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Service tier of the resource SKU.", SerializedName = @"tier", PossibleTypes = new [] { typeof(string) })] - public string SkuTier { get => AppServicePlanBody.SkuTier ?? null; set => AppServicePlanBody.SkuTier = value; } + public string SkuTier { get => _appServicePlanBody.SkuTier ?? null; set => _appServicePlanBody.SkuTier = value; } /// The time when the server farm expires. Valid only if it is a spot server farm. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The time when the server farm expires. Valid only if it is a spot server farm.")] @@ -373,7 +370,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"The time when the server farm expires. Valid only if it is a spot server farm.", SerializedName = @"spotExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime SpotExpirationTime { get => AppServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.SpotExpirationTime = value; } + public global::System.DateTime SpotExpirationTime { get => _appServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.SpotExpirationTime = value; } /// Resource tags. [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ExportAs(typeof(global::System.Collections.Hashtable))] @@ -385,7 +382,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => AppServicePlanBody.Tag ?? null /* object */; set => AppServicePlanBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => _appServicePlanBody.Tag ?? null /* object */; set => _appServicePlanBody.Tag = value; } /// Scaling worker count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker count.")] @@ -396,7 +393,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Scaling worker count.", SerializedName = @"targetWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerCount { get => AppServicePlanBody.TargetWorkerCount ?? default(int); set => AppServicePlanBody.TargetWorkerCount = value; } + public int TargetWorkerCount { get => _appServicePlanBody.TargetWorkerCount ?? default(int); set => _appServicePlanBody.TargetWorkerCount = value; } /// Scaling worker size ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker size ID.")] @@ -407,7 +404,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Scaling worker size ID.", SerializedName = @"targetWorkerSizeId", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerSizeId { get => AppServicePlanBody.TargetWorkerSizeId ?? default(int); set => AppServicePlanBody.TargetWorkerSizeId = value; } + public int TargetWorkerSizeId { get => _appServicePlanBody.TargetWorkerSizeId ?? default(int); set => _appServicePlanBody.TargetWorkerSizeId = value; } /// Target worker tier assigned to the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Target worker tier assigned to the App Service plan.")] @@ -418,7 +415,7 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy Description = @"Target worker tier assigned to the App Service plan.", SerializedName = @"workerTierName", PossibleTypes = new [] { typeof(string) })] - public string WorkerTierName { get => AppServicePlanBody.WorkerTierName ?? null; set => AppServicePlanBody.WorkerTierName = value; } + public string WorkerTierName { get => _appServicePlanBody.WorkerTierName ?? null; set => _appServicePlanBody.WorkerTierName = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -449,6 +446,11 @@ public partial class NewAzFunctionAppPlan_CreateViaIdentityExpanded : global::Sy /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -474,14 +476,14 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionAppPlan clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.AppServicePlanBody = this.AppServicePlanBody; + clone._appServicePlanBody = this._appServicePlanBody; return clone; } /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -622,7 +624,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -639,7 +640,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AppServicePlansCreateOrUpdateViaIdentity(InputObject.Id, AppServicePlanBody, onOk, onDefault, this, Pipeline); + await this.Client.AppServicePlansCreateOrUpdateViaIdentity(InputObject.Id, _appServicePlanBody, onOk, onDefault, this, Pipeline); } else { @@ -656,13 +657,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AppServicePlansCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, AppServicePlanBody, onOk, onDefault, this, Pipeline); + await this.Client.AppServicePlansCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _appServicePlanBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=AppServicePlanBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_appServicePlanBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -708,14 +709,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzFunctionApp_Create.cs b/src/Functions/generated/cmdlets/NewAzFunctionApp_Create.cs index 569c5f5e2cfe..6ddfd2d22c0f 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionApp_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionApp_Create.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionApp_Create", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionApp_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class NewAzFunctionApp_Create : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -202,6 +202,11 @@ public partial class NewAzFunctionApp_Create : global::System.Management.Automat /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -237,7 +242,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionApp_Cre /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -378,7 +383,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateExpanded.cs index 916c04460b29..c9b584be0b6e 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateExpanded.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionApp_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionApp_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +36,9 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// A web app, a mobile app backend, or an API app. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite _siteEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.Site(); + /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -61,7 +64,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", SerializedName = @"clientAffinityEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => SiteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientAffinityEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => _siteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientAffinityEnabled = value; } /// /// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. @@ -75,7 +78,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", SerializedName = @"clientCertEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => SiteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientCertEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => _siteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientCertEnabled = value; } /// client certificate authentication comma-separated exclusion paths [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "client certificate authentication comma-separated exclusion paths")] @@ -86,7 +89,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"client certificate authentication comma-separated exclusion paths", SerializedName = @"clientCertExclusionPaths", PossibleTypes = new [] { typeof(string) })] - public string ClientCertExclusionPath { get => SiteEnvelopeBody.ClientCertExclusionPath ?? null; set => SiteEnvelopeBody.ClientCertExclusionPath = value; } + public string ClientCertExclusionPath { get => _siteEnvelopeBody.ClientCertExclusionPath ?? null; set => _siteEnvelopeBody.ClientCertExclusionPath = value; } /// /// Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. @@ -101,7 +104,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.", SerializedName = @"appSettingsOverrides", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => SiteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => SiteEnvelopeBody.CloningInfoAppSettingsOverride = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => _siteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => _siteEnvelopeBody.CloningInfoAppSettingsOverride = value; } /// /// true to clone custom hostnames from source app; otherwise, false. @@ -114,7 +117,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to clone custom hostnames from source app; otherwise, false.", SerializedName = @"cloneCustomHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => SiteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneCustomHostName = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => _siteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneCustomHostName = value; } /// /// true to clone source control from source app; otherwise, false. @@ -127,7 +130,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to clone source control from source app; otherwise, false.", SerializedName = @"cloneSourceControl", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => SiteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneSourceControl = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => _siteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneSourceControl = value; } /// true to configure load balancing for source and destination app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to configure load balancing for source and destination app.")] @@ -138,7 +141,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to configure load balancing for source and destination app.", SerializedName = @"configureLoadBalancing", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } /// /// Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot. @@ -151,7 +154,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot.", SerializedName = @"correlationId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoCorrelationId { get => SiteEnvelopeBody.CloningInfoCorrelationId ?? null; set => SiteEnvelopeBody.CloningInfoCorrelationId = value; } + public string CloningInfoCorrelationId { get => _siteEnvelopeBody.CloningInfoCorrelationId ?? null; set => _siteEnvelopeBody.CloningInfoCorrelationId = value; } /// App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App Service Environment.")] @@ -162,7 +165,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"App Service Environment.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoHostingEnvironment { get => SiteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => SiteEnvelopeBody.CloningInfoHostingEnvironment = value; } + public string CloningInfoHostingEnvironment { get => _siteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => _siteEnvelopeBody.CloningInfoHostingEnvironment = value; } /// true to overwrite destination app; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to overwrite destination app; otherwise, false.")] @@ -173,7 +176,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to overwrite destination app; otherwise, false.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => SiteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoOverwrite = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => _siteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoOverwrite = value; } /// /// ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} @@ -188,7 +191,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", SerializedName = @"sourceWebAppId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppId { get => SiteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppId = value; } + public string CloningInfoSourceWebAppId { get => _siteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppId = value; } /// Location of source app ex: West US or North Europe [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Location of source app ex: West US or North Europe")] @@ -199,7 +202,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Location of source app ex: West US or North Europe", SerializedName = @"sourceWebAppLocation", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppLocation { get => SiteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } + public string CloningInfoSourceWebAppLocation { get => _siteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } /// /// ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. @@ -212,7 +215,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", SerializedName = @"trafficManagerProfileId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileId { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } + public string CloningInfoTrafficManagerProfileId { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } /// /// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. @@ -225,7 +228,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", SerializedName = @"trafficManagerProfileName", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileName { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } + public string CloningInfoTrafficManagerProfileName { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } /// Size of the function container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size of the function container.")] @@ -236,7 +239,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Size of the function container.", SerializedName = @"containerSize", PossibleTypes = new [] { typeof(int) })] - public int ContainerSize { get => SiteEnvelopeBody.ContainerSize ?? default(int); set => SiteEnvelopeBody.ContainerSize = value; } + public int ContainerSize { get => _siteEnvelopeBody.ContainerSize ?? default(int); set => _siteEnvelopeBody.ContainerSize = value; } /// Maximum allowed daily memory-time quota (applicable on dynamic apps only). [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed daily memory-time quota (applicable on dynamic apps only).")] @@ -247,7 +250,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Maximum allowed daily memory-time quota (applicable on dynamic apps only).", SerializedName = @"dailyMemoryTimeQuota", PossibleTypes = new [] { typeof(int) })] - public int DailyMemoryTimeQuota { get => SiteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => SiteEnvelopeBody.DailyMemoryTimeQuota = value; } + public int DailyMemoryTimeQuota { get => _siteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => _siteEnvelopeBody.DailyMemoryTimeQuota = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -270,7 +273,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => SiteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _siteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Enabled = value; } /// Hostname SSL states are used to manage the SSL bindings for app's hostnames. [global::System.Management.Automation.AllowEmptyCollection] @@ -282,7 +285,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Hostname SSL states are used to manage the SSL bindings for app's hostnames.", SerializedName = @"hostNameSslStates", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => SiteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => SiteEnvelopeBody.HostNameSslState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => _siteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => _siteEnvelopeBody.HostNameSslState = value; } /// /// true to disable the public hostnames of the app; otherwise, false. If true, the @@ -296,7 +299,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.", SerializedName = @"hostNamesDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => SiteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HostNamesDisabled = value; } + public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => _siteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HostNamesDisabled = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -307,7 +310,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => SiteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => SiteEnvelopeBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _siteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => _siteEnvelopeBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -332,7 +335,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"HttpsOnly: configures a web site to accept only https requests. Issues redirect forhttp requests", SerializedName = @"httpsOnly", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpsOnly { get => SiteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HttpsOnly = value; } + public global::System.Management.Automation.SwitchParameter HttpsOnly { get => _siteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HttpsOnly = value; } /// Hyper-V sandbox. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Hyper-V sandbox.")] @@ -343,7 +346,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Hyper-V sandbox.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => SiteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _siteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HyperV = value; } /// Type of managed service identity. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of managed service identity.")] @@ -355,7 +358,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => SiteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => SiteEnvelopeBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => _siteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => _siteEnvelopeBody.IdentityType = value; } /// /// The list of user assigned identities associated with the resource. The user identity dictionary key references will be @@ -370,7 +373,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", SerializedName = @"userAssignedIdentities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => SiteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => SiteEnvelopeBody.IdentityUserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => _siteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => _siteEnvelopeBody.IdentityUserAssignedIdentity = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -384,7 +387,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Obsolete: Hyper-V sandbox.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => SiteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _siteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -395,7 +398,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteEnvelopeBody.Kind ?? null; set => SiteEnvelopeBody.Kind = value; } + public string Kind { get => _siteEnvelopeBody.Kind ?? null; set => _siteEnvelopeBody.Kind = value; } /// Resource Location. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource Location.")] @@ -406,14 +409,14 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Resource Location.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => SiteEnvelopeBody.Location ?? null; set => SiteEnvelopeBody.Location = value; } + public string Location { get => _siteEnvelopeBody.Location ?? null; set => _siteEnvelopeBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -471,7 +474,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management SerializedName = @"redundancyMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => SiteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => SiteEnvelopeBody.RedundancyMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => _siteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => _siteEnvelopeBody.RedundancyMode = value; } /// true if reserved; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if reserved; otherwise, false.")] @@ -482,7 +485,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true if reserved; otherwise, false.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => SiteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _siteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Reserved = value; } /// Backing field for property. private string _resourceGroupName; @@ -509,7 +512,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", SerializedName = @"scmSiteAlsoStopped", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => SiteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ScmSiteAlsoStopped = value; } + public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => _siteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ScmSiteAlsoStopped = value; } /// /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". @@ -522,7 +525,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Resource ID of the associated App Service plan, formatted as: ""/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}"".", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => SiteEnvelopeBody.ServerFarmId ?? null; set => SiteEnvelopeBody.ServerFarmId = value; } + public string ServerFarmId { get => _siteEnvelopeBody.ServerFarmId ?? null; set => _siteEnvelopeBody.ServerFarmId = value; } /// Configuration of the app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Configuration of the app.")] @@ -533,13 +536,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Configuration of the app.", SerializedName = @"siteConfig", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => SiteEnvelopeBody.Config ?? null /* object */; set => SiteEnvelopeBody.Config = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite _siteEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.Site(); - - /// A web app, a mobile app backend, or an API app. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite SiteEnvelopeBody { get => this._siteEnvelopeBody; set => this._siteEnvelopeBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => _siteEnvelopeBody.Config ?? null /* object */; set => _siteEnvelopeBody.Config = value; } /// Backing field for property. private string _subscriptionId; @@ -571,7 +568,7 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => SiteEnvelopeBody.Tag ?? null /* object */; set => SiteEnvelopeBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => _siteEnvelopeBody.Tag ?? null /* object */; set => _siteEnvelopeBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -602,6 +599,11 @@ public partial class NewAzFunctionApp_CreateExpanded : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -627,7 +629,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionApp_Cre clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SiteEnvelopeBody = this.SiteEnvelopeBody; + clone._siteEnvelopeBody = this._siteEnvelopeBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; clone.SubscriptionId = this.SubscriptionId; @@ -637,7 +639,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionApp_Cre /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -778,7 +780,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -793,12 +794,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, SiteEnvelopeBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, _siteEnvelopeBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=SiteEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_siteEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -844,14 +845,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentity.cs index 0e31c84c430b..7c61335df1bf 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentity.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionApp_CreateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionApp_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -82,11 +82,11 @@ public partial class NewAzFunctionApp_CreateViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -160,6 +160,11 @@ public partial class NewAzFunctionApp_CreateViaIdentity : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -192,7 +197,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionApp_Cre /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -333,7 +338,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentityExpanded.cs index b03e91c541c7..e1f4b337c3cc 100644 --- a/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzFunctionApp_CreateViaIdentityExpanded.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunctionApp_CreateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +36,9 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// A web app, a mobile app backend, or an API app. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite _siteEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.Site(); + /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -61,7 +64,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", SerializedName = @"clientAffinityEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => SiteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientAffinityEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => _siteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientAffinityEnabled = value; } /// /// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. @@ -75,7 +78,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", SerializedName = @"clientCertEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => SiteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientCertEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => _siteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientCertEnabled = value; } /// client certificate authentication comma-separated exclusion paths [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "client certificate authentication comma-separated exclusion paths")] @@ -86,7 +89,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"client certificate authentication comma-separated exclusion paths", SerializedName = @"clientCertExclusionPaths", PossibleTypes = new [] { typeof(string) })] - public string ClientCertExclusionPath { get => SiteEnvelopeBody.ClientCertExclusionPath ?? null; set => SiteEnvelopeBody.ClientCertExclusionPath = value; } + public string ClientCertExclusionPath { get => _siteEnvelopeBody.ClientCertExclusionPath ?? null; set => _siteEnvelopeBody.ClientCertExclusionPath = value; } /// /// Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. @@ -101,7 +104,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.", SerializedName = @"appSettingsOverrides", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => SiteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => SiteEnvelopeBody.CloningInfoAppSettingsOverride = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => _siteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => _siteEnvelopeBody.CloningInfoAppSettingsOverride = value; } /// /// true to clone custom hostnames from source app; otherwise, false. @@ -114,7 +117,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to clone custom hostnames from source app; otherwise, false.", SerializedName = @"cloneCustomHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => SiteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneCustomHostName = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => _siteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneCustomHostName = value; } /// /// true to clone source control from source app; otherwise, false. @@ -127,7 +130,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to clone source control from source app; otherwise, false.", SerializedName = @"cloneSourceControl", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => SiteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneSourceControl = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => _siteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneSourceControl = value; } /// true to configure load balancing for source and destination app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to configure load balancing for source and destination app.")] @@ -138,7 +141,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to configure load balancing for source and destination app.", SerializedName = @"configureLoadBalancing", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } /// /// Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot. @@ -151,7 +154,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot.", SerializedName = @"correlationId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoCorrelationId { get => SiteEnvelopeBody.CloningInfoCorrelationId ?? null; set => SiteEnvelopeBody.CloningInfoCorrelationId = value; } + public string CloningInfoCorrelationId { get => _siteEnvelopeBody.CloningInfoCorrelationId ?? null; set => _siteEnvelopeBody.CloningInfoCorrelationId = value; } /// App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App Service Environment.")] @@ -162,7 +165,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"App Service Environment.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoHostingEnvironment { get => SiteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => SiteEnvelopeBody.CloningInfoHostingEnvironment = value; } + public string CloningInfoHostingEnvironment { get => _siteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => _siteEnvelopeBody.CloningInfoHostingEnvironment = value; } /// true to overwrite destination app; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to overwrite destination app; otherwise, false.")] @@ -173,7 +176,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to overwrite destination app; otherwise, false.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => SiteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoOverwrite = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => _siteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoOverwrite = value; } /// /// ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} @@ -188,7 +191,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", SerializedName = @"sourceWebAppId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppId { get => SiteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppId = value; } + public string CloningInfoSourceWebAppId { get => _siteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppId = value; } /// Location of source app ex: West US or North Europe [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Location of source app ex: West US or North Europe")] @@ -199,7 +202,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Location of source app ex: West US or North Europe", SerializedName = @"sourceWebAppLocation", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppLocation { get => SiteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } + public string CloningInfoSourceWebAppLocation { get => _siteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } /// /// ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. @@ -212,7 +215,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", SerializedName = @"trafficManagerProfileId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileId { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } + public string CloningInfoTrafficManagerProfileId { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } /// /// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. @@ -225,7 +228,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", SerializedName = @"trafficManagerProfileName", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileName { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } + public string CloningInfoTrafficManagerProfileName { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } /// Size of the function container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size of the function container.")] @@ -236,7 +239,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Size of the function container.", SerializedName = @"containerSize", PossibleTypes = new [] { typeof(int) })] - public int ContainerSize { get => SiteEnvelopeBody.ContainerSize ?? default(int); set => SiteEnvelopeBody.ContainerSize = value; } + public int ContainerSize { get => _siteEnvelopeBody.ContainerSize ?? default(int); set => _siteEnvelopeBody.ContainerSize = value; } /// Maximum allowed daily memory-time quota (applicable on dynamic apps only). [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed daily memory-time quota (applicable on dynamic apps only).")] @@ -247,7 +250,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Maximum allowed daily memory-time quota (applicable on dynamic apps only).", SerializedName = @"dailyMemoryTimeQuota", PossibleTypes = new [] { typeof(int) })] - public int DailyMemoryTimeQuota { get => SiteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => SiteEnvelopeBody.DailyMemoryTimeQuota = value; } + public int DailyMemoryTimeQuota { get => _siteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => _siteEnvelopeBody.DailyMemoryTimeQuota = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -270,7 +273,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => SiteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _siteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Enabled = value; } /// Hostname SSL states are used to manage the SSL bindings for app's hostnames. [global::System.Management.Automation.AllowEmptyCollection] @@ -282,7 +285,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Hostname SSL states are used to manage the SSL bindings for app's hostnames.", SerializedName = @"hostNameSslStates", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => SiteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => SiteEnvelopeBody.HostNameSslState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => _siteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => _siteEnvelopeBody.HostNameSslState = value; } /// /// true to disable the public hostnames of the app; otherwise, false. If true, the @@ -296,7 +299,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.", SerializedName = @"hostNamesDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => SiteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HostNamesDisabled = value; } + public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => _siteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HostNamesDisabled = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -307,7 +310,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => SiteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => SiteEnvelopeBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _siteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => _siteEnvelopeBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -332,7 +335,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"HttpsOnly: configures a web site to accept only https requests. Issues redirect forhttp requests", SerializedName = @"httpsOnly", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpsOnly { get => SiteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HttpsOnly = value; } + public global::System.Management.Automation.SwitchParameter HttpsOnly { get => _siteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HttpsOnly = value; } /// Hyper-V sandbox. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Hyper-V sandbox.")] @@ -343,7 +346,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Hyper-V sandbox.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => SiteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _siteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HyperV = value; } /// Type of managed service identity. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of managed service identity.")] @@ -355,7 +358,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => SiteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => SiteEnvelopeBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => _siteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => _siteEnvelopeBody.IdentityType = value; } /// /// The list of user assigned identities associated with the resource. The user identity dictionary key references will be @@ -370,7 +373,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", SerializedName = @"userAssignedIdentities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => SiteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => SiteEnvelopeBody.IdentityUserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => _siteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => _siteEnvelopeBody.IdentityUserAssignedIdentity = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -392,7 +395,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Obsolete: Hyper-V sandbox.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => SiteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _siteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -403,7 +406,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteEnvelopeBody.Kind ?? null; set => SiteEnvelopeBody.Kind = value; } + public string Kind { get => _siteEnvelopeBody.Kind ?? null; set => _siteEnvelopeBody.Kind = value; } /// Resource Location. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource Location.")] @@ -414,14 +417,14 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Resource Location.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => SiteEnvelopeBody.Location ?? null; set => SiteEnvelopeBody.Location = value; } + public string Location { get => _siteEnvelopeBody.Location ?? null; set => _siteEnvelopeBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -463,7 +466,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System SerializedName = @"redundancyMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => SiteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => SiteEnvelopeBody.RedundancyMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => _siteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => _siteEnvelopeBody.RedundancyMode = value; } /// true if reserved; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if reserved; otherwise, false.")] @@ -474,7 +477,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true if reserved; otherwise, false.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => SiteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _siteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Reserved = value; } /// /// true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. @@ -487,7 +490,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", SerializedName = @"scmSiteAlsoStopped", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => SiteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ScmSiteAlsoStopped = value; } + public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => _siteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ScmSiteAlsoStopped = value; } /// /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". @@ -500,7 +503,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Resource ID of the associated App Service plan, formatted as: ""/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}"".", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => SiteEnvelopeBody.ServerFarmId ?? null; set => SiteEnvelopeBody.ServerFarmId = value; } + public string ServerFarmId { get => _siteEnvelopeBody.ServerFarmId ?? null; set => _siteEnvelopeBody.ServerFarmId = value; } /// Configuration of the app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Configuration of the app.")] @@ -511,13 +514,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Configuration of the app.", SerializedName = @"siteConfig", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => SiteEnvelopeBody.Config ?? null /* object */; set => SiteEnvelopeBody.Config = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite _siteEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.Site(); - - /// A web app, a mobile app backend, or an API app. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite SiteEnvelopeBody { get => this._siteEnvelopeBody; set => this._siteEnvelopeBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => _siteEnvelopeBody.Config ?? null /* object */; set => _siteEnvelopeBody.Config = value; } /// Resource tags. [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ExportAs(typeof(global::System.Collections.Hashtable))] @@ -529,7 +526,7 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => SiteEnvelopeBody.Tag ?? null /* object */; set => SiteEnvelopeBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => _siteEnvelopeBody.Tag ?? null /* object */; set => _siteEnvelopeBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -560,6 +557,11 @@ public partial class NewAzFunctionApp_CreateViaIdentityExpanded : global::System /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -585,14 +587,14 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunctionApp_Cre clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SiteEnvelopeBody = this.SiteEnvelopeBody; + clone._siteEnvelopeBody = this._siteEnvelopeBody; return clone; } /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -733,7 +735,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -750,7 +751,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsCreateOrUpdateViaIdentity(InputObject.Id, SiteEnvelopeBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateViaIdentity(InputObject.Id, _siteEnvelopeBody, onOk, onDefault, this, Pipeline); } else { @@ -767,13 +768,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, SiteEnvelopeBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _siteEnvelopeBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -819,14 +820,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzFunction_Create.cs b/src/Functions/generated/cmdlets/NewAzFunction_Create.cs index 374144eccbbe..059f5fa3f5f7 100644 --- a/src/Functions/generated/cmdlets/NewAzFunction_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzFunction_Create.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// /// [OpenAPI] CreateFunction=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunction_Create", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Create function for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Create function for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunction_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -113,11 +113,11 @@ public partial class NewAzFunction_Create : global::System.Management.Automation 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -200,6 +200,11 @@ public partial class NewAzFunction_Create : global::System.Management.Automation /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -236,7 +241,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunction_Create /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -377,7 +382,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzFunction_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzFunction_CreateExpanded.cs index acaa249124dc..3e21ddc9078e 100644 --- a/src/Functions/generated/cmdlets/NewAzFunction_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzFunction_CreateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// /// [OpenAPI] CreateFunction=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunction_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Create function for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Create function for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunction_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,9 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Function information. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope _functionEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.FunctionEnvelope(); + /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -56,7 +59,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Config information.", SerializedName = @"config", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny Config { get => FunctionEnvelopeBody.Config ?? null /* object */; set => FunctionEnvelopeBody.Config = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny Config { get => _functionEnvelopeBody.Config ?? null /* object */; set => _functionEnvelopeBody.Config = value; } /// Config URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Config URI.")] @@ -67,7 +70,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Config URI.", SerializedName = @"config_href", PossibleTypes = new [] { typeof(string) })] - public string ConfigHref { get => FunctionEnvelopeBody.ConfigHref ?? null; set => FunctionEnvelopeBody.ConfigHref = value; } + public string ConfigHref { get => _functionEnvelopeBody.ConfigHref ?? null; set => _functionEnvelopeBody.ConfigHref = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -88,7 +91,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"File list.", SerializedName = @"files", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles File { get => FunctionEnvelopeBody.File ?? null /* object */; set => FunctionEnvelopeBody.File = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles File { get => _functionEnvelopeBody.File ?? null /* object */; set => _functionEnvelopeBody.File = value; } /// Function App ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Function App ID.")] @@ -99,7 +102,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Function App ID.", SerializedName = @"function_app_id", PossibleTypes = new [] { typeof(string) })] - public string FunctionAppId { get => FunctionEnvelopeBody.FunctionAppId ?? null; set => FunctionEnvelopeBody.FunctionAppId = value; } + public string FunctionAppId { get => _functionEnvelopeBody.FunctionAppId ?? null; set => _functionEnvelopeBody.FunctionAppId = value; } /// Backing field for property. private string _functionAppName; @@ -115,12 +118,6 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] public string FunctionAppName { get => this._functionAppName; set => this._functionAppName = value; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope _functionEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.FunctionEnvelope(); - - /// Function information. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope FunctionEnvelopeBody { get => this._functionEnvelopeBody; set => this._functionEnvelopeBody = value; } - /// Backing field for property. private string _functionName; @@ -144,7 +141,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Function URI.", SerializedName = @"href", PossibleTypes = new [] { typeof(string) })] - public string Href { get => FunctionEnvelopeBody.Href ?? null; set => FunctionEnvelopeBody.Href = value; } + public string Href { get => _functionEnvelopeBody.Href ?? null; set => _functionEnvelopeBody.Href = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -170,7 +167,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"The invocation URL", SerializedName = @"invoke_url_template", PossibleTypes = new [] { typeof(string) })] - public string InvokeUrlTemplate { get => FunctionEnvelopeBody.InvokeUrlTemplate ?? null; set => FunctionEnvelopeBody.InvokeUrlTemplate = value; } + public string InvokeUrlTemplate { get => _functionEnvelopeBody.InvokeUrlTemplate ?? null; set => _functionEnvelopeBody.InvokeUrlTemplate = value; } /// Gets or sets a value indicating whether the function is disabled [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Gets or sets a value indicating whether the function is disabled")] @@ -181,7 +178,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Gets or sets a value indicating whether the function is disabled", SerializedName = @"isDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsDisabled { get => FunctionEnvelopeBody.IsDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => FunctionEnvelopeBody.IsDisabled = value; } + public global::System.Management.Automation.SwitchParameter IsDisabled { get => _functionEnvelopeBody.IsDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _functionEnvelopeBody.IsDisabled = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -192,7 +189,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => FunctionEnvelopeBody.Kind ?? null; set => FunctionEnvelopeBody.Kind = value; } + public string Kind { get => _functionEnvelopeBody.Kind ?? null; set => _functionEnvelopeBody.Kind = value; } /// The function language [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The function language")] @@ -203,14 +200,14 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"The function language", SerializedName = @"language", PossibleTypes = new [] { typeof(string) })] - public string Language { get => FunctionEnvelopeBody.Language ?? null; set => FunctionEnvelopeBody.Language = value; } + public string Language { get => _functionEnvelopeBody.Language ?? null; set => _functionEnvelopeBody.Language = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -265,7 +262,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Script URI.", SerializedName = @"script_href", PossibleTypes = new [] { typeof(string) })] - public string ScriptHref { get => FunctionEnvelopeBody.ScriptHref ?? null; set => FunctionEnvelopeBody.ScriptHref = value; } + public string ScriptHref { get => _functionEnvelopeBody.ScriptHref ?? null; set => _functionEnvelopeBody.ScriptHref = value; } /// Script root path URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Script root path URI.")] @@ -276,7 +273,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Script root path URI.", SerializedName = @"script_root_path_href", PossibleTypes = new [] { typeof(string) })] - public string ScriptRootPathHref { get => FunctionEnvelopeBody.ScriptRootPathHref ?? null; set => FunctionEnvelopeBody.ScriptRootPathHref = value; } + public string ScriptRootPathHref { get => _functionEnvelopeBody.ScriptRootPathHref ?? null; set => _functionEnvelopeBody.ScriptRootPathHref = value; } /// Secrets file URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Secrets file URI.")] @@ -287,7 +284,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Secrets file URI.", SerializedName = @"secrets_file_href", PossibleTypes = new [] { typeof(string) })] - public string SecretsFileHref { get => FunctionEnvelopeBody.SecretsFileHref ?? null; set => FunctionEnvelopeBody.SecretsFileHref = value; } + public string SecretsFileHref { get => _functionEnvelopeBody.SecretsFileHref ?? null; set => _functionEnvelopeBody.SecretsFileHref = value; } /// Backing field for property. private string _subscriptionId; @@ -318,7 +315,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Test data used when testing via the Azure Portal.", SerializedName = @"test_data", PossibleTypes = new [] { typeof(string) })] - public string TestData { get => FunctionEnvelopeBody.TestData ?? null; set => FunctionEnvelopeBody.TestData = value; } + public string TestData { get => _functionEnvelopeBody.TestData ?? null; set => _functionEnvelopeBody.TestData = value; } /// Test data URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Test data URI.")] @@ -329,7 +326,7 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au Description = @"Test data URI.", SerializedName = @"test_data_href", PossibleTypes = new [] { typeof(string) })] - public string TestDataHref { get => FunctionEnvelopeBody.TestDataHref ?? null; set => FunctionEnvelopeBody.TestDataHref = value; } + public string TestDataHref { get => _functionEnvelopeBody.TestDataHref ?? null; set => _functionEnvelopeBody.TestDataHref = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -348,6 +345,11 @@ public partial class NewAzFunction_CreateExpanded : global::System.Management.Au /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -373,7 +375,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunction_Create clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.FunctionEnvelopeBody = this.FunctionEnvelopeBody; + clone._functionEnvelopeBody = this._functionEnvelopeBody; clone.ResourceGroupName = this.ResourceGroupName; clone.FunctionAppName = this.FunctionAppName; clone.FunctionName = this.FunctionName; @@ -384,7 +386,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunction_Create /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -525,7 +527,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -540,12 +541,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateFunction(ResourceGroupName, FunctionAppName, FunctionName, SubscriptionId, FunctionEnvelopeBody, onDefault, this, Pipeline); + await this.Client.WebAppsCreateFunction(ResourceGroupName, FunctionAppName, FunctionName, SubscriptionId, _functionEnvelopeBody, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,FunctionAppName=FunctionAppName,FunctionName=FunctionName,SubscriptionId=SubscriptionId,body=FunctionEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,FunctionAppName=FunctionAppName,FunctionName=FunctionName,SubscriptionId=SubscriptionId,body=_functionEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -591,14 +592,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, FunctionAppName=FunctionAppName, FunctionName=FunctionName, SubscriptionId=SubscriptionId, body=FunctionEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, FunctionAppName=FunctionAppName, FunctionName=FunctionName, SubscriptionId=SubscriptionId, body=_functionEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, FunctionAppName=FunctionAppName, FunctionName=FunctionName, SubscriptionId=SubscriptionId, body=FunctionEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, FunctionAppName=FunctionAppName, FunctionName=FunctionName, SubscriptionId=SubscriptionId, body=_functionEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentity.cs index 0b20f36bd613..b12498647057 100644 --- a/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// /// [OpenAPI] CreateFunction=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunction_CreateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Create function for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Create function for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunction_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -93,11 +93,11 @@ public partial class NewAzFunction_CreateViaIdentity : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -146,6 +146,11 @@ public partial class NewAzFunction_CreateViaIdentity : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -178,7 +183,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunction_Create /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -319,7 +324,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentityExpanded.cs index ca9d1473a76b..98f761e5f0ad 100644 --- a/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzFunction_CreateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Create function for web site, or a deployment slot. + /// Create function for web site, or a deployment slot. /// /// [OpenAPI] CreateFunction=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzFunction_CreateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Create function for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Create function for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,9 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Function information. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope _functionEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.FunctionEnvelope(); + /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -56,7 +59,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Config information.", SerializedName = @"config", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny Config { get => FunctionEnvelopeBody.Config ?? null /* object */; set => FunctionEnvelopeBody.Config = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny Config { get => _functionEnvelopeBody.Config ?? null /* object */; set => _functionEnvelopeBody.Config = value; } /// Config URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Config URI.")] @@ -67,7 +70,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Config URI.", SerializedName = @"config_href", PossibleTypes = new [] { typeof(string) })] - public string ConfigHref { get => FunctionEnvelopeBody.ConfigHref ?? null; set => FunctionEnvelopeBody.ConfigHref = value; } + public string ConfigHref { get => _functionEnvelopeBody.ConfigHref ?? null; set => _functionEnvelopeBody.ConfigHref = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -88,7 +91,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"File list.", SerializedName = @"files", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles File { get => FunctionEnvelopeBody.File ?? null /* object */; set => FunctionEnvelopeBody.File = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles File { get => _functionEnvelopeBody.File ?? null /* object */; set => _functionEnvelopeBody.File = value; } /// Function App ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Function App ID.")] @@ -99,13 +102,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Function App ID.", SerializedName = @"function_app_id", PossibleTypes = new [] { typeof(string) })] - public string FunctionAppId { get => FunctionEnvelopeBody.FunctionAppId ?? null; set => FunctionEnvelopeBody.FunctionAppId = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope _functionEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.FunctionEnvelope(); - - /// Function information. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope FunctionEnvelopeBody { get => this._functionEnvelopeBody; set => this._functionEnvelopeBody = value; } + public string FunctionAppId { get => _functionEnvelopeBody.FunctionAppId ?? null; set => _functionEnvelopeBody.FunctionAppId = value; } /// Function URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Function URI.")] @@ -116,7 +113,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Function URI.", SerializedName = @"href", PossibleTypes = new [] { typeof(string) })] - public string Href { get => FunctionEnvelopeBody.Href ?? null; set => FunctionEnvelopeBody.Href = value; } + public string Href { get => _functionEnvelopeBody.Href ?? null; set => _functionEnvelopeBody.Href = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -150,7 +147,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"The invocation URL", SerializedName = @"invoke_url_template", PossibleTypes = new [] { typeof(string) })] - public string InvokeUrlTemplate { get => FunctionEnvelopeBody.InvokeUrlTemplate ?? null; set => FunctionEnvelopeBody.InvokeUrlTemplate = value; } + public string InvokeUrlTemplate { get => _functionEnvelopeBody.InvokeUrlTemplate ?? null; set => _functionEnvelopeBody.InvokeUrlTemplate = value; } /// Gets or sets a value indicating whether the function is disabled [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Gets or sets a value indicating whether the function is disabled")] @@ -161,7 +158,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Gets or sets a value indicating whether the function is disabled", SerializedName = @"isDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsDisabled { get => FunctionEnvelopeBody.IsDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => FunctionEnvelopeBody.IsDisabled = value; } + public global::System.Management.Automation.SwitchParameter IsDisabled { get => _functionEnvelopeBody.IsDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _functionEnvelopeBody.IsDisabled = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -172,7 +169,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => FunctionEnvelopeBody.Kind ?? null; set => FunctionEnvelopeBody.Kind = value; } + public string Kind { get => _functionEnvelopeBody.Kind ?? null; set => _functionEnvelopeBody.Kind = value; } /// The function language [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The function language")] @@ -183,14 +180,14 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"The function language", SerializedName = @"language", PossibleTypes = new [] { typeof(string) })] - public string Language { get => FunctionEnvelopeBody.Language ?? null; set => FunctionEnvelopeBody.Language = value; } + public string Language { get => _functionEnvelopeBody.Language ?? null; set => _functionEnvelopeBody.Language = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -231,7 +228,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Script URI.", SerializedName = @"script_href", PossibleTypes = new [] { typeof(string) })] - public string ScriptHref { get => FunctionEnvelopeBody.ScriptHref ?? null; set => FunctionEnvelopeBody.ScriptHref = value; } + public string ScriptHref { get => _functionEnvelopeBody.ScriptHref ?? null; set => _functionEnvelopeBody.ScriptHref = value; } /// Script root path URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Script root path URI.")] @@ -242,7 +239,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Script root path URI.", SerializedName = @"script_root_path_href", PossibleTypes = new [] { typeof(string) })] - public string ScriptRootPathHref { get => FunctionEnvelopeBody.ScriptRootPathHref ?? null; set => FunctionEnvelopeBody.ScriptRootPathHref = value; } + public string ScriptRootPathHref { get => _functionEnvelopeBody.ScriptRootPathHref ?? null; set => _functionEnvelopeBody.ScriptRootPathHref = value; } /// Secrets file URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Secrets file URI.")] @@ -253,7 +250,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Secrets file URI.", SerializedName = @"secrets_file_href", PossibleTypes = new [] { typeof(string) })] - public string SecretsFileHref { get => FunctionEnvelopeBody.SecretsFileHref ?? null; set => FunctionEnvelopeBody.SecretsFileHref = value; } + public string SecretsFileHref { get => _functionEnvelopeBody.SecretsFileHref ?? null; set => _functionEnvelopeBody.SecretsFileHref = value; } /// Test data used when testing via the Azure Portal. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Test data used when testing via the Azure Portal.")] @@ -264,7 +261,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Test data used when testing via the Azure Portal.", SerializedName = @"test_data", PossibleTypes = new [] { typeof(string) })] - public string TestData { get => FunctionEnvelopeBody.TestData ?? null; set => FunctionEnvelopeBody.TestData = value; } + public string TestData { get => _functionEnvelopeBody.TestData ?? null; set => _functionEnvelopeBody.TestData = value; } /// Test data URI. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Test data URI.")] @@ -275,7 +272,7 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma Description = @"Test data URI.", SerializedName = @"test_data_href", PossibleTypes = new [] { typeof(string) })] - public string TestDataHref { get => FunctionEnvelopeBody.TestDataHref ?? null; set => FunctionEnvelopeBody.TestDataHref = value; } + public string TestDataHref { get => _functionEnvelopeBody.TestDataHref ?? null; set => _functionEnvelopeBody.TestDataHref = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -294,6 +291,11 @@ public partial class NewAzFunction_CreateViaIdentityExpanded : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -319,14 +321,14 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.NewAzFunction_Create clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.FunctionEnvelopeBody = this.FunctionEnvelopeBody; + clone._functionEnvelopeBody = this._functionEnvelopeBody; return clone; } /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -467,7 +469,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -484,7 +485,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsCreateFunctionViaIdentity(InputObject.Id, FunctionEnvelopeBody, onDefault, this, Pipeline); + await this.Client.WebAppsCreateFunctionViaIdentity(InputObject.Id, _functionEnvelopeBody, onDefault, this, Pipeline); } else { @@ -505,13 +506,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsCreateFunction(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.FunctionName ?? null, InputObject.SubscriptionId ?? null, FunctionEnvelopeBody, onDefault, this, Pipeline); + await this.Client.WebAppsCreateFunction(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.FunctionName ?? null, InputObject.SubscriptionId ?? null, _functionEnvelopeBody, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=FunctionEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_functionEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -557,14 +558,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=FunctionEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_functionEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=FunctionEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_functionEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_Create.cs b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_Create.cs index df7454e69edb..6e4160212e62 100644 --- a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_Create.cs @@ -67,11 +67,11 @@ public partial class NewAzUserAssignedIdentity_Create : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -197,6 +197,11 @@ public partial class NewAzUserAssignedIdentity_Create : global::System.Managemen /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -208,7 +213,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -319,7 +324,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateExpanded.cs index 394059b5c2b0..2ac52526e77e 100644 --- a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateExpanded.cs @@ -34,6 +34,9 @@ public partial class NewAzUserAssignedIdentity_CreateExpanded : global::System.M /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Describes an identity resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityAutoGenerated(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -75,22 +78,16 @@ public partial class NewAzUserAssignedIdentity_CreateExpanded : global::System.M Description = @"The geo-location where the resource lives", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ParametersBody.Location ?? null; set => ParametersBody.Location = value; } + public string Location { get => _parametersBody.Location ?? null; set => _parametersBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityAutoGenerated(); - - /// Describes an identity resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } - /// /// The instance of the that the remote call will use. /// @@ -170,7 +167,7 @@ public partial class NewAzUserAssignedIdentity_CreateExpanded : global::System.M Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what @@ -213,6 +210,11 @@ public partial class NewAzUserAssignedIdentity_CreateExpanded : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -224,7 +226,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -335,7 +337,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -350,12 +351,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.UserAssignedIdentitiesCreateOrUpdate(SubscriptionId, ResourceGroupName, ResourceName, ParametersBody, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesCreateOrUpdate(SubscriptionId, ResourceGroupName, ResourceName, _parametersBody, onOk, onCreated, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ResourceName=ResourceName,body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ResourceName=ResourceName,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -425,14 +426,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentity.cs index ffb2825b6497..f56c11d6793f 100644 --- a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentity.cs @@ -75,11 +75,11 @@ public partial class NewAzUserAssignedIdentity_CreateViaIdentity : global::Syste 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -157,6 +157,11 @@ public partial class NewAzUserAssignedIdentity_CreateViaIdentity : global::Syste /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -168,7 +173,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -279,7 +284,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentityExpanded.cs index 79c885606244..caccfe9032ca 100644 --- a/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzUserAssignedIdentity_CreateViaIdentityExpanded.cs @@ -34,6 +34,9 @@ public partial class NewAzUserAssignedIdentity_CreateViaIdentityExpanded : globa /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Describes an identity resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityAutoGenerated(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -83,22 +86,16 @@ public partial class NewAzUserAssignedIdentity_CreateViaIdentityExpanded : globa Description = @"The geo-location where the resource lives", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ParametersBody.Location ?? null; set => ParametersBody.Location = value; } + public string Location { get => _parametersBody.Location ?? null; set => _parametersBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityAutoGenerated(); - - /// Describes an identity resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } - /// /// The instance of the that the remote call will use. /// @@ -130,7 +127,7 @@ public partial class NewAzUserAssignedIdentity_CreateViaIdentityExpanded : globa Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what @@ -173,6 +170,11 @@ public partial class NewAzUserAssignedIdentity_CreateViaIdentityExpanded : globa /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -184,7 +186,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -295,7 +297,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -312,7 +313,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.UserAssignedIdentitiesCreateOrUpdateViaIdentity(InputObject.Id, ParametersBody, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesCreateOrUpdateViaIdentity(InputObject.Id, _parametersBody, onOk, onCreated, onDefault, this, Pipeline); } else { @@ -329,13 +330,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.UserAssignedIdentitiesCreateOrUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, ParametersBody, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesCreateOrUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, _parametersBody, onOk, onCreated, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -405,14 +406,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_Create.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_Create.cs index 72faadfe44f8..1af2410b8197 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_Create.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfigurationSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfigurationSlot_Create", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfigurationSlot_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class NewAzWebAppConfigurationSlot_Create : global::System.Manage 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -201,6 +201,11 @@ public partial class NewAzWebAppConfigurationSlot_Create : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +217,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -323,7 +328,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateExpanded.cs index f35a5d825c81..9cd9f829263c 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfigurationSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfigurationSlot_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -370,7 +395,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -381,7 +406,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -392,7 +417,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -403,7 +428,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -414,7 +439,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -425,7 +450,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -436,7 +461,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -447,7 +472,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -458,7 +483,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -470,7 +495,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -481,7 +506,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -492,7 +517,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -504,7 +529,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -515,14 +540,14 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -535,7 +560,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// Backing field for property. private string _name; @@ -560,7 +585,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -571,7 +596,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -582,7 +607,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -593,7 +618,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -609,7 +634,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -622,7 +647,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -649,7 +674,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -660,7 +685,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -671,7 +696,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -684,7 +709,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -695,7 +720,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -706,7 +731,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -717,7 +742,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -728,7 +753,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -739,7 +764,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// Backing field for property. private string _resourceGroupName; @@ -765,7 +790,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -776,7 +801,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -788,13 +813,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Backing field for property. private string _slot; @@ -821,7 +840,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -832,7 +851,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -843,7 +862,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// Backing field for property. private string _subscriptionId; @@ -876,7 +895,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -891,7 +910,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -902,7 +921,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -913,7 +932,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -925,7 +944,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -936,7 +955,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -948,7 +967,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -959,7 +978,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -970,7 +989,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -981,7 +1000,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -992,7 +1011,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -1023,6 +1042,11 @@ public partial class NewAzWebAppConfigurationSlot_CreateExpanded : global::Syste /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -1034,7 +1058,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1145,7 +1169,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1160,12 +1183,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateOrUpdateConfigurationSlot(ResourceGroupName, Name, Slot, SubscriptionId, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfigurationSlot(ResourceGroupName, Name, Slot, SubscriptionId, _siteConfigBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1211,14 +1234,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentity.cs index e27df5435db4..3d62843e32cb 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfigurationSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfigurationSlot_CreateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfigurationSlot_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentity : global::Sy 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -145,6 +145,11 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentity : global::Sy /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -156,7 +161,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -267,7 +272,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded.cs index c7d8cc11dcaf..8f1f925b8100 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfigurationSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfigurationSlot_CreateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -378,7 +403,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -389,7 +414,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -400,7 +425,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -411,7 +436,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -422,7 +447,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -433,7 +458,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -444,7 +469,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -455,7 +480,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -466,7 +491,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -478,7 +503,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -489,7 +514,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -500,7 +525,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -512,7 +537,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -523,14 +548,14 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -543,7 +568,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// .NET Framework version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = ".NET Framework version.")] @@ -554,7 +579,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -565,7 +590,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -576,7 +601,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -587,7 +612,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -603,7 +628,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -616,7 +641,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -643,7 +668,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -654,7 +679,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -665,7 +690,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -678,7 +703,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -689,7 +714,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -700,7 +725,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -711,7 +736,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -722,7 +747,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -733,7 +758,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// IP security restrictions for scm. [global::System.Management.Automation.AllowEmptyCollection] @@ -745,7 +770,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -756,7 +781,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -768,13 +793,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -785,7 +804,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -796,7 +815,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -807,7 +826,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// /// Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. @@ -820,7 +839,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -835,7 +854,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -846,7 +865,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -857,7 +876,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -869,7 +888,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -880,7 +899,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -892,7 +911,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -903,7 +922,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -914,7 +933,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -925,7 +944,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -936,7 +955,7 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -967,6 +986,11 @@ public partial class NewAzWebAppConfigurationSlot_CreateViaIdentityExpanded : gl /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -978,7 +1002,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1089,7 +1113,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1106,7 +1129,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsCreateOrUpdateConfigurationSlotViaIdentity(InputObject.Id, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfigurationSlotViaIdentity(InputObject.Id, _siteConfigBody, onOk, onDefault, this, Pipeline); } else { @@ -1127,13 +1150,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsCreateOrUpdateConfigurationSlot(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.Slot ?? null, InputObject.SubscriptionId ?? null, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfigurationSlot(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.Slot ?? null, InputObject.SubscriptionId ?? null, _siteConfigBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1179,14 +1202,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_Create.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_Create.cs index a962f999547b..d1c97672bd6b 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_Create.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_Create.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfiguration=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfiguration_Create", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfiguration_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class NewAzWebAppConfiguration_Create : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -185,6 +185,11 @@ public partial class NewAzWebAppConfiguration_Create : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -196,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -307,7 +312,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateExpanded.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateExpanded.cs index 018c0cf71a46..6f2c5cf518c4 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfiguration=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfiguration_CreateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -370,7 +395,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -381,7 +406,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -392,7 +417,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -403,7 +428,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -414,7 +439,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -425,7 +450,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -436,7 +461,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -447,7 +472,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -458,7 +483,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -470,7 +495,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -481,7 +506,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -492,7 +517,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -504,7 +529,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -515,14 +540,14 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -535,7 +560,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// Backing field for property. private string _name; @@ -560,7 +585,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -571,7 +596,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -582,7 +607,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -593,7 +618,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -609,7 +634,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -622,7 +647,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -649,7 +674,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -660,7 +685,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -671,7 +696,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -684,7 +709,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -695,7 +720,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -706,7 +731,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -717,7 +742,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -728,7 +753,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -739,7 +764,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// Backing field for property. private string _resourceGroupName; @@ -765,7 +790,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -776,7 +801,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -788,13 +813,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -805,7 +824,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -816,7 +835,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -827,7 +846,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// Backing field for property. private string _subscriptionId; @@ -860,7 +879,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -875,7 +894,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -886,7 +905,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -897,7 +916,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -909,7 +928,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -920,7 +939,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -932,7 +951,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -943,7 +962,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -954,7 +973,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -965,7 +984,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -976,7 +995,7 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -1007,6 +1026,11 @@ public partial class NewAzWebAppConfiguration_CreateExpanded : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -1018,7 +1042,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1129,7 +1153,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1144,12 +1167,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateOrUpdateConfiguration(ResourceGroupName, Name, SubscriptionId, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfiguration(ResourceGroupName, Name, SubscriptionId, _siteConfigBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1195,14 +1218,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentity.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentity.cs index aee0799d2a4f..f861307935fc 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfiguration=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfiguration_CreateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfiguration_CreateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentity : global::System 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -145,6 +145,11 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentity : global::System /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -156,7 +161,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -267,7 +272,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentityExpanded.cs index dd278a13d70b..07e8c07fa009 100644 --- a/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/NewAzWebAppConfiguration_CreateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfiguration=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWebAppConfiguration_CreateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -378,7 +403,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -389,7 +414,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -400,7 +425,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -411,7 +436,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -422,7 +447,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -433,7 +458,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -444,7 +469,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -455,7 +480,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -466,7 +491,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -478,7 +503,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -489,7 +514,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -500,7 +525,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -512,7 +537,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -523,14 +548,14 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -543,7 +568,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// .NET Framework version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = ".NET Framework version.")] @@ -554,7 +579,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -565,7 +590,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -576,7 +601,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -587,7 +612,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -603,7 +628,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -616,7 +641,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -643,7 +668,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -654,7 +679,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -665,7 +690,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -678,7 +703,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -689,7 +714,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -700,7 +725,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -711,7 +736,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -722,7 +747,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -733,7 +758,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// IP security restrictions for scm. [global::System.Management.Automation.AllowEmptyCollection] @@ -745,7 +770,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -756,7 +781,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -768,13 +793,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -785,7 +804,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -796,7 +815,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -807,7 +826,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// /// Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. @@ -820,7 +839,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -835,7 +854,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -846,7 +865,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -857,7 +876,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -869,7 +888,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -880,7 +899,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -892,7 +911,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -903,7 +922,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -914,7 +933,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -925,7 +944,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -936,7 +955,7 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -967,6 +986,11 @@ public partial class NewAzWebAppConfiguration_CreateViaIdentityExpanded : global /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -978,7 +1002,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1089,7 +1113,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1106,7 +1129,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsCreateOrUpdateConfigurationViaIdentity(InputObject.Id, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfigurationViaIdentity(InputObject.Id, _siteConfigBody, onOk, onDefault, this, Pipeline); } else { @@ -1123,13 +1146,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsCreateOrUpdateConfiguration(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfiguration(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _siteConfigBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1175,14 +1198,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_Delete.cs b/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_Delete.cs index b4aa15fea636..af7ae7c15c3d 100644 --- a/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_Delete.cs +++ b/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_Delete.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Delete an App Service plan. + /// Delete an App Service plan. /// /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzFunctionAppPlan_Delete", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Delete an App Service plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Delete an App Service plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RemoveAzFunctionAppPlan_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class RemoveAzFunctionAppPlan_Delete : global::System.Management. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -187,6 +187,11 @@ public partial class RemoveAzFunctionAppPlan_Delete : global::System.Management. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -198,7 +203,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -301,7 +306,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_DeleteViaIdentity.cs b/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_DeleteViaIdentity.cs index 04ad4217eeb4..f732dec4b2b3 100644 --- a/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_DeleteViaIdentity.cs +++ b/src/Functions/generated/cmdlets/RemoveAzFunctionAppPlan_DeleteViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Delete an App Service plan. + /// Delete an App Service plan. /// /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzFunctionAppPlan_DeleteViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Delete an App Service plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Delete an App Service plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RemoveAzFunctionAppPlan_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class RemoveAzFunctionAppPlan_DeleteViaIdentity : global::System. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -147,6 +147,11 @@ public partial class RemoveAzFunctionAppPlan_DeleteViaIdentity : global::System. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -158,7 +163,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -261,7 +266,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzFunctionApp_Delete.cs b/src/Functions/generated/cmdlets/RemoveAzFunctionApp_Delete.cs index 171e007875a5..b10a0a1ec56d 100644 --- a/src/Functions/generated/cmdlets/RemoveAzFunctionApp_Delete.cs +++ b/src/Functions/generated/cmdlets/RemoveAzFunctionApp_Delete.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Deletes a web, mobile, or API app, or one of the deployment slots. - /// + /// Deletes a web, mobile, or API app, or one of the deployment slots. /// /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzFunctionApp_Delete", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Deletes a web, mobile, or API app, or one of the deployment slots.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Deletes a web, mobile, or API app, or one of the deployment slots.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RemoveAzFunctionApp_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -99,11 +97,11 @@ public partial class RemoveAzFunctionApp_Delete : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -229,6 +227,11 @@ public partial class RemoveAzFunctionApp_Delete : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -240,7 +243,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -343,7 +346,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzFunctionApp_DeleteViaIdentity.cs b/src/Functions/generated/cmdlets/RemoveAzFunctionApp_DeleteViaIdentity.cs index c9d36c251e0c..8e0aabe5c3a0 100644 --- a/src/Functions/generated/cmdlets/RemoveAzFunctionApp_DeleteViaIdentity.cs +++ b/src/Functions/generated/cmdlets/RemoveAzFunctionApp_DeleteViaIdentity.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Deletes a web, mobile, or API app, or one of the deployment slots. - /// + /// Deletes a web, mobile, or API app, or one of the deployment slots. /// /// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzFunctionApp_DeleteViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Deletes a web, mobile, or API app, or one of the deployment slots.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Deletes a web, mobile, or API app, or one of the deployment slots.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RemoveAzFunctionApp_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -107,11 +105,11 @@ public partial class RemoveAzFunctionApp_DeleteViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -189,6 +187,11 @@ public partial class RemoveAzFunctionApp_DeleteViaIdentity : global::System.Mana /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -200,7 +203,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -303,7 +306,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzFunction_Delete.cs b/src/Functions/generated/cmdlets/RemoveAzFunction_Delete.cs index 9a86848be091..4f25a9cffc3e 100644 --- a/src/Functions/generated/cmdlets/RemoveAzFunction_Delete.cs +++ b/src/Functions/generated/cmdlets/RemoveAzFunction_Delete.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Delete a function for web site, or a deployment slot. + /// Delete a function for web site, or a deployment slot. /// /// [OpenAPI] DeleteFunction=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzFunction_Delete", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Delete a function for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Delete a function for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RemoveAzFunction_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -95,11 +95,11 @@ public partial class RemoveAzFunction_Delete : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -201,6 +201,11 @@ public partial class RemoveAzFunction_Delete : global::System.Management.Automat /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +217,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +320,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzFunction_DeleteViaIdentity.cs b/src/Functions/generated/cmdlets/RemoveAzFunction_DeleteViaIdentity.cs index f11562d4abbb..255e0d06a036 100644 --- a/src/Functions/generated/cmdlets/RemoveAzFunction_DeleteViaIdentity.cs +++ b/src/Functions/generated/cmdlets/RemoveAzFunction_DeleteViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Delete a function for web site, or a deployment slot. + /// Delete a function for web site, or a deployment slot. /// /// [OpenAPI] DeleteFunction=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzFunction_DeleteViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Delete a function for web site, or a deployment slot.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Delete a function for web site, or a deployment slot.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RemoveAzFunction_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class RemoveAzFunction_DeleteViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -147,6 +147,11 @@ public partial class RemoveAzFunction_DeleteViaIdentity : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -158,7 +163,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -261,7 +266,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_Delete.cs b/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_Delete.cs index 838f87f9bf77..8b5a715767c0 100644 --- a/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_Delete.cs +++ b/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_Delete.cs @@ -67,11 +67,11 @@ public partial class RemoveAzUserAssignedIdentity_Delete : global::System.Manage 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -187,6 +187,11 @@ public partial class RemoveAzUserAssignedIdentity_Delete : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -198,7 +203,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -301,7 +306,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_DeleteViaIdentity.cs b/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_DeleteViaIdentity.cs index 3d5f6ac0983f..2e964e52b9df 100644 --- a/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_DeleteViaIdentity.cs +++ b/src/Functions/generated/cmdlets/RemoveAzUserAssignedIdentity_DeleteViaIdentity.cs @@ -75,11 +75,11 @@ public partial class RemoveAzUserAssignedIdentity_DeleteViaIdentity : global::Sy 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -147,6 +147,11 @@ public partial class RemoveAzUserAssignedIdentity_DeleteViaIdentity : global::Sy /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -158,7 +163,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -261,7 +266,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RestartAzFunctionApp_Restart.cs b/src/Functions/generated/cmdlets/RestartAzFunctionApp_Restart.cs index 9ad3cf58c10c..236d8472cd2f 100644 --- a/src/Functions/generated/cmdlets/RestartAzFunctionApp_Restart.cs +++ b/src/Functions/generated/cmdlets/RestartAzFunctionApp_Restart.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Restarts an app (or deployment slot, if specified). + /// Restarts an app (or deployment slot, if specified). /// /// [OpenAPI] Restart=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Restart, @"AzFunctionApp_Restart", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Restarts an app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Restarts an app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RestartAzFunctionApp_Restart : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class RestartAzFunctionApp_Restart : global::System.Management.Au 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -210,6 +210,11 @@ public partial class RestartAzFunctionApp_Restart : global::System.Management.Au /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -221,7 +226,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -324,7 +329,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RestartAzFunctionApp_RestartViaIdentity.cs b/src/Functions/generated/cmdlets/RestartAzFunctionApp_RestartViaIdentity.cs index 88ce12ed518a..a99cb43fe8f5 100644 --- a/src/Functions/generated/cmdlets/RestartAzFunctionApp_RestartViaIdentity.cs +++ b/src/Functions/generated/cmdlets/RestartAzFunctionApp_RestartViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Restarts an app (or deployment slot, if specified). + /// Restarts an app (or deployment slot, if specified). /// /// [OpenAPI] Restart=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Restart, @"AzFunctionApp_RestartViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Restarts an app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Restarts an app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RestartAzFunctionApp_RestartViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class RestartAzFunctionApp_RestartViaIdentity : global::System.Ma 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -170,6 +170,11 @@ public partial class RestartAzFunctionApp_RestartViaIdentity : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -181,7 +186,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -284,7 +289,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_Restore.cs b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_Restore.cs index 1c4843f56e1a..0ef30c36d129 100644 --- a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_Restore.cs +++ b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_Restore.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// /// [OpenAPI] Restore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Restore, @"AzFunctionApp_Restore", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Restores a specific backup to another app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Restores a specific backup to another app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RestoreAzFunctionApp_Restore : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -88,11 +86,11 @@ public partial class RestoreAzFunctionApp_Restore : global::System.Management.Au 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -219,6 +217,11 @@ public partial class RestoreAzFunctionApp_Restore : global::System.Management.Au /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -255,7 +258,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.RestoreAzFunctionApp /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -388,7 +391,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreExpanded.cs b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreExpanded.cs index 3d7cbf662d9b..e57b3b3d1c75 100644 --- a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreExpanded.cs +++ b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreExpanded.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// /// [OpenAPI] Restore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Restore, @"AzFunctionApp_RestoreExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Restores a specific backup to another app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Restores a specific backup to another app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +34,9 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Description of a restore request. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest _requestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RestoreRequest(); + /// /// true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false. /// @@ -47,7 +48,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", SerializedName = @"adjustConnectionStrings", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AdjustConnectionString { get => RequestBody.AdjustConnectionString ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.AdjustConnectionString = value; } + public global::System.Management.Automation.SwitchParameter AdjustConnectionString { get => _requestBody.AdjustConnectionString ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.AdjustConnectionString = value; } /// Specify app service plan that will own restored site. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specify app service plan that will own restored site.")] @@ -58,7 +59,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Specify app service plan that will own restored site.", SerializedName = @"appServicePlan", PossibleTypes = new [] { typeof(string) })] - public string AppServicePlan { get => RequestBody.AppServicePlan ?? null; set => RequestBody.AppServicePlan = value; } + public string AppServicePlan { get => _requestBody.AppServicePlan ?? null; set => _requestBody.AppServicePlan = value; } /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -88,7 +89,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Name of a blob which contains the backup.", SerializedName = @"blobName", PossibleTypes = new [] { typeof(string) })] - public string BlobName { get => RequestBody.BlobName ?? null; set => RequestBody.BlobName = value; } + public string BlobName { get => _requestBody.BlobName ?? null; set => _requestBody.BlobName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -110,7 +111,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Collection of databases which should be restored. This list has to match the list of databases included in the backup.", SerializedName = @"databases", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => RequestBody.Database ?? null /* arrayOf */; set => RequestBody.Database = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => _requestBody.Database ?? null /* arrayOf */; set => _requestBody.Database = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -132,7 +133,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"App Service Environment name, if needed (only when restoring an app to an App Service Environment).", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironment { get => RequestBody.HostingEnvironment ?? null; set => RequestBody.HostingEnvironment = value; } + public string HostingEnvironment { get => _requestBody.HostingEnvironment ?? null; set => _requestBody.HostingEnvironment = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -159,7 +160,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to the app's object when it is being restored, but that might fail due to conflicts during the operation.", SerializedName = @"ignoreConflictingHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IgnoreConflictingHostName { get => RequestBody.IgnoreConflictingHostName ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.IgnoreConflictingHostName = value; } + public global::System.Management.Automation.SwitchParameter IgnoreConflictingHostName { get => _requestBody.IgnoreConflictingHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.IgnoreConflictingHostName = value; } /// Ignore the databases and only restore the site content [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Ignore the databases and only restore the site content")] @@ -170,7 +171,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Ignore the databases and only restore the site content", SerializedName = @"ignoreDatabases", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IgnoreDatabase { get => RequestBody.IgnoreDatabase ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.IgnoreDatabase = value; } + public global::System.Management.Automation.SwitchParameter IgnoreDatabase { get => _requestBody.IgnoreDatabase ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.IgnoreDatabase = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -184,14 +185,14 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => RequestBody.Kind ?? null; set => RequestBody.Kind = value; } + public string Kind { get => _requestBody.Kind ?? null; set => _requestBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -226,7 +227,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag SerializedName = @"operationType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType OperationType { get => RequestBody.OperationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType)""); set => RequestBody.OperationType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType OperationType { get => _requestBody.OperationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType)""); set => _requestBody.OperationType = value; } /// /// true if the restore operation can overwrite target app; otherwise, false. true @@ -240,7 +241,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Overwrite { get => RequestBody.Overwrite ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.Overwrite = value; } + public global::System.Management.Automation.SwitchParameter Overwrite { get => _requestBody.Overwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.Overwrite = value; } /// /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. @@ -270,12 +271,6 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest _requestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RestoreRequest(); - - /// Description of a restore request. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest RequestBody { get => this._requestBody; set => this._requestBody = value; } - /// Backing field for property. private string _resourceGroupName; @@ -299,7 +294,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"Name of an app.", SerializedName = @"siteName", PossibleTypes = new [] { typeof(string) })] - public string SiteName { get => RequestBody.SiteName ?? null; set => RequestBody.SiteName = value; } + public string SiteName { get => _requestBody.SiteName ?? null; set => _requestBody.SiteName = value; } /// SAS URL to the container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SAS URL to the container.")] @@ -310,7 +305,7 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag Description = @"SAS URL to the container.", SerializedName = @"storageAccountUrl", PossibleTypes = new [] { typeof(string) })] - public string StorageAccountUrl { get => RequestBody.StorageAccountUrl ?? null; set => RequestBody.StorageAccountUrl = value; } + public string StorageAccountUrl { get => _requestBody.StorageAccountUrl ?? null; set => _requestBody.StorageAccountUrl = value; } /// Backing field for property. private string _subscriptionId; @@ -359,6 +354,11 @@ public partial class RestoreAzFunctionApp_RestoreExpanded : global::System.Manag /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -384,7 +384,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.RestoreAzFunctionApp clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RequestBody = this.RequestBody; + clone._requestBody = this._requestBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; clone.BackupId = this.BackupId; @@ -395,7 +395,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.RestoreAzFunctionApp /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -528,7 +528,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -543,12 +542,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsRestore(ResourceGroupName, Name, BackupId, SubscriptionId, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsRestore(ResourceGroupName, Name, BackupId, SubscriptionId, _requestBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,BackupId=BackupId,SubscriptionId=SubscriptionId,body=RequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,BackupId=BackupId,SubscriptionId=SubscriptionId,body=_requestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -602,14 +601,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, BackupId=BackupId, SubscriptionId=SubscriptionId, body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, BackupId=BackupId, SubscriptionId=SubscriptionId, body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, BackupId=BackupId, SubscriptionId=SubscriptionId, body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, BackupId=BackupId, SubscriptionId=SubscriptionId, body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentity.cs b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentity.cs index 653112d14020..273af443a0eb 100644 --- a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentity.cs +++ b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentity.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// /// [OpenAPI] Restore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Restore, @"AzFunctionApp_RestoreViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Restores a specific backup to another app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Restores a specific backup to another app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RestoreAzFunctionApp_RestoreViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -82,11 +80,11 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentity : global::System.Ma 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -165,6 +163,11 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentity : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -197,7 +200,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.RestoreAzFunctionApp /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -330,7 +333,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentityExpanded.cs index c79fba945ab6..b3bfaa0abb44 100644 --- a/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/RestoreAzFunctionApp_RestoreViaIdentityExpanded.cs @@ -8,16 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// - /// Description for Restores a specific backup to another app (or deployment slot, if specified). - /// + /// Restores a specific backup to another app (or deployment slot, if specified). /// /// [OpenAPI] Restore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}/restore" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Restore, @"AzFunctionApp_RestoreViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Restores a specific backup to another app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Restores a specific backup to another app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +34,9 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Description of a restore request. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest _requestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RestoreRequest(); + /// /// true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false. /// @@ -47,7 +48,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"true if SiteConfig.ConnectionStrings should be set in new app; otherwise, false.", SerializedName = @"adjustConnectionStrings", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AdjustConnectionString { get => RequestBody.AdjustConnectionString ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.AdjustConnectionString = value; } + public global::System.Management.Automation.SwitchParameter AdjustConnectionString { get => _requestBody.AdjustConnectionString ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.AdjustConnectionString = value; } /// Specify app service plan that will own restored site. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Specify app service plan that will own restored site.")] @@ -58,7 +59,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Specify app service plan that will own restored site.", SerializedName = @"appServicePlan", PossibleTypes = new [] { typeof(string) })] - public string AppServicePlan { get => RequestBody.AppServicePlan ?? null; set => RequestBody.AppServicePlan = value; } + public string AppServicePlan { get => _requestBody.AppServicePlan ?? null; set => _requestBody.AppServicePlan = value; } /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -74,7 +75,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Name of a blob which contains the backup.", SerializedName = @"blobName", PossibleTypes = new [] { typeof(string) })] - public string BlobName { get => RequestBody.BlobName ?? null; set => RequestBody.BlobName = value; } + public string BlobName { get => _requestBody.BlobName ?? null; set => _requestBody.BlobName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -96,7 +97,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Collection of databases which should be restored. This list has to match the list of databases included in the backup.", SerializedName = @"databases", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => RequestBody.Database ?? null /* arrayOf */; set => RequestBody.Database = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[] Database { get => _requestBody.Database ?? null /* arrayOf */; set => _requestBody.Database = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -118,7 +119,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"App Service Environment name, if needed (only when restoring an app to an App Service Environment).", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironment { get => RequestBody.HostingEnvironment ?? null; set => RequestBody.HostingEnvironment = value; } + public string HostingEnvironment { get => _requestBody.HostingEnvironment ?? null; set => _requestBody.HostingEnvironment = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -145,7 +146,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Changes a logic when restoring an app with custom domains. true to remove custom domains automatically. If false, custom domains are added to the app's object when it is being restored, but that might fail due to conflicts during the operation.", SerializedName = @"ignoreConflictingHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IgnoreConflictingHostName { get => RequestBody.IgnoreConflictingHostName ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.IgnoreConflictingHostName = value; } + public global::System.Management.Automation.SwitchParameter IgnoreConflictingHostName { get => _requestBody.IgnoreConflictingHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.IgnoreConflictingHostName = value; } /// Ignore the databases and only restore the site content [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Ignore the databases and only restore the site content")] @@ -156,7 +157,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Ignore the databases and only restore the site content", SerializedName = @"ignoreDatabases", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IgnoreDatabase { get => RequestBody.IgnoreDatabase ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.IgnoreDatabase = value; } + public global::System.Management.Automation.SwitchParameter IgnoreDatabase { get => _requestBody.IgnoreDatabase ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.IgnoreDatabase = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -178,14 +179,14 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => RequestBody.Kind ?? null; set => RequestBody.Kind = value; } + public string Kind { get => _requestBody.Kind ?? null; set => _requestBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -206,7 +207,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S SerializedName = @"operationType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType OperationType { get => RequestBody.OperationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType)""); set => RequestBody.OperationType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType OperationType { get => _requestBody.OperationType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType)""); set => _requestBody.OperationType = value; } /// /// true if the restore operation can overwrite target app; otherwise, false. true @@ -220,7 +221,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"true if the restore operation can overwrite target app; otherwise, false. true is needed if trying to restore over an existing app.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Overwrite { get => RequestBody.Overwrite ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.Overwrite = value; } + public global::System.Management.Automation.SwitchParameter Overwrite { get => _requestBody.Overwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.Overwrite = value; } /// /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. @@ -250,12 +251,6 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest _requestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.RestoreRequest(); - - /// Description of a restore request. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest RequestBody { get => this._requestBody; set => this._requestBody = value; } - /// Name of an app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -265,7 +260,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"Name of an app.", SerializedName = @"siteName", PossibleTypes = new [] { typeof(string) })] - public string SiteName { get => RequestBody.SiteName ?? null; set => RequestBody.SiteName = value; } + public string SiteName { get => _requestBody.SiteName ?? null; set => _requestBody.SiteName = value; } /// SAS URL to the container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SAS URL to the container.")] @@ -276,7 +271,7 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S Description = @"SAS URL to the container.", SerializedName = @"storageAccountUrl", PossibleTypes = new [] { typeof(string) })] - public string StorageAccountUrl { get => RequestBody.StorageAccountUrl ?? null; set => RequestBody.StorageAccountUrl = value; } + public string StorageAccountUrl { get => _requestBody.StorageAccountUrl ?? null; set => _requestBody.StorageAccountUrl = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -305,6 +300,11 @@ public partial class RestoreAzFunctionApp_RestoreViaIdentityExpanded : global::S /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -330,14 +330,14 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.RestoreAzFunctionApp clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.RequestBody = this.RequestBody; + clone._requestBody = this._requestBody; return clone; } /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -470,7 +470,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -487,7 +486,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsRestoreViaIdentity(InputObject.Id, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsRestoreViaIdentity(InputObject.Id, _requestBody, onOk, onDefault, this, Pipeline); } else { @@ -508,13 +507,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsRestore(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.BackupId ?? null, InputObject.SubscriptionId ?? null, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsRestore(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.BackupId ?? null, InputObject.SubscriptionId ?? null, _requestBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -568,14 +567,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_Update.cs b/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_Update.cs index 10f53300f20a..2216d2006d2a 100644 --- a/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzFunctionAppPlan_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzFunctionAppPlan_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -85,11 +85,11 @@ public partial class SetAzFunctionAppPlan_Update : global::System.Management.Aut 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -198,6 +198,11 @@ public partial class SetAzFunctionAppPlan_Update : global::System.Management.Aut /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -233,7 +238,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.SetAzFunctionAppPlan /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -366,7 +371,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_UpdateExpanded.cs index 3337139454d9..ca38b72742c9 100644 --- a/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzFunctionAppPlan_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzFunctionAppPlan_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// App Service plan. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan _appServicePlanBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlan(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan _appServicePlanBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlan(); - - /// App Service plan. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan AppServicePlanBody { get => this._appServicePlanBody; set => this._appServicePlanBody = value; } - /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -59,7 +56,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Current number of instances assigned to the resource.", SerializedName = @"capacity", PossibleTypes = new [] { typeof(int) })] - public int Capacity { get => AppServicePlanBody.Capacity ?? default(int); set => AppServicePlanBody.Capacity = value; } + public int Capacity { get => _appServicePlanBody.Capacity ?? default(int); set => _appServicePlanBody.Capacity = value; } /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; @@ -82,7 +79,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"The time when the server farm free offer expires.", SerializedName = @"freeOfferExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime FreeOfferExpirationTime { get => AppServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.FreeOfferExpirationTime = value; } + public global::System.DateTime FreeOfferExpirationTime { get => _appServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.FreeOfferExpirationTime = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -93,7 +90,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => AppServicePlanBody.HostingEnvironmentProfileId ?? null; set => AppServicePlanBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _appServicePlanBody.HostingEnvironmentProfileId ?? null; set => _appServicePlanBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -118,7 +115,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"If Hyper-V container app service plan true, false otherwise.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => AppServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _appServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.HyperV = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -132,7 +129,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"If true, this App Service Plan owns spot instances.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => AppServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _appServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsSpot = value; } /// /// Obsolete: If Hyper-V container app service plan true, false otherwise. @@ -145,7 +142,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Obsolete: If Hyper-V container app service plan true, false otherwise.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => AppServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _appServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -156,7 +153,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppServicePlanBody.Kind ?? null; set => AppServicePlanBody.Kind = value; } + public string Kind { get => _appServicePlanBody.Kind ?? null; set => _appServicePlanBody.Kind = value; } /// Resource Location. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource Location.")] @@ -167,7 +164,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Resource Location.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => AppServicePlanBody.Location ?? null; set => AppServicePlanBody.Location = value; } + public string Location { get => _appServicePlanBody.Location ?? null; set => _appServicePlanBody.Location = value; } /// /// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan @@ -180,14 +177,14 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", SerializedName = @"maximumElasticWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int MaximumElasticWorkerCount { get => AppServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => AppServicePlanBody.MaximumElasticWorkerCount = value; } + public int MaximumElasticWorkerCount { get => _appServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => _appServicePlanBody.MaximumElasticWorkerCount = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -224,7 +221,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"If true, apps assigned to this App Service plan can be scaled independently.If false, apps assigned to this App Service plan will scale to all instances of the plan.", SerializedName = @"perSiteScaling", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => AppServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.PerSiteScaling = value; } + public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => _appServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.PerSiteScaling = value; } /// /// The instance of the that the remote call will use. @@ -256,7 +253,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"If Linux app service plan true, false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => AppServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _appServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.Reserved = value; } /// Backing field for property. private string _resourceGroupName; @@ -282,7 +279,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Capabilities of the SKU, e.g., is traffic manager enabled", SerializedName = @"capabilities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[] SkuCapability { get => AppServicePlanBody.SkuCapability ?? null /* arrayOf */; set => AppServicePlanBody.SkuCapability = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[] SkuCapability { get => _appServicePlanBody.SkuCapability ?? null /* arrayOf */; set => _appServicePlanBody.SkuCapability = value; } /// Default number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Default number of workers for this App Service plan SKU.")] @@ -293,7 +290,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Default number of workers for this App Service plan SKU.", SerializedName = @"default", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityDefault { get => AppServicePlanBody.SkuCapacityDefault ?? default(int); set => AppServicePlanBody.SkuCapacityDefault = value; } + public int SkuCapacityDefault { get => _appServicePlanBody.SkuCapacityDefault ?? default(int); set => _appServicePlanBody.SkuCapacityDefault = value; } /// Maximum number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum number of workers for this App Service plan SKU.")] @@ -304,7 +301,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Maximum number of workers for this App Service plan SKU.", SerializedName = @"maximum", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityMaximum { get => AppServicePlanBody.SkuCapacityMaximum ?? default(int); set => AppServicePlanBody.SkuCapacityMaximum = value; } + public int SkuCapacityMaximum { get => _appServicePlanBody.SkuCapacityMaximum ?? default(int); set => _appServicePlanBody.SkuCapacityMaximum = value; } /// Minimum number of workers for this App Service plan SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum number of workers for this App Service plan SKU.")] @@ -315,7 +312,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Minimum number of workers for this App Service plan SKU.", SerializedName = @"minimum", PossibleTypes = new [] { typeof(int) })] - public int SkuCapacityMinimum { get => AppServicePlanBody.SkuCapacityMinimum ?? default(int); set => AppServicePlanBody.SkuCapacityMinimum = value; } + public int SkuCapacityMinimum { get => _appServicePlanBody.SkuCapacityMinimum ?? default(int); set => _appServicePlanBody.SkuCapacityMinimum = value; } /// Available scale configurations for an App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Available scale configurations for an App Service plan.")] @@ -326,7 +323,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Available scale configurations for an App Service plan.", SerializedName = @"scaleType", PossibleTypes = new [] { typeof(string) })] - public string SkuCapacityScaleType { get => AppServicePlanBody.SkuCapacityScaleType ?? null; set => AppServicePlanBody.SkuCapacityScaleType = value; } + public string SkuCapacityScaleType { get => _appServicePlanBody.SkuCapacityScaleType ?? null; set => _appServicePlanBody.SkuCapacityScaleType = value; } /// Family code of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Family code of the resource SKU.")] @@ -337,7 +334,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Family code of the resource SKU.", SerializedName = @"family", PossibleTypes = new [] { typeof(string) })] - public string SkuFamily { get => AppServicePlanBody.SkuFamily ?? null; set => AppServicePlanBody.SkuFamily = value; } + public string SkuFamily { get => _appServicePlanBody.SkuFamily ?? null; set => _appServicePlanBody.SkuFamily = value; } /// Locations of the SKU. [global::System.Management.Automation.AllowEmptyCollection] @@ -349,7 +346,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Locations of the SKU.", SerializedName = @"locations", PossibleTypes = new [] { typeof(string) })] - public string[] SkuLocation { get => AppServicePlanBody.SkuLocation ?? null /* arrayOf */; set => AppServicePlanBody.SkuLocation = value; } + public string[] SkuLocation { get => _appServicePlanBody.SkuLocation ?? null /* arrayOf */; set => _appServicePlanBody.SkuLocation = value; } /// Name of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the resource SKU.")] @@ -360,7 +357,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Name of the resource SKU.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string SkuName { get => AppServicePlanBody.SkuName ?? null; set => AppServicePlanBody.SkuName = value; } + public string SkuName { get => _appServicePlanBody.SkuName ?? null; set => _appServicePlanBody.SkuName = value; } /// Size specifier of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size specifier of the resource SKU.")] @@ -371,7 +368,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Size specifier of the resource SKU.", SerializedName = @"size", PossibleTypes = new [] { typeof(string) })] - public string SkuSize { get => AppServicePlanBody.SkuSize ?? null; set => AppServicePlanBody.SkuSize = value; } + public string SkuSize { get => _appServicePlanBody.SkuSize ?? null; set => _appServicePlanBody.SkuSize = value; } /// Service tier of the resource SKU. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Service tier of the resource SKU.")] @@ -382,7 +379,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Service tier of the resource SKU.", SerializedName = @"tier", PossibleTypes = new [] { typeof(string) })] - public string SkuTier { get => AppServicePlanBody.SkuTier ?? null; set => AppServicePlanBody.SkuTier = value; } + public string SkuTier { get => _appServicePlanBody.SkuTier ?? null; set => _appServicePlanBody.SkuTier = value; } /// The time when the server farm expires. Valid only if it is a spot server farm. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The time when the server farm expires. Valid only if it is a spot server farm.")] @@ -393,7 +390,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"The time when the server farm expires. Valid only if it is a spot server farm.", SerializedName = @"spotExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime SpotExpirationTime { get => AppServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.SpotExpirationTime = value; } + public global::System.DateTime SpotExpirationTime { get => _appServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.SpotExpirationTime = value; } /// Backing field for property. private string _subscriptionId; @@ -425,7 +422,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => AppServicePlanBody.Tag ?? null /* object */; set => AppServicePlanBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => _appServicePlanBody.Tag ?? null /* object */; set => _appServicePlanBody.Tag = value; } /// Scaling worker count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker count.")] @@ -436,7 +433,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Scaling worker count.", SerializedName = @"targetWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerCount { get => AppServicePlanBody.TargetWorkerCount ?? default(int); set => AppServicePlanBody.TargetWorkerCount = value; } + public int TargetWorkerCount { get => _appServicePlanBody.TargetWorkerCount ?? default(int); set => _appServicePlanBody.TargetWorkerCount = value; } /// Scaling worker size ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker size ID.")] @@ -447,7 +444,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Scaling worker size ID.", SerializedName = @"targetWorkerSizeId", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerSizeId { get => AppServicePlanBody.TargetWorkerSizeId ?? default(int); set => AppServicePlanBody.TargetWorkerSizeId = value; } + public int TargetWorkerSizeId { get => _appServicePlanBody.TargetWorkerSizeId ?? default(int); set => _appServicePlanBody.TargetWorkerSizeId = value; } /// Target worker tier assigned to the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Target worker tier assigned to the App Service plan.")] @@ -458,7 +455,7 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage Description = @"Target worker tier assigned to the App Service plan.", SerializedName = @"workerTierName", PossibleTypes = new [] { typeof(string) })] - public string WorkerTierName { get => AppServicePlanBody.WorkerTierName ?? null; set => AppServicePlanBody.WorkerTierName = value; } + public string WorkerTierName { get => _appServicePlanBody.WorkerTierName ?? null; set => _appServicePlanBody.WorkerTierName = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -489,6 +486,11 @@ public partial class SetAzFunctionAppPlan_UpdateExpanded : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -514,7 +516,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.SetAzFunctionAppPlan clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.AppServicePlanBody = this.AppServicePlanBody; + clone._appServicePlanBody = this._appServicePlanBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; clone.SubscriptionId = this.SubscriptionId; @@ -524,7 +526,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.SetAzFunctionAppPlan /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -657,7 +659,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -672,12 +673,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AppServicePlansCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, AppServicePlanBody, onOk, onDefault, this, Pipeline); + await this.Client.AppServicePlansCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, _appServicePlanBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=AppServicePlanBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_appServicePlanBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -731,14 +732,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzFunctionApp_Update.cs b/src/Functions/generated/cmdlets/SetAzFunctionApp_Update.cs index 19efd04c0a9b..7f3406fcabe2 100644 --- a/src/Functions/generated/cmdlets/SetAzFunctionApp_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzFunctionApp_Update.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzFunctionApp_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzFunctionApp_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class SetAzFunctionApp_Update : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -202,6 +202,11 @@ public partial class SetAzFunctionApp_Update : global::System.Management.Automat /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -237,7 +242,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.SetAzFunctionApp_Upd /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -370,7 +375,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzFunctionApp_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzFunctionApp_UpdateExpanded.cs index 38389216b49d..334cc1e85e10 100644 --- a/src/Functions/generated/cmdlets/SetAzFunctionApp_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzFunctionApp_UpdateExpanded.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzFunctionApp_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +36,9 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// A web app, a mobile app backend, or an API app. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite _siteEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.Site(); + /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -61,7 +64,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", SerializedName = @"clientAffinityEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => SiteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientAffinityEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => _siteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientAffinityEnabled = value; } /// /// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. @@ -75,7 +78,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", SerializedName = @"clientCertEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => SiteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientCertEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => _siteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientCertEnabled = value; } /// client certificate authentication comma-separated exclusion paths [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "client certificate authentication comma-separated exclusion paths")] @@ -86,7 +89,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"client certificate authentication comma-separated exclusion paths", SerializedName = @"clientCertExclusionPaths", PossibleTypes = new [] { typeof(string) })] - public string ClientCertExclusionPath { get => SiteEnvelopeBody.ClientCertExclusionPath ?? null; set => SiteEnvelopeBody.ClientCertExclusionPath = value; } + public string ClientCertExclusionPath { get => _siteEnvelopeBody.ClientCertExclusionPath ?? null; set => _siteEnvelopeBody.ClientCertExclusionPath = value; } /// /// Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. @@ -101,7 +104,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.", SerializedName = @"appSettingsOverrides", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => SiteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => SiteEnvelopeBody.CloningInfoAppSettingsOverride = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => _siteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => _siteEnvelopeBody.CloningInfoAppSettingsOverride = value; } /// /// true to clone custom hostnames from source app; otherwise, false. @@ -114,7 +117,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to clone custom hostnames from source app; otherwise, false.", SerializedName = @"cloneCustomHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => SiteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneCustomHostName = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => _siteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneCustomHostName = value; } /// /// true to clone source control from source app; otherwise, false. @@ -127,7 +130,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to clone source control from source app; otherwise, false.", SerializedName = @"cloneSourceControl", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => SiteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneSourceControl = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => _siteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneSourceControl = value; } /// true to configure load balancing for source and destination app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to configure load balancing for source and destination app.")] @@ -138,7 +141,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to configure load balancing for source and destination app.", SerializedName = @"configureLoadBalancing", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } /// /// Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot. @@ -151,7 +154,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot.", SerializedName = @"correlationId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoCorrelationId { get => SiteEnvelopeBody.CloningInfoCorrelationId ?? null; set => SiteEnvelopeBody.CloningInfoCorrelationId = value; } + public string CloningInfoCorrelationId { get => _siteEnvelopeBody.CloningInfoCorrelationId ?? null; set => _siteEnvelopeBody.CloningInfoCorrelationId = value; } /// App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App Service Environment.")] @@ -162,7 +165,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"App Service Environment.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoHostingEnvironment { get => SiteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => SiteEnvelopeBody.CloningInfoHostingEnvironment = value; } + public string CloningInfoHostingEnvironment { get => _siteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => _siteEnvelopeBody.CloningInfoHostingEnvironment = value; } /// true to overwrite destination app; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to overwrite destination app; otherwise, false.")] @@ -173,7 +176,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to overwrite destination app; otherwise, false.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => SiteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoOverwrite = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => _siteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoOverwrite = value; } /// /// ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} @@ -188,7 +191,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", SerializedName = @"sourceWebAppId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppId { get => SiteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppId = value; } + public string CloningInfoSourceWebAppId { get => _siteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppId = value; } /// Location of source app ex: West US or North Europe [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Location of source app ex: West US or North Europe")] @@ -199,7 +202,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Location of source app ex: West US or North Europe", SerializedName = @"sourceWebAppLocation", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppLocation { get => SiteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } + public string CloningInfoSourceWebAppLocation { get => _siteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } /// /// ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. @@ -212,7 +215,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", SerializedName = @"trafficManagerProfileId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileId { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } + public string CloningInfoTrafficManagerProfileId { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } /// /// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. @@ -225,7 +228,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", SerializedName = @"trafficManagerProfileName", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileName { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } + public string CloningInfoTrafficManagerProfileName { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } /// Size of the function container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size of the function container.")] @@ -236,7 +239,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Size of the function container.", SerializedName = @"containerSize", PossibleTypes = new [] { typeof(int) })] - public int ContainerSize { get => SiteEnvelopeBody.ContainerSize ?? default(int); set => SiteEnvelopeBody.ContainerSize = value; } + public int ContainerSize { get => _siteEnvelopeBody.ContainerSize ?? default(int); set => _siteEnvelopeBody.ContainerSize = value; } /// Maximum allowed daily memory-time quota (applicable on dynamic apps only). [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed daily memory-time quota (applicable on dynamic apps only).")] @@ -247,7 +250,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Maximum allowed daily memory-time quota (applicable on dynamic apps only).", SerializedName = @"dailyMemoryTimeQuota", PossibleTypes = new [] { typeof(int) })] - public int DailyMemoryTimeQuota { get => SiteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => SiteEnvelopeBody.DailyMemoryTimeQuota = value; } + public int DailyMemoryTimeQuota { get => _siteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => _siteEnvelopeBody.DailyMemoryTimeQuota = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -270,7 +273,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => SiteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _siteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Enabled = value; } /// Hostname SSL states are used to manage the SSL bindings for app's hostnames. [global::System.Management.Automation.AllowEmptyCollection] @@ -282,7 +285,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Hostname SSL states are used to manage the SSL bindings for app's hostnames.", SerializedName = @"hostNameSslStates", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => SiteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => SiteEnvelopeBody.HostNameSslState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => _siteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => _siteEnvelopeBody.HostNameSslState = value; } /// /// true to disable the public hostnames of the app; otherwise, false. If true, the @@ -296,7 +299,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.", SerializedName = @"hostNamesDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => SiteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HostNamesDisabled = value; } + public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => _siteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HostNamesDisabled = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -307,7 +310,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => SiteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => SiteEnvelopeBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _siteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => _siteEnvelopeBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -332,7 +335,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"HttpsOnly: configures a web site to accept only https requests. Issues redirect forhttp requests", SerializedName = @"httpsOnly", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpsOnly { get => SiteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HttpsOnly = value; } + public global::System.Management.Automation.SwitchParameter HttpsOnly { get => _siteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HttpsOnly = value; } /// Hyper-V sandbox. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Hyper-V sandbox.")] @@ -343,7 +346,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Hyper-V sandbox.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => SiteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _siteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HyperV = value; } /// Type of managed service identity. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of managed service identity.")] @@ -355,7 +358,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => SiteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => SiteEnvelopeBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => _siteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => _siteEnvelopeBody.IdentityType = value; } /// /// The list of user assigned identities associated with the resource. The user identity dictionary key references will be @@ -370,7 +373,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", SerializedName = @"userAssignedIdentities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => SiteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => SiteEnvelopeBody.IdentityUserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => _siteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => _siteEnvelopeBody.IdentityUserAssignedIdentity = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -384,7 +387,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Obsolete: Hyper-V sandbox.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => SiteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _siteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -395,7 +398,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteEnvelopeBody.Kind ?? null; set => SiteEnvelopeBody.Kind = value; } + public string Kind { get => _siteEnvelopeBody.Kind ?? null; set => _siteEnvelopeBody.Kind = value; } /// Resource Location. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource Location.")] @@ -406,14 +409,14 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Resource Location.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => SiteEnvelopeBody.Location ?? null; set => SiteEnvelopeBody.Location = value; } + public string Location { get => _siteEnvelopeBody.Location ?? null; set => _siteEnvelopeBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -471,7 +474,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management SerializedName = @"redundancyMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => SiteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => SiteEnvelopeBody.RedundancyMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => _siteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => _siteEnvelopeBody.RedundancyMode = value; } /// true if reserved; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if reserved; otherwise, false.")] @@ -482,7 +485,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true if reserved; otherwise, false.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => SiteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _siteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Reserved = value; } /// Backing field for property. private string _resourceGroupName; @@ -509,7 +512,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", SerializedName = @"scmSiteAlsoStopped", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => SiteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ScmSiteAlsoStopped = value; } + public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => _siteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ScmSiteAlsoStopped = value; } /// /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". @@ -522,7 +525,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Resource ID of the associated App Service plan, formatted as: ""/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}"".", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => SiteEnvelopeBody.ServerFarmId ?? null; set => SiteEnvelopeBody.ServerFarmId = value; } + public string ServerFarmId { get => _siteEnvelopeBody.ServerFarmId ?? null; set => _siteEnvelopeBody.ServerFarmId = value; } /// Configuration of the app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Configuration of the app.")] @@ -533,13 +536,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Configuration of the app.", SerializedName = @"siteConfig", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => SiteEnvelopeBody.Config ?? null /* object */; set => SiteEnvelopeBody.Config = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite _siteEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.Site(); - - /// A web app, a mobile app backend, or an API app. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite SiteEnvelopeBody { get => this._siteEnvelopeBody; set => this._siteEnvelopeBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => _siteEnvelopeBody.Config ?? null /* object */; set => _siteEnvelopeBody.Config = value; } /// Backing field for property. private string _subscriptionId; @@ -571,7 +568,7 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => SiteEnvelopeBody.Tag ?? null /* object */; set => SiteEnvelopeBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags Tag { get => _siteEnvelopeBody.Tag ?? null /* object */; set => _siteEnvelopeBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -602,6 +599,11 @@ public partial class SetAzFunctionApp_UpdateExpanded : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -627,7 +629,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.SetAzFunctionApp_Upd clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; - clone.SiteEnvelopeBody = this.SiteEnvelopeBody; + clone._siteEnvelopeBody = this._siteEnvelopeBody; clone.ResourceGroupName = this.ResourceGroupName; clone.Name = this.Name; clone.SubscriptionId = this.SubscriptionId; @@ -637,7 +639,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets.SetAzFunctionApp_Upd /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -770,7 +772,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -785,12 +786,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, SiteEnvelopeBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdate(ResourceGroupName, Name, SubscriptionId, _siteEnvelopeBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=SiteEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_siteEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -844,14 +845,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_Update.cs b/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_Update.cs index 97e9d01fba95..8c31cb599dea 100644 --- a/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_Update.cs @@ -67,11 +67,11 @@ public partial class SetAzUserAssignedIdentity_Update : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -197,6 +197,11 @@ public partial class SetAzUserAssignedIdentity_Update : global::System.Managemen /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -208,7 +213,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -311,7 +316,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_UpdateExpanded.cs index 47bca60145bd..7ab9900dae46 100644 --- a/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzUserAssignedIdentity_UpdateExpanded.cs @@ -34,6 +34,9 @@ public partial class SetAzUserAssignedIdentity_UpdateExpanded : global::System.M /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Describes an identity resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityAutoGenerated(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -75,22 +78,16 @@ public partial class SetAzUserAssignedIdentity_UpdateExpanded : global::System.M Description = @"The geo-location where the resource lives", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ParametersBody.Location ?? null; set => ParametersBody.Location = value; } + public string Location { get => _parametersBody.Location ?? null; set => _parametersBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityAutoGenerated(); - - /// Describes an identity resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } - /// /// The instance of the that the remote call will use. /// @@ -170,7 +167,7 @@ public partial class SetAzUserAssignedIdentity_UpdateExpanded : global::System.M Description = @"Resource tags.", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what @@ -213,6 +210,11 @@ public partial class SetAzUserAssignedIdentity_UpdateExpanded : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -224,7 +226,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -327,7 +329,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -342,12 +343,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.UserAssignedIdentitiesCreateOrUpdate(SubscriptionId, ResourceGroupName, ResourceName, ParametersBody, onOk, onCreated, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesCreateOrUpdate(SubscriptionId, ResourceGroupName, ResourceName, _parametersBody, onOk, onCreated, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ResourceName=ResourceName,body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ResourceName=ResourceName,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -425,14 +426,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_Update.cs b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_Update.cs index 017234d4424e..f80a69858a8a 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// /// [OpenAPI] UpdateApplicationSettingsSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppApplicationSettingSlot_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Replaces the application settings of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Replaces the application settings of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppApplicationSettingSlot_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -80,11 +80,11 @@ public partial class SetAzWebAppApplicationSettingSlot_Update : global::System.M 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -202,6 +202,11 @@ public partial class SetAzWebAppApplicationSettingSlot_Update : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -213,7 +218,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -316,7 +321,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_UpdateExpanded.cs index c9cbc1cc8d13..1fffc73b09e5 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSettingSlot_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// /// [OpenAPI] UpdateApplicationSettingsSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppApplicationSettingSlot_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Replaces the application settings of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Replaces the application settings of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppApplicationSettingSlot_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class SetAzWebAppApplicationSettingSlot_UpdateExpanded : global:: /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// String dictionary resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary _appSettingsBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary _appSettingsBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary(); - - /// String dictionary resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary AppSettingsBody { get => this._appSettingsBody; set => this._appSettingsBody = value; } - /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -81,14 +78,14 @@ public partial class SetAzWebAppApplicationSettingSlot_UpdateExpanded : global:: Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppSettingsBody.Kind ?? null; set => AppSettingsBody.Kind = value; } + public string Kind { get => _appSettingsBody.Kind ?? null; set => _appSettingsBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -120,7 +117,7 @@ public partial class SetAzWebAppApplicationSettingSlot_UpdateExpanded : global:: Description = @"Settings.", SerializedName = @"properties", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties Property { get => AppSettingsBody.Property ?? null /* object */; set => AppSettingsBody.Property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties Property { get => _appSettingsBody.Property ?? null /* object */; set => _appSettingsBody.Property = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -218,6 +215,11 @@ public partial class SetAzWebAppApplicationSettingSlot_UpdateExpanded : global:: /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -229,7 +231,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -332,7 +334,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -347,12 +348,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsUpdateApplicationSettingsSlot(ResourceGroupName, Name, Slot, SubscriptionId, AppSettingsBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateApplicationSettingsSlot(ResourceGroupName, Name, Slot, SubscriptionId, _appSettingsBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=AppSettingsBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=_appSettingsBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -406,14 +407,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=AppSettingsBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_appSettingsBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=AppSettingsBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_appSettingsBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_Update.cs b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_Update.cs index 0b89d34689fb..c3f51c7a1987 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// /// [OpenAPI] UpdateApplicationSettings=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppApplicationSetting_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Replaces the application settings of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Replaces the application settings of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppApplicationSetting_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -80,11 +80,11 @@ public partial class SetAzWebAppApplicationSetting_Update : global::System.Manag 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -185,6 +185,11 @@ public partial class SetAzWebAppApplicationSetting_Update : global::System.Manag /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -196,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -299,7 +304,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_UpdateExpanded.cs index a9ccd9458dd1..24c6bc4fbcba 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppApplicationSetting_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Replaces the application settings of an app. + /// Replaces the application settings of an app. /// /// [OpenAPI] UpdateApplicationSettings=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppApplicationSetting_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Replaces the application settings of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Replaces the application settings of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppApplicationSetting_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class SetAzWebAppApplicationSetting_UpdateExpanded : global::Syst /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// String dictionary resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary _appSettingsBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary _appSettingsBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.StringDictionary(); - - /// String dictionary resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary AppSettingsBody { get => this._appSettingsBody; set => this._appSettingsBody = value; } - /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -81,14 +78,14 @@ public partial class SetAzWebAppApplicationSetting_UpdateExpanded : global::Syst Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppSettingsBody.Kind ?? null; set => AppSettingsBody.Kind = value; } + public string Kind { get => _appSettingsBody.Kind ?? null; set => _appSettingsBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -120,7 +117,7 @@ public partial class SetAzWebAppApplicationSetting_UpdateExpanded : global::Syst Description = @"Settings.", SerializedName = @"properties", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties Property { get => AppSettingsBody.Property ?? null /* object */; set => AppSettingsBody.Property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties Property { get => _appSettingsBody.Property ?? null /* object */; set => _appSettingsBody.Property = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -201,6 +198,11 @@ public partial class SetAzWebAppApplicationSetting_UpdateExpanded : global::Syst /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +214,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +317,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -330,12 +331,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsUpdateApplicationSettings(ResourceGroupName, Name, SubscriptionId, AppSettingsBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateApplicationSettings(ResourceGroupName, Name, SubscriptionId, _appSettingsBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=AppSettingsBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_appSettingsBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -389,14 +390,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppSettingsBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appSettingsBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppSettingsBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appSettingsBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_Update.cs b/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_Update.cs index e1e51b45dd39..5f2182be300b 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfigurationSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppConfigurationSlot_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppConfigurationSlot_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class SetAzWebAppConfigurationSlot_Update : global::System.Manage 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -201,6 +201,11 @@ public partial class SetAzWebAppConfigurationSlot_Update : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +217,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +320,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_UpdateExpanded.cs index d4c7896da91d..df37f1948704 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppConfigurationSlot_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfigurationSlot=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppConfigurationSlot_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -370,7 +395,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -381,7 +406,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -392,7 +417,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -403,7 +428,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -414,7 +439,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -425,7 +450,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -436,7 +461,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -447,7 +472,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -458,7 +483,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -470,7 +495,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -481,7 +506,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -492,7 +517,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -504,7 +529,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -515,14 +540,14 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -535,7 +560,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// Backing field for property. private string _name; @@ -560,7 +585,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -571,7 +596,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -582,7 +607,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -593,7 +618,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -609,7 +634,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -622,7 +647,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -649,7 +674,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -660,7 +685,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -671,7 +696,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -684,7 +709,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -695,7 +720,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -706,7 +731,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -717,7 +742,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -728,7 +753,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -739,7 +764,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// Backing field for property. private string _resourceGroupName; @@ -765,7 +790,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -776,7 +801,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -788,13 +813,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Backing field for property. private string _slot; @@ -821,7 +840,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -832,7 +851,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -843,7 +862,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// Backing field for property. private string _subscriptionId; @@ -876,7 +895,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -891,7 +910,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -902,7 +921,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -913,7 +932,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -925,7 +944,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -936,7 +955,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -948,7 +967,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -959,7 +978,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -970,7 +989,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -981,7 +1000,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -992,7 +1011,7 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -1023,6 +1042,11 @@ public partial class SetAzWebAppConfigurationSlot_UpdateExpanded : global::Syste /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -1034,7 +1058,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1137,7 +1161,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1152,12 +1175,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateOrUpdateConfigurationSlot(ResourceGroupName, Name, Slot, SubscriptionId, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfigurationSlot(ResourceGroupName, Name, Slot, SubscriptionId, _siteConfigBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1211,14 +1234,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_Update.cs b/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_Update.cs index 2b1c5eb2b4e8..e0f20a115978 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_Update.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfiguration=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppConfiguration_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppConfiguration_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class SetAzWebAppConfiguration_Update : global::System.Management 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -185,6 +185,11 @@ public partial class SetAzWebAppConfiguration_Update : global::System.Management /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -196,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -299,7 +304,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_UpdateExpanded.cs index a2ae2a596f38..11e061d9276e 100644 --- a/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/SetAzWebAppConfiguration_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] CreateOrUpdateConfiguration=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppConfiguration_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -370,7 +395,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -381,7 +406,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -392,7 +417,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -403,7 +428,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -414,7 +439,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -425,7 +450,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -436,7 +461,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -447,7 +472,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -458,7 +483,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -470,7 +495,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -481,7 +506,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -492,7 +517,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -504,7 +529,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -515,14 +540,14 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -535,7 +560,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// Backing field for property. private string _name; @@ -560,7 +585,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -571,7 +596,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -582,7 +607,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -593,7 +618,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -609,7 +634,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -622,7 +647,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -649,7 +674,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -660,7 +685,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -671,7 +696,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -684,7 +709,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -695,7 +720,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -706,7 +731,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -717,7 +742,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -728,7 +753,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -739,7 +764,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// Backing field for property. private string _resourceGroupName; @@ -765,7 +790,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -776,7 +801,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -788,13 +813,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -805,7 +824,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -816,7 +835,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -827,7 +846,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// Backing field for property. private string _subscriptionId; @@ -860,7 +879,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -875,7 +894,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -886,7 +905,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -897,7 +916,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -909,7 +928,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -920,7 +939,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -932,7 +951,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -943,7 +962,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -954,7 +973,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -965,7 +984,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -976,7 +995,7 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -1007,6 +1026,11 @@ public partial class SetAzWebAppConfiguration_UpdateExpanded : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -1018,7 +1042,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1121,7 +1145,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1136,12 +1159,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsCreateOrUpdateConfiguration(ResourceGroupName, Name, SubscriptionId, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsCreateOrUpdateConfiguration(ResourceGroupName, Name, SubscriptionId, _siteConfigBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1195,14 +1218,14 @@ protected override void StopProcessing() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/SetAzWebAppFtpAllowed_Update.cs b/src/Functions/generated/cmdlets/SetAzWebAppFtpAllowed_Update.cs new file mode 100644 index 000000000000..ca460827a774 --- /dev/null +++ b/src/Functions/generated/cmdlets/SetAzWebAppFtpAllowed_Update.cs @@ -0,0 +1,418 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Updates whether FTP is allowed on the site or not. + /// + /// [OpenAPI] UpdateFtpAllowed=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppFtpAllowed_Update", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates whether FTP is allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class SetAzWebAppFtpAllowed_Update : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity _csmPublishingAccessPoliciesEntity; + + /// Publishing Credentials Policies parameters. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Publishing Credentials Policies parameters.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Publishing Credentials Policies parameters.", + SerializedName = @"csmPublishingAccessPoliciesEntity", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) })] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity CsmPublishingAccessPoliciesEntity { get => this._csmPublishingAccessPoliciesEntity; set => this._csmPublishingAccessPoliciesEntity = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'WebAppsUpdateFtpAllowed' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsUpdateFtpAllowed(ResourceGroupName, Name, SubscriptionId, CsmPublishingAccessPoliciesEntity, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=CsmPublishingAccessPoliciesEntity}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public SetAzWebAppFtpAllowed_Update() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=CsmPublishingAccessPoliciesEntity }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=CsmPublishingAccessPoliciesEntity }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/SetAzWebAppFtpAllowed_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzWebAppFtpAllowed_UpdateExpanded.cs new file mode 100644 index 000000000000..a633c9a645c5 --- /dev/null +++ b/src/Functions/generated/cmdlets/SetAzWebAppFtpAllowed_UpdateExpanded.cs @@ -0,0 +1,432 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Updates whether FTP is allowed on the site or not. + /// + /// [OpenAPI] UpdateFtpAllowed=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/ftp" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppFtpAllowed_UpdateExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates whether FTP is allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class SetAzWebAppFtpAllowed_UpdateExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Publishing Credentials Policies parameters. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity _csmPublishingAccessPoliciesEntityBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity(); + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to allow access to a publishing method; otherwise, false.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter Allow { get => _csmPublishingAccessPoliciesEntityBody.Allow ?? default(global::System.Management.Automation.SwitchParameter); set => _csmPublishingAccessPoliciesEntityBody.Allow = value; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Kind of resource. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Kind of resource.", + SerializedName = @"kind", + PossibleTypes = new [] { typeof(string) })] + public string Kind { get => _csmPublishingAccessPoliciesEntityBody.Kind ?? null; set => _csmPublishingAccessPoliciesEntityBody.Kind = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'WebAppsUpdateFtpAllowed' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsUpdateFtpAllowed(ResourceGroupName, Name, SubscriptionId, _csmPublishingAccessPoliciesEntityBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_csmPublishingAccessPoliciesEntityBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public SetAzWebAppFtpAllowed_UpdateExpanded() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_csmPublishingAccessPoliciesEntityBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_csmPublishingAccessPoliciesEntityBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/SetAzWebAppScmAllowed_Update.cs b/src/Functions/generated/cmdlets/SetAzWebAppScmAllowed_Update.cs new file mode 100644 index 000000000000..d0020c346996 --- /dev/null +++ b/src/Functions/generated/cmdlets/SetAzWebAppScmAllowed_Update.cs @@ -0,0 +1,418 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Updates whether user publishing credentials are allowed on the site or not. + /// + /// [OpenAPI] UpdateScmAllowed=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppScmAllowed_Update", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates whether user publishing credentials are allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class SetAzWebAppScmAllowed_Update : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity _csmPublishingAccessPoliciesEntity; + + /// Publishing Credentials Policies parameters. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Publishing Credentials Policies parameters.", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Publishing Credentials Policies parameters.", + SerializedName = @"csmPublishingAccessPoliciesEntity", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity) })] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity CsmPublishingAccessPoliciesEntity { get => this._csmPublishingAccessPoliciesEntity; set => this._csmPublishingAccessPoliciesEntity = value; } + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'WebAppsUpdateScmAllowed' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsUpdateScmAllowed(ResourceGroupName, Name, SubscriptionId, CsmPublishingAccessPoliciesEntity, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=CsmPublishingAccessPoliciesEntity}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public SetAzWebAppScmAllowed_Update() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=CsmPublishingAccessPoliciesEntity }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=CsmPublishingAccessPoliciesEntity }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/SetAzWebAppScmAllowed_UpdateExpanded.cs b/src/Functions/generated/cmdlets/SetAzWebAppScmAllowed_UpdateExpanded.cs new file mode 100644 index 000000000000..24549bc1f096 --- /dev/null +++ b/src/Functions/generated/cmdlets/SetAzWebAppScmAllowed_UpdateExpanded.cs @@ -0,0 +1,432 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; + using System; + + /// Updates whether user publishing credentials are allowed on the site or not. + /// + /// [OpenAPI] UpdateScmAllowed=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/basicPublishingCredentialsPolicies/scm" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzWebAppScmAllowed_UpdateExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity))] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates whether user publishing credentials are allowed on the site or not.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] + public partial class SetAzWebAppScmAllowed_UpdateExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Publishing Credentials Policies parameters. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity _csmPublishingAccessPoliciesEntityBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.CsmPublishingCredentialsPoliciesEntity(); + + /// + /// true to allow access to a publishing method; otherwise, false. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to allow access to a publishing method; otherwise, false.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"true to allow access to a publishing method; otherwise, false.", + SerializedName = @"allow", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter Allow { get => _csmPublishingAccessPoliciesEntityBody.Allow ?? default(global::System.Management.Automation.SwitchParameter); set => _csmPublishingAccessPoliciesEntityBody.Allow = value; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; + + /// + /// The credentials, account, tenant, and subscription used for communication with Azure + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The credentials, account, tenant, and subscription used for communication with Azure.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Kind of resource. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Kind of resource.", + SerializedName = @"kind", + PossibleTypes = new [] { typeof(string) })] + public string Kind { get => _csmPublishingAccessPoliciesEntityBody.Kind ?? null; set => _csmPublishingAccessPoliciesEntityBody.Kind = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private string _name; + + /// Name of the app. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the app.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the app.", + SerializedName = @"name", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string Name { get => this._name; set => this._name = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// Name of the resource group to which the resource belongs. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Name of the resource group to which the resource belongs.")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Name of the resource group to which the resource belongs.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// + /// Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).")] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// 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 + /// /// 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 ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what 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 + /// /// 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 ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'WebAppsUpdateScmAllowed' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.WebAppsUpdateScmAllowed(ResourceGroupName, Name, SubscriptionId, _csmPublishingAccessPoliciesEntityBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_csmPublishingAccessPoliciesEntityBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public SetAzWebAppScmAllowed_UpdateExpanded() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Cancel(); + base.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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_csmPublishingAccessPoliciesEntityBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_csmPublishingAccessPoliciesEntityBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// 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 + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmPublishingCredentialsPoliciesEntity + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/Functions/generated/cmdlets/StartAzFunctionApp_Start.cs b/src/Functions/generated/cmdlets/StartAzFunctionApp_Start.cs index 15eeac78eb8c..3134933f4645 100644 --- a/src/Functions/generated/cmdlets/StartAzFunctionApp_Start.cs +++ b/src/Functions/generated/cmdlets/StartAzFunctionApp_Start.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Starts an app (or deployment slot, if specified). + /// Starts an app (or deployment slot, if specified). /// /// [OpenAPI] Start=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzFunctionApp_Start", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Starts an app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Starts an app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class StartAzFunctionApp_Start : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class StartAzFunctionApp_Start : global::System.Management.Automa 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -177,6 +177,11 @@ public partial class StartAzFunctionApp_Start : global::System.Management.Automa /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -188,7 +193,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -291,7 +296,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/StartAzFunctionApp_StartViaIdentity.cs b/src/Functions/generated/cmdlets/StartAzFunctionApp_StartViaIdentity.cs index d8ffc7e899c1..ebc827047023 100644 --- a/src/Functions/generated/cmdlets/StartAzFunctionApp_StartViaIdentity.cs +++ b/src/Functions/generated/cmdlets/StartAzFunctionApp_StartViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Starts an app (or deployment slot, if specified). + /// Starts an app (or deployment slot, if specified). /// /// [OpenAPI] Start=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzFunctionApp_StartViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Starts an app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Starts an app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class StartAzFunctionApp_StartViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class StartAzFunctionApp_StartViaIdentity : global::System.Manage 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -137,6 +137,11 @@ public partial class StartAzFunctionApp_StartViaIdentity : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -148,7 +153,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -251,7 +256,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/StopAzFunctionApp_Stop.cs b/src/Functions/generated/cmdlets/StopAzFunctionApp_Stop.cs index c90a9122e2af..14fc1cf29ba5 100644 --- a/src/Functions/generated/cmdlets/StopAzFunctionApp_Stop.cs +++ b/src/Functions/generated/cmdlets/StopAzFunctionApp_Stop.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Stops an app (or deployment slot, if specified). + /// Stops an app (or deployment slot, if specified). /// /// [OpenAPI] Stop=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzFunctionApp_Stop", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Stops an app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Stops an app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class StopAzFunctionApp_Stop : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class StopAzFunctionApp_Stop : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -177,6 +177,11 @@ public partial class StopAzFunctionApp_Stop : global::System.Management.Automati /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -188,7 +193,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -291,7 +296,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/StopAzFunctionApp_StopViaIdentity.cs b/src/Functions/generated/cmdlets/StopAzFunctionApp_StopViaIdentity.cs index d026d448ed2e..0462580707f2 100644 --- a/src/Functions/generated/cmdlets/StopAzFunctionApp_StopViaIdentity.cs +++ b/src/Functions/generated/cmdlets/StopAzFunctionApp_StopViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Stops an app (or deployment slot, if specified). + /// Stops an app (or deployment slot, if specified). /// /// [OpenAPI] Stop=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzFunctionApp_StopViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Stops an app (or deployment slot, if specified).")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Stops an app (or deployment slot, if specified).")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class StopAzFunctionApp_StopViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class StopAzFunctionApp_StopViaIdentity : global::System.Manageme 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -137,6 +137,11 @@ public partial class StopAzFunctionApp_StopViaIdentity : global::System.Manageme /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -148,7 +153,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -251,7 +256,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SyncAzFunction_Sync.cs b/src/Functions/generated/cmdlets/SyncAzFunction_Sync.cs index e7d8dbdbe1e1..68536b9e7bd5 100644 --- a/src/Functions/generated/cmdlets/SyncAzFunction_Sync.cs +++ b/src/Functions/generated/cmdlets/SyncAzFunction_Sync.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// [OpenAPI] SyncFunctions=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Sync, @"AzFunction_Sync", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Syncs function trigger metadata to the management database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Syncs function trigger metadata to the management database")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SyncAzFunction_Sync : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -81,11 +81,11 @@ public partial class SyncAzFunction_Sync : global::System.Management.Automation. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -177,6 +177,11 @@ public partial class SyncAzFunction_Sync : global::System.Management.Automation. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -188,7 +193,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -291,7 +296,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SyncAzFunction_SyncViaIdentity.cs b/src/Functions/generated/cmdlets/SyncAzFunction_SyncViaIdentity.cs index c5788a1a28d6..4e9124902405 100644 --- a/src/Functions/generated/cmdlets/SyncAzFunction_SyncViaIdentity.cs +++ b/src/Functions/generated/cmdlets/SyncAzFunction_SyncViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// [OpenAPI] SyncFunctions=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Sync, @"AzFunction_SyncViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Syncs function trigger metadata to the management database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Syncs function trigger metadata to the management database")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SyncAzFunction_SyncViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class SyncAzFunction_SyncViaIdentity : global::System.Management. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -137,6 +137,11 @@ public partial class SyncAzFunction_SyncViaIdentity : global::System.Management. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -148,7 +153,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -251,7 +256,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_Sync.cs b/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_Sync.cs index 42d361a047a6..dd2d537b533d 100644 --- a/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_Sync.cs +++ b/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_Sync.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// [OpenAPI] SyncFunctionsSlot=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Sync, @"AzWebAppFunctionSlot_Sync", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Syncs function trigger metadata to the management database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Syncs function trigger metadata to the management database")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SyncAzWebAppFunctionSlot_Sync : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -66,11 +66,11 @@ public partial class SyncAzWebAppFunctionSlot_Sync : global::System.Management.A 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -190,6 +190,11 @@ public partial class SyncAzWebAppFunctionSlot_Sync : global::System.Management.A /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -201,7 +206,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -304,7 +309,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_SyncViaIdentity.cs b/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_SyncViaIdentity.cs index fcea2c390296..1cd60c52cc49 100644 --- a/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_SyncViaIdentity.cs +++ b/src/Functions/generated/cmdlets/SyncAzWebAppFunctionSlot_SyncViaIdentity.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Syncs function trigger metadata to the management database + /// Syncs function trigger metadata to the management database /// /// [OpenAPI] SyncFunctionsSlot=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Sync, @"AzWebAppFunctionSlot_SyncViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(bool))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Syncs function trigger metadata to the management database")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Syncs function trigger metadata to the management database")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class SyncAzWebAppFunctionSlot_SyncViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class SyncAzWebAppFunctionSlot_SyncViaIdentity : global::System.M 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -136,6 +136,11 @@ public partial class SyncAzWebAppFunctionSlot_SyncViaIdentity : global::System.M /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -147,7 +152,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -250,7 +255,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/TestAzNameAvailability_Check.cs b/src/Functions/generated/cmdlets/TestAzNameAvailability_Check.cs index fe26c1a4f8e5..9977a262ca03 100644 --- a/src/Functions/generated/cmdlets/TestAzNameAvailability_Check.cs +++ b/src/Functions/generated/cmdlets/TestAzNameAvailability_Check.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Check if a resource name is available. + /// Check if a resource name is available. /// /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzNameAvailability_Check", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Check if a resource name is available.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Check if a resource name is available.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAzNameAvailability_Check : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class TestAzNameAvailability_Check : global::System.Management.Au 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -157,6 +157,11 @@ public partial class TestAzNameAvailability_Check : global::System.Management.Au /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -168,7 +173,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -271,7 +276,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckExpanded.cs b/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckExpanded.cs index d4c49464e714..4c6abfa586a0 100644 --- a/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckExpanded.cs +++ b/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Check if a resource name is available. + /// Check if a resource name is available. /// /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzNameAvailability_CheckExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Check if a resource name is available.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Check if a resource name is available.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAzNameAvailability_CheckExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,9 @@ public partial class TestAzNameAvailability_CheckExpanded : global::System.Manag /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Resource name availability request content. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest _requestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ResourceNameAvailabilityRequest(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -75,14 +78,14 @@ public partial class TestAzNameAvailability_CheckExpanded : global::System.Manag Description = @"Is fully qualified domain name.", SerializedName = @"isFqdn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsFqdn { get => RequestBody.IsFqdn ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.IsFqdn = value; } + public global::System.Management.Automation.SwitchParameter IsFqdn { get => _requestBody.IsFqdn ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.IsFqdn = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Resource name to verify. @@ -94,7 +97,7 @@ public partial class TestAzNameAvailability_CheckExpanded : global::System.Manag Description = @"Resource name to verify.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string Name { get => RequestBody.Name ?? null; set => RequestBody.Name = value; } + public string Name { get => _requestBody.Name ?? null; set => _requestBody.Name = value; } /// /// The instance of the that the remote call will use. @@ -117,12 +120,6 @@ public partial class TestAzNameAvailability_CheckExpanded : global::System.Manag [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest _requestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ResourceNameAvailabilityRequest(); - - /// Resource name availability request content. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest RequestBody { get => this._requestBody; set => this._requestBody = value; } - /// Backing field for property. private string _subscriptionId; @@ -153,7 +150,7 @@ public partial class TestAzNameAvailability_CheckExpanded : global::System.Manag SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes Type { get => RequestBody.Type; set => RequestBody.Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes Type { get => _requestBody.Type; set => _requestBody.Type = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -184,6 +181,11 @@ public partial class TestAzNameAvailability_CheckExpanded : global::System.Manag /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -195,7 +197,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -298,7 +300,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -313,12 +314,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.CheckNameAvailability(SubscriptionId, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.CheckNameAvailability(SubscriptionId, _requestBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,body=RequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,body=_requestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -372,14 +373,14 @@ public TestAzNameAvailability_CheckExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentity.cs b/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentity.cs index 043f62a987f7..90bfd590668e 100644 --- a/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentity.cs +++ b/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Check if a resource name is available. + /// Check if a resource name is available. /// /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzNameAvailability_CheckViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Check if a resource name is available.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Check if a resource name is available.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAzNameAvailability_CheckViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class TestAzNameAvailability_CheckViaIdentity : global::System.Ma 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -145,6 +145,11 @@ public partial class TestAzNameAvailability_CheckViaIdentity : global::System.Ma /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -156,7 +161,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -259,7 +264,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentityExpanded.cs index 9195448c25f9..7a03660b3439 100644 --- a/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/TestAzNameAvailability_CheckViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Check if a resource name is available. + /// Check if a resource name is available. /// /// [OpenAPI] CheckNameAvailability=>POST:"/subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzNameAvailability_CheckViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Check if a resource name is available.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Check if a resource name is available.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,9 @@ public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::S /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Resource name availability request content. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest _requestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ResourceNameAvailabilityRequest(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -83,14 +86,14 @@ public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::S Description = @"Is fully qualified domain name.", SerializedName = @"isFqdn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsFqdn { get => RequestBody.IsFqdn ?? default(global::System.Management.Automation.SwitchParameter); set => RequestBody.IsFqdn = value; } + public global::System.Management.Automation.SwitchParameter IsFqdn { get => _requestBody.IsFqdn ?? default(global::System.Management.Automation.SwitchParameter); set => _requestBody.IsFqdn = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Resource name to verify. @@ -102,7 +105,7 @@ public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::S Description = @"Resource name to verify.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string Name { get => RequestBody.Name ?? null; set => RequestBody.Name = value; } + public string Name { get => _requestBody.Name ?? null; set => _requestBody.Name = value; } /// /// The instance of the that the remote call will use. @@ -125,12 +128,6 @@ public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::S [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest _requestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ResourceNameAvailabilityRequest(); - - /// Resource name availability request content. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest RequestBody { get => this._requestBody; set => this._requestBody = value; } - /// Resource type used for verification. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource type used for verification.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -141,7 +138,7 @@ public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::S SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes Type { get => RequestBody.Type; set => RequestBody.Type = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes Type { get => _requestBody.Type; set => _requestBody.Type = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -172,6 +169,11 @@ public partial class TestAzNameAvailability_CheckViaIdentityExpanded : global::S /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -183,7 +185,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -286,7 +288,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -303,7 +304,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.CheckNameAvailabilityViaIdentity(InputObject.Id, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.CheckNameAvailabilityViaIdentity(InputObject.Id, _requestBody, onOk, onDefault, this, Pipeline); } else { @@ -312,13 +313,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.CheckNameAvailability(InputObject.SubscriptionId ?? null, RequestBody, onOk, onDefault, this, Pipeline); + await this.Client.CheckNameAvailability(InputObject.SubscriptionId ?? null, _requestBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -372,14 +373,14 @@ public TestAzNameAvailability_CheckViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=RequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_requestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/TestAz_Validate.cs b/src/Functions/generated/cmdlets/TestAz_Validate.cs index c38105fde52c..a186cb036987 100644 --- a/src/Functions/generated/cmdlets/TestAz_Validate.cs +++ b/src/Functions/generated/cmdlets/TestAz_Validate.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Validate if a resource can be created. + /// Validate if a resource can be created. /// /// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"Az_Validate", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateResponse))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Validate if a resource can be created.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Validate if a resource can be created.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAz_Validate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -66,11 +66,11 @@ public partial class TestAz_Validate : global::System.Management.Automation.PSCm 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -170,6 +170,11 @@ public partial class TestAz_Validate : global::System.Management.Automation.PSCm /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -181,7 +186,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -284,7 +289,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/TestAz_ValidateExpanded.cs b/src/Functions/generated/cmdlets/TestAz_ValidateExpanded.cs index bfbd3f1b6b9c..bac3437d0977 100644 --- a/src/Functions/generated/cmdlets/TestAz_ValidateExpanded.cs +++ b/src/Functions/generated/cmdlets/TestAz_ValidateExpanded.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Validate if a resource can be created. + /// Validate if a resource can be created. /// /// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"Az_ValidateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateResponse))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Validate if a resource can be created.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Validate if a resource can be created.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAz_ValidateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -33,6 +33,9 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Resource validation request content. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest _validateRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ValidateRequest(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -47,7 +50,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Target capacity of the App Service plan (number of VMs).", SerializedName = @"capacity", PossibleTypes = new [] { typeof(int) })] - public int Capacity { get => ValidateRequestBody.Capacity ?? default(int); set => ValidateRequestBody.Capacity = value; } + public int Capacity { get => _validateRequestBody.Capacity ?? default(int); set => _validateRequestBody.Capacity = value; } /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; @@ -61,7 +64,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Platform (windows or linux)", SerializedName = @"containerImagePlatform", PossibleTypes = new [] { typeof(string) })] - public string ContainerImagePlatform { get => ValidateRequestBody.ContainerImagePlatform ?? null; set => ValidateRequestBody.ContainerImagePlatform = value; } + public string ContainerImagePlatform { get => _validateRequestBody.ContainerImagePlatform ?? null; set => _validateRequestBody.ContainerImagePlatform = value; } /// Repository name (image name) [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Repository name (image name)")] @@ -72,7 +75,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Repository name (image name)", SerializedName = @"containerImageRepository", PossibleTypes = new [] { typeof(string) })] - public string ContainerImageRepository { get => ValidateRequestBody.ContainerImageRepository ?? null; set => ValidateRequestBody.ContainerImageRepository = value; } + public string ContainerImageRepository { get => _validateRequestBody.ContainerImageRepository ?? null; set => _validateRequestBody.ContainerImageRepository = value; } /// Image tag [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Image tag")] @@ -83,7 +86,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Image tag", SerializedName = @"containerImageTag", PossibleTypes = new [] { typeof(string) })] - public string ContainerImageTag { get => ValidateRequestBody.ContainerImageTag ?? null; set => ValidateRequestBody.ContainerImageTag = value; } + public string ContainerImageTag { get => _validateRequestBody.ContainerImageTag ?? null; set => _validateRequestBody.ContainerImageTag = value; } /// Base URL of the container registry [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Base URL of the container registry")] @@ -94,7 +97,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Base URL of the container registry", SerializedName = @"containerRegistryBaseUrl", PossibleTypes = new [] { typeof(string) })] - public string ContainerRegistryBaseUrl { get => ValidateRequestBody.ContainerRegistryBaseUrl ?? null; set => ValidateRequestBody.ContainerRegistryBaseUrl = value; } + public string ContainerRegistryBaseUrl { get => _validateRequestBody.ContainerRegistryBaseUrl ?? null; set => _validateRequestBody.ContainerRegistryBaseUrl = value; } /// Password for to access the container registry [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Password for to access the container registry")] @@ -105,7 +108,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Password for to access the container registry", SerializedName = @"containerRegistryPassword", PossibleTypes = new [] { typeof(string) })] - public string ContainerRegistryPassword { get => ValidateRequestBody.ContainerRegistryPassword ?? null; set => ValidateRequestBody.ContainerRegistryPassword = value; } + public string ContainerRegistryPassword { get => _validateRequestBody.ContainerRegistryPassword ?? null; set => _validateRequestBody.ContainerRegistryPassword = value; } /// Username for to access the container registry [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Username for to access the container registry")] @@ -116,7 +119,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Username for to access the container registry", SerializedName = @"containerRegistryUsername", PossibleTypes = new [] { typeof(string) })] - public string ContainerRegistryUsername { get => ValidateRequestBody.ContainerRegistryUsername ?? null; set => ValidateRequestBody.ContainerRegistryUsername = value; } + public string ContainerRegistryUsername { get => _validateRequestBody.ContainerRegistryUsername ?? null; set => _validateRequestBody.ContainerRegistryUsername = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -138,7 +141,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Name of App Service Environment where app or App Service plan should be created.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironment { get => ValidateRequestBody.HostingEnvironment ?? null; set => ValidateRequestBody.HostingEnvironment = value; } + public string HostingEnvironment { get => _validateRequestBody.HostingEnvironment ?? null; set => _validateRequestBody.HostingEnvironment = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -166,7 +169,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"true if App Service plan is for Spot instances; otherwise, false.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => ValidateRequestBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => ValidateRequestBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _validateRequestBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _validateRequestBody.IsSpot = value; } /// true if App Service plan is running as a windows container [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if App Service plan is running as a windows container")] @@ -177,7 +180,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"true if App Service plan is running as a windows container", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => ValidateRequestBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => ValidateRequestBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _validateRequestBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _validateRequestBody.IsXenon = value; } /// Expected location of the resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Expected location of the resource.")] @@ -188,14 +191,14 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Expected location of the resource.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ValidateRequestBody.Location ?? null; set => ValidateRequestBody.Location = value; } + public string Location { get => _validateRequestBody.Location ?? null; set => _validateRequestBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Resource name to verify. @@ -207,7 +210,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Resource name to verify.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string Name { get => ValidateRequestBody.Name ?? null; set => ValidateRequestBody.Name = value; } + public string Name { get => _validateRequestBody.Name ?? null; set => _validateRequestBody.Name = value; } /// /// true if App Service plan is for Linux workers; otherwise, false. @@ -220,7 +223,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"true if App Service plan is for Linux workers; otherwise, false.", SerializedName = @"needLinuxWorkers", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter NeedLinuxWorker { get => ValidateRequestBody.NeedLinuxWorker ?? default(global::System.Management.Automation.SwitchParameter); set => ValidateRequestBody.NeedLinuxWorker = value; } + public global::System.Management.Automation.SwitchParameter NeedLinuxWorker { get => _validateRequestBody.NeedLinuxWorker ?? default(global::System.Management.Automation.SwitchParameter); set => _validateRequestBody.NeedLinuxWorker = value; } /// /// The instance of the that the remote call will use. @@ -266,7 +269,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"ARM resource ID of an App Service plan that would host the app.", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => ValidateRequestBody.ServerFarmId ?? null; set => ValidateRequestBody.ServerFarmId = value; } + public string ServerFarmId { get => _validateRequestBody.ServerFarmId ?? null; set => _validateRequestBody.ServerFarmId = value; } /// Name of the target SKU for the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the target SKU for the App Service plan.")] @@ -277,7 +280,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat Description = @"Name of the target SKU for the App Service plan.", SerializedName = @"skuName", PossibleTypes = new [] { typeof(string) })] - public string SkuName { get => ValidateRequestBody.SkuName ?? null; set => ValidateRequestBody.SkuName = value; } + public string SkuName { get => _validateRequestBody.SkuName ?? null; set => _validateRequestBody.SkuName = value; } /// Backing field for property. private string _subscriptionId; @@ -309,13 +312,7 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes Type { get => ValidateRequestBody.Type; set => ValidateRequestBody.Type = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest _validateRequestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ValidateRequest(); - - /// Resource validation request content. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest ValidateRequestBody { get => this._validateRequestBody; set => this._validateRequestBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes Type { get => _validateRequestBody.Type; set => _validateRequestBody.Type = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -346,6 +343,11 @@ public partial class TestAz_ValidateExpanded : global::System.Management.Automat /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -357,7 +359,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -460,7 +462,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -475,12 +476,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.Validate(ResourceGroupName, SubscriptionId, ValidateRequestBody, onOk, onDefault, this, Pipeline); + await this.Client.Validate(ResourceGroupName, SubscriptionId, _validateRequestBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,body=ValidateRequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,body=_validateRequestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -534,14 +535,14 @@ public TestAz_ValidateExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=ValidateRequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=_validateRequestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=ValidateRequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, body=_validateRequestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentity.cs b/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentity.cs index 610120fa4c96..f8b2eb1bb8a7 100644 --- a/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentity.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Validate if a resource can be created. + /// Validate if a resource can be created. /// /// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"Az_ValidateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateResponse))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Validate if a resource can be created.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Validate if a resource can be created.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAz_ValidateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -74,11 +74,11 @@ public partial class TestAz_ValidateViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -144,6 +144,11 @@ public partial class TestAz_ValidateViaIdentity : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -155,7 +160,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -258,7 +263,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentityExpanded.cs index e1dc3a333b00..012a36f251b8 100644 --- a/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/TestAz_ValidateViaIdentityExpanded.cs @@ -8,13 +8,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Validate if a resource can be created. + /// Validate if a resource can be created. /// /// [OpenAPI] Validate=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"Az_ValidateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateResponse))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Validate if a resource can be created.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Validate if a resource can be created.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class TestAz_ValidateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -33,6 +33,9 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Resource validation request content. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest _validateRequestBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ValidateRequest(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -47,7 +50,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Target capacity of the App Service plan (number of VMs).", SerializedName = @"capacity", PossibleTypes = new [] { typeof(int) })] - public int Capacity { get => ValidateRequestBody.Capacity ?? default(int); set => ValidateRequestBody.Capacity = value; } + public int Capacity { get => _validateRequestBody.Capacity ?? default(int); set => _validateRequestBody.Capacity = value; } /// The reference to the client API class. public Microsoft.Azure.PowerShell.Cmdlets.Functions.Functions Client => Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.ClientAPI; @@ -61,7 +64,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Platform (windows or linux)", SerializedName = @"containerImagePlatform", PossibleTypes = new [] { typeof(string) })] - public string ContainerImagePlatform { get => ValidateRequestBody.ContainerImagePlatform ?? null; set => ValidateRequestBody.ContainerImagePlatform = value; } + public string ContainerImagePlatform { get => _validateRequestBody.ContainerImagePlatform ?? null; set => _validateRequestBody.ContainerImagePlatform = value; } /// Repository name (image name) [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Repository name (image name)")] @@ -72,7 +75,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Repository name (image name)", SerializedName = @"containerImageRepository", PossibleTypes = new [] { typeof(string) })] - public string ContainerImageRepository { get => ValidateRequestBody.ContainerImageRepository ?? null; set => ValidateRequestBody.ContainerImageRepository = value; } + public string ContainerImageRepository { get => _validateRequestBody.ContainerImageRepository ?? null; set => _validateRequestBody.ContainerImageRepository = value; } /// Image tag [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Image tag")] @@ -83,7 +86,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Image tag", SerializedName = @"containerImageTag", PossibleTypes = new [] { typeof(string) })] - public string ContainerImageTag { get => ValidateRequestBody.ContainerImageTag ?? null; set => ValidateRequestBody.ContainerImageTag = value; } + public string ContainerImageTag { get => _validateRequestBody.ContainerImageTag ?? null; set => _validateRequestBody.ContainerImageTag = value; } /// Base URL of the container registry [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Base URL of the container registry")] @@ -94,7 +97,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Base URL of the container registry", SerializedName = @"containerRegistryBaseUrl", PossibleTypes = new [] { typeof(string) })] - public string ContainerRegistryBaseUrl { get => ValidateRequestBody.ContainerRegistryBaseUrl ?? null; set => ValidateRequestBody.ContainerRegistryBaseUrl = value; } + public string ContainerRegistryBaseUrl { get => _validateRequestBody.ContainerRegistryBaseUrl ?? null; set => _validateRequestBody.ContainerRegistryBaseUrl = value; } /// Password for to access the container registry [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Password for to access the container registry")] @@ -105,7 +108,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Password for to access the container registry", SerializedName = @"containerRegistryPassword", PossibleTypes = new [] { typeof(string) })] - public string ContainerRegistryPassword { get => ValidateRequestBody.ContainerRegistryPassword ?? null; set => ValidateRequestBody.ContainerRegistryPassword = value; } + public string ContainerRegistryPassword { get => _validateRequestBody.ContainerRegistryPassword ?? null; set => _validateRequestBody.ContainerRegistryPassword = value; } /// Username for to access the container registry [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Username for to access the container registry")] @@ -116,7 +119,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Username for to access the container registry", SerializedName = @"containerRegistryUsername", PossibleTypes = new [] { typeof(string) })] - public string ContainerRegistryUsername { get => ValidateRequestBody.ContainerRegistryUsername ?? null; set => ValidateRequestBody.ContainerRegistryUsername = value; } + public string ContainerRegistryUsername { get => _validateRequestBody.ContainerRegistryUsername ?? null; set => _validateRequestBody.ContainerRegistryUsername = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -138,7 +141,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Name of App Service Environment where app or App Service plan should be created.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironment { get => ValidateRequestBody.HostingEnvironment ?? null; set => ValidateRequestBody.HostingEnvironment = value; } + public string HostingEnvironment { get => _validateRequestBody.HostingEnvironment ?? null; set => _validateRequestBody.HostingEnvironment = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -174,7 +177,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"true if App Service plan is for Spot instances; otherwise, false.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => ValidateRequestBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => ValidateRequestBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _validateRequestBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _validateRequestBody.IsSpot = value; } /// true if App Service plan is running as a windows container [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if App Service plan is running as a windows container")] @@ -185,7 +188,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"true if App Service plan is running as a windows container", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => ValidateRequestBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => ValidateRequestBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _validateRequestBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _validateRequestBody.IsXenon = value; } /// Expected location of the resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Expected location of the resource.")] @@ -196,14 +199,14 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Expected location of the resource.", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ValidateRequestBody.Location ?? null; set => ValidateRequestBody.Location = value; } + public string Location { get => _validateRequestBody.Location ?? null; set => _validateRequestBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Resource name to verify. @@ -215,7 +218,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Resource name to verify.", SerializedName = @"name", PossibleTypes = new [] { typeof(string) })] - public string Name { get => ValidateRequestBody.Name ?? null; set => ValidateRequestBody.Name = value; } + public string Name { get => _validateRequestBody.Name ?? null; set => _validateRequestBody.Name = value; } /// /// true if App Service plan is for Linux workers; otherwise, false. @@ -228,7 +231,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"true if App Service plan is for Linux workers; otherwise, false.", SerializedName = @"needLinuxWorkers", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter NeedLinuxWorker { get => ValidateRequestBody.NeedLinuxWorker ?? default(global::System.Management.Automation.SwitchParameter); set => ValidateRequestBody.NeedLinuxWorker = value; } + public global::System.Management.Automation.SwitchParameter NeedLinuxWorker { get => _validateRequestBody.NeedLinuxWorker ?? default(global::System.Management.Automation.SwitchParameter); set => _validateRequestBody.NeedLinuxWorker = value; } /// /// The instance of the that the remote call will use. @@ -260,7 +263,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"ARM resource ID of an App Service plan that would host the app.", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => ValidateRequestBody.ServerFarmId ?? null; set => ValidateRequestBody.ServerFarmId = value; } + public string ServerFarmId { get => _validateRequestBody.ServerFarmId ?? null; set => _validateRequestBody.ServerFarmId = value; } /// Name of the target SKU for the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the target SKU for the App Service plan.")] @@ -271,7 +274,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem Description = @"Name of the target SKU for the App Service plan.", SerializedName = @"skuName", PossibleTypes = new [] { typeof(string) })] - public string SkuName { get => ValidateRequestBody.SkuName ?? null; set => ValidateRequestBody.SkuName = value; } + public string SkuName { get => _validateRequestBody.SkuName ?? null; set => _validateRequestBody.SkuName = value; } /// Resource type used for verification. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Resource type used for verification.")] @@ -283,13 +286,7 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes Type { get => ValidateRequestBody.Type; set => ValidateRequestBody.Type = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest _validateRequestBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ValidateRequest(); - - /// Resource validation request content. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest ValidateRequestBody { get => this._validateRequestBody; set => this._validateRequestBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes Type { get => _validateRequestBody.Type; set => _validateRequestBody.Type = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -320,6 +317,11 @@ public partial class TestAz_ValidateViaIdentityExpanded : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -331,7 +333,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -434,7 +436,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -451,7 +452,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.ValidateViaIdentity(InputObject.Id, ValidateRequestBody, onOk, onDefault, this, Pipeline); + await this.Client.ValidateViaIdentity(InputObject.Id, _validateRequestBody, onOk, onDefault, this, Pipeline); } else { @@ -464,13 +465,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.Validate(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, ValidateRequestBody, onOk, onDefault, this, Pipeline); + await this.Client.Validate(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, _validateRequestBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ValidateRequestBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_validateRequestBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -524,14 +525,14 @@ public TestAz_ValidateViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ValidateRequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_validateRequestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ValidateRequestBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_validateRequestBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_Update.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_Update.cs index 27d14b854a4b..ebdf2e01ee08 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_Update.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionAppPlan_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionAppPlan_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -80,11 +80,11 @@ public partial class UpdateAzFunctionAppPlan_Update : global::System.Management. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -197,6 +197,11 @@ public partial class UpdateAzFunctionAppPlan_Update : global::System.Management. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -208,7 +213,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -311,7 +316,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateExpanded.cs index f3e5df6df6c8..8610e29e317b 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionAppPlan_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// ARM resource for a app service plan. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource _appServicePlanBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanPatchResource(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource _appServicePlanBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanPatchResource(); - - /// ARM resource for a app service plan. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource AppServicePlanBody { get => this._appServicePlanBody; set => this._appServicePlanBody = value; } - /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -66,7 +63,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"The time when the server farm free offer expires.", SerializedName = @"freeOfferExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime FreeOfferExpirationTime { get => AppServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.FreeOfferExpirationTime = value; } + public global::System.DateTime FreeOfferExpirationTime { get => _appServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.FreeOfferExpirationTime = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -77,7 +74,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => AppServicePlanBody.HostingEnvironmentProfileId ?? null; set => AppServicePlanBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _appServicePlanBody.HostingEnvironmentProfileId ?? null; set => _appServicePlanBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -102,7 +99,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"If Hyper-V container app service plan true, false otherwise.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => AppServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _appServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.HyperV = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -116,7 +113,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"If true, this App Service Plan owns spot instances.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => AppServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _appServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsSpot = value; } /// /// Obsolete: If Hyper-V container app service plan true, false otherwise. @@ -129,7 +126,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Obsolete: If Hyper-V container app service plan true, false otherwise.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => AppServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _appServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -140,7 +137,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppServicePlanBody.Kind ?? null; set => AppServicePlanBody.Kind = value; } + public string Kind { get => _appServicePlanBody.Kind ?? null; set => _appServicePlanBody.Kind = value; } /// /// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan @@ -153,14 +150,14 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", SerializedName = @"maximumElasticWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int MaximumElasticWorkerCount { get => AppServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => AppServicePlanBody.MaximumElasticWorkerCount = value; } + public int MaximumElasticWorkerCount { get => _appServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => _appServicePlanBody.MaximumElasticWorkerCount = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -189,7 +186,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"If true, apps assigned to this App Service plan can be scaled independently.If false, apps assigned to this App Service plan will scale to all instances of the plan.", SerializedName = @"perSiteScaling", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => AppServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.PerSiteScaling = value; } + public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => _appServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.PerSiteScaling = value; } /// /// The instance of the that the remote call will use. @@ -212,16 +209,19 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// If Linux app service plan true, false otherwise. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If Linux app service plan true, false otherwise.")] + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, ReadOnly = false, - Description = @"If Linux app service plan true, false otherwise.", + Description = @"This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => AppServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _appServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.Reserved = value; } /// Backing field for property. private string _resourceGroupName; @@ -246,7 +246,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"The time when the server farm expires. Valid only if it is a spot server farm.", SerializedName = @"spotExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime SpotExpirationTime { get => AppServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.SpotExpirationTime = value; } + public global::System.DateTime SpotExpirationTime { get => _appServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.SpotExpirationTime = value; } /// Backing field for property. private string _subscriptionId; @@ -277,7 +277,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Scaling worker count.", SerializedName = @"targetWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerCount { get => AppServicePlanBody.TargetWorkerCount ?? default(int); set => AppServicePlanBody.TargetWorkerCount = value; } + public int TargetWorkerCount { get => _appServicePlanBody.TargetWorkerCount ?? default(int); set => _appServicePlanBody.TargetWorkerCount = value; } /// Scaling worker size ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker size ID.")] @@ -288,7 +288,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Scaling worker size ID.", SerializedName = @"targetWorkerSizeId", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerSizeId { get => AppServicePlanBody.TargetWorkerSizeId ?? default(int); set => AppServicePlanBody.TargetWorkerSizeId = value; } + public int TargetWorkerSizeId { get => _appServicePlanBody.TargetWorkerSizeId ?? default(int); set => _appServicePlanBody.TargetWorkerSizeId = value; } /// Target worker tier assigned to the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Target worker tier assigned to the App Service plan.")] @@ -299,7 +299,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man Description = @"Target worker tier assigned to the App Service plan.", SerializedName = @"workerTierName", PossibleTypes = new [] { typeof(string) })] - public string WorkerTierName { get => AppServicePlanBody.WorkerTierName ?? null; set => AppServicePlanBody.WorkerTierName = value; } + public string WorkerTierName { get => _appServicePlanBody.WorkerTierName ?? null; set => _appServicePlanBody.WorkerTierName = value; } /// /// overrideOnAccepted will be called before the regular onAccepted has been processed, allowing customization of what @@ -342,6 +342,11 @@ public partial class UpdateAzFunctionAppPlan_UpdateExpanded : global::System.Man /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -353,7 +358,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -456,7 +461,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -471,12 +475,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.AppServicePlansUpdate(ResourceGroupName, Name, SubscriptionId, AppServicePlanBody, onOk, onAccepted, onDefault, this, Pipeline); + await this.Client.AppServicePlansUpdate(ResourceGroupName, Name, SubscriptionId, _appServicePlanBody, onOk, onAccepted, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=AppServicePlanBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_appServicePlanBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -554,14 +558,14 @@ public UpdateAzFunctionAppPlan_UpdateExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentity.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentity.cs index a2d91a5c9a81..925bf36ca15a 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionAppPlan_UpdateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionAppPlan_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -88,11 +88,11 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentity : global::System. 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -157,6 +157,11 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentity : global::System. /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -168,7 +173,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -271,7 +276,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded.cs index 8b391bb4062f..1952696dc6ef 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Creates or updates an App Service Plan. + /// Creates or updates an App Service Plan. /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionAppPlan_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates or updates an App Service Plan.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates or updates an App Service Plan.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -29,17 +29,14 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: /// A unique id generatd for the this cmdlet when ProcessRecord() is called. private string __processRecordId; + /// ARM resource for a app service plan. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource _appServicePlanBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanPatchResource(); + /// /// The for this operation. /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource _appServicePlanBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.AppServicePlanPatchResource(); - - /// ARM resource for a app service plan. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource AppServicePlanBody { get => this._appServicePlanBody; set => this._appServicePlanBody = value; } - /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -66,7 +63,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"The time when the server farm free offer expires.", SerializedName = @"freeOfferExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime FreeOfferExpirationTime { get => AppServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.FreeOfferExpirationTime = value; } + public global::System.DateTime FreeOfferExpirationTime { get => _appServicePlanBody.FreeOfferExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.FreeOfferExpirationTime = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -77,7 +74,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => AppServicePlanBody.HostingEnvironmentProfileId ?? null; set => AppServicePlanBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _appServicePlanBody.HostingEnvironmentProfileId ?? null; set => _appServicePlanBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -102,7 +99,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"If Hyper-V container app service plan true, false otherwise.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => AppServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _appServicePlanBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.HyperV = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -124,7 +121,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"If true, this App Service Plan owns spot instances.", SerializedName = @"isSpot", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsSpot { get => AppServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsSpot = value; } + public global::System.Management.Automation.SwitchParameter IsSpot { get => _appServicePlanBody.IsSpot ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsSpot = value; } /// /// Obsolete: If Hyper-V container app service plan true, false otherwise. @@ -137,7 +134,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Obsolete: If Hyper-V container app service plan true, false otherwise.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => AppServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _appServicePlanBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -148,7 +145,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => AppServicePlanBody.Kind ?? null; set => AppServicePlanBody.Kind = value; } + public string Kind { get => _appServicePlanBody.Kind ?? null; set => _appServicePlanBody.Kind = value; } /// /// Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan @@ -161,14 +158,14 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan", SerializedName = @"maximumElasticWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int MaximumElasticWorkerCount { get => AppServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => AppServicePlanBody.MaximumElasticWorkerCount = value; } + public int MaximumElasticWorkerCount { get => _appServicePlanBody.MaximumElasticWorkerCount ?? default(int); set => _appServicePlanBody.MaximumElasticWorkerCount = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -183,7 +180,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"If true, apps assigned to this App Service plan can be scaled independently.If false, apps assigned to this App Service plan will scale to all instances of the plan.", SerializedName = @"perSiteScaling", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => AppServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.PerSiteScaling = value; } + public global::System.Management.Automation.SwitchParameter PerSiteScaling { get => _appServicePlanBody.PerSiteScaling ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.PerSiteScaling = value; } /// /// The instance of the that the remote call will use. @@ -206,16 +203,19 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } - /// If Linux app service plan true, false otherwise. - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If Linux app service plan true, false otherwise.")] + /// + /// This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. + /// It should be false otherwise. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( Required = false, ReadOnly = false, - Description = @"If Linux app service plan true, false otherwise.", + Description = @"This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => AppServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => AppServicePlanBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _appServicePlanBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _appServicePlanBody.Reserved = value; } /// The time when the server farm expires. Valid only if it is a spot server farm. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The time when the server farm expires. Valid only if it is a spot server farm.")] @@ -226,7 +226,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"The time when the server farm expires. Valid only if it is a spot server farm.", SerializedName = @"spotExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime SpotExpirationTime { get => AppServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => AppServicePlanBody.SpotExpirationTime = value; } + public global::System.DateTime SpotExpirationTime { get => _appServicePlanBody.SpotExpirationTime ?? default(global::System.DateTime); set => _appServicePlanBody.SpotExpirationTime = value; } /// Scaling worker count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker count.")] @@ -237,7 +237,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Scaling worker count.", SerializedName = @"targetWorkerCount", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerCount { get => AppServicePlanBody.TargetWorkerCount ?? default(int); set => AppServicePlanBody.TargetWorkerCount = value; } + public int TargetWorkerCount { get => _appServicePlanBody.TargetWorkerCount ?? default(int); set => _appServicePlanBody.TargetWorkerCount = value; } /// Scaling worker size ID. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Scaling worker size ID.")] @@ -248,7 +248,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Scaling worker size ID.", SerializedName = @"targetWorkerSizeId", PossibleTypes = new [] { typeof(int) })] - public int TargetWorkerSizeId { get => AppServicePlanBody.TargetWorkerSizeId ?? default(int); set => AppServicePlanBody.TargetWorkerSizeId = value; } + public int TargetWorkerSizeId { get => _appServicePlanBody.TargetWorkerSizeId ?? default(int); set => _appServicePlanBody.TargetWorkerSizeId = value; } /// Target worker tier assigned to the App Service plan. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Target worker tier assigned to the App Service plan.")] @@ -259,7 +259,7 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: Description = @"Target worker tier assigned to the App Service plan.", SerializedName = @"workerTierName", PossibleTypes = new [] { typeof(string) })] - public string WorkerTierName { get => AppServicePlanBody.WorkerTierName ?? null; set => AppServicePlanBody.WorkerTierName = value; } + public string WorkerTierName { get => _appServicePlanBody.WorkerTierName ?? null; set => _appServicePlanBody.WorkerTierName = value; } /// /// overrideOnAccepted will be called before the regular onAccepted has been processed, allowing customization of what @@ -302,6 +302,11 @@ public partial class UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded : global: /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -313,7 +318,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -416,7 +421,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -433,7 +437,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.AppServicePlansUpdateViaIdentity(InputObject.Id, AppServicePlanBody, onOk, onAccepted, onDefault, this, Pipeline); + await this.Client.AppServicePlansUpdateViaIdentity(InputObject.Id, _appServicePlanBody, onOk, onAccepted, onDefault, this, Pipeline); } else { @@ -450,13 +454,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.AppServicePlansUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, AppServicePlanBody, onOk, onAccepted, onDefault, this, Pipeline); + await this.Client.AppServicePlansUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _appServicePlanBody, onOk, onAccepted, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=AppServicePlanBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_appServicePlanBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -534,14 +538,14 @@ public UpdateAzFunctionAppPlan_UpdateViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=AppServicePlanBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_appServicePlanBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_Update.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_Update.cs index e4ff9d28a76e..3608e7dd58c6 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_Update.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_Update.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionApp_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionApp_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -69,11 +69,11 @@ public partial class UpdateAzFunctionApp_Update : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -201,6 +201,11 @@ public partial class UpdateAzFunctionApp_Update : global::System.Management.Auto /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +217,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +320,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateExpanded.cs index dbc683b7aad0..af1bcefc331f 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateExpanded.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionApp_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +36,9 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// ARM resource for a site. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource _siteEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SitePatchResource(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -56,7 +59,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", SerializedName = @"clientAffinityEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => SiteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientAffinityEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => _siteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientAffinityEnabled = value; } /// /// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. @@ -70,7 +73,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", SerializedName = @"clientCertEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => SiteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientCertEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => _siteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientCertEnabled = value; } /// client certificate authentication comma-separated exclusion paths [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "client certificate authentication comma-separated exclusion paths")] @@ -81,7 +84,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"client certificate authentication comma-separated exclusion paths", SerializedName = @"clientCertExclusionPaths", PossibleTypes = new [] { typeof(string) })] - public string ClientCertExclusionPath { get => SiteEnvelopeBody.ClientCertExclusionPath ?? null; set => SiteEnvelopeBody.ClientCertExclusionPath = value; } + public string ClientCertExclusionPath { get => _siteEnvelopeBody.ClientCertExclusionPath ?? null; set => _siteEnvelopeBody.ClientCertExclusionPath = value; } /// /// Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. @@ -96,7 +99,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.", SerializedName = @"appSettingsOverrides", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => SiteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => SiteEnvelopeBody.CloningInfoAppSettingsOverride = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => _siteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => _siteEnvelopeBody.CloningInfoAppSettingsOverride = value; } /// /// true to clone custom hostnames from source app; otherwise, false. @@ -109,7 +112,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to clone custom hostnames from source app; otherwise, false.", SerializedName = @"cloneCustomHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => SiteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneCustomHostName = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => _siteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneCustomHostName = value; } /// /// true to clone source control from source app; otherwise, false. @@ -122,7 +125,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to clone source control from source app; otherwise, false.", SerializedName = @"cloneSourceControl", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => SiteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneSourceControl = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => _siteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneSourceControl = value; } /// true to configure load balancing for source and destination app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to configure load balancing for source and destination app.")] @@ -133,7 +136,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to configure load balancing for source and destination app.", SerializedName = @"configureLoadBalancing", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } /// /// Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot. @@ -146,7 +149,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot.", SerializedName = @"correlationId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoCorrelationId { get => SiteEnvelopeBody.CloningInfoCorrelationId ?? null; set => SiteEnvelopeBody.CloningInfoCorrelationId = value; } + public string CloningInfoCorrelationId { get => _siteEnvelopeBody.CloningInfoCorrelationId ?? null; set => _siteEnvelopeBody.CloningInfoCorrelationId = value; } /// App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App Service Environment.")] @@ -157,7 +160,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"App Service Environment.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoHostingEnvironment { get => SiteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => SiteEnvelopeBody.CloningInfoHostingEnvironment = value; } + public string CloningInfoHostingEnvironment { get => _siteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => _siteEnvelopeBody.CloningInfoHostingEnvironment = value; } /// true to overwrite destination app; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to overwrite destination app; otherwise, false.")] @@ -168,7 +171,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to overwrite destination app; otherwise, false.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => SiteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoOverwrite = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => _siteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoOverwrite = value; } /// /// ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} @@ -183,7 +186,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", SerializedName = @"sourceWebAppId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppId { get => SiteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppId = value; } + public string CloningInfoSourceWebAppId { get => _siteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppId = value; } /// Location of source app ex: West US or North Europe [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Location of source app ex: West US or North Europe")] @@ -194,7 +197,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Location of source app ex: West US or North Europe", SerializedName = @"sourceWebAppLocation", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppLocation { get => SiteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } + public string CloningInfoSourceWebAppLocation { get => _siteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } /// /// ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. @@ -207,7 +210,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", SerializedName = @"trafficManagerProfileId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileId { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } + public string CloningInfoTrafficManagerProfileId { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } /// /// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. @@ -220,7 +223,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", SerializedName = @"trafficManagerProfileName", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileName { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } + public string CloningInfoTrafficManagerProfileName { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } /// Size of the function container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size of the function container.")] @@ -231,7 +234,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Size of the function container.", SerializedName = @"containerSize", PossibleTypes = new [] { typeof(int) })] - public int ContainerSize { get => SiteEnvelopeBody.ContainerSize ?? default(int); set => SiteEnvelopeBody.ContainerSize = value; } + public int ContainerSize { get => _siteEnvelopeBody.ContainerSize ?? default(int); set => _siteEnvelopeBody.ContainerSize = value; } /// Maximum allowed daily memory-time quota (applicable on dynamic apps only). [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed daily memory-time quota (applicable on dynamic apps only).")] @@ -242,7 +245,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Maximum allowed daily memory-time quota (applicable on dynamic apps only).", SerializedName = @"dailyMemoryTimeQuota", PossibleTypes = new [] { typeof(int) })] - public int DailyMemoryTimeQuota { get => SiteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => SiteEnvelopeBody.DailyMemoryTimeQuota = value; } + public int DailyMemoryTimeQuota { get => _siteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => _siteEnvelopeBody.DailyMemoryTimeQuota = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -265,7 +268,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => SiteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _siteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Enabled = value; } /// Hostname SSL states are used to manage the SSL bindings for app's hostnames. [global::System.Management.Automation.AllowEmptyCollection] @@ -277,7 +280,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Hostname SSL states are used to manage the SSL bindings for app's hostnames.", SerializedName = @"hostNameSslStates", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => SiteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => SiteEnvelopeBody.HostNameSslState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => _siteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => _siteEnvelopeBody.HostNameSslState = value; } /// /// true to disable the public hostnames of the app; otherwise, false. If true, the @@ -291,7 +294,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.", SerializedName = @"hostNamesDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => SiteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HostNamesDisabled = value; } + public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => _siteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HostNamesDisabled = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -302,7 +305,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => SiteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => SiteEnvelopeBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _siteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => _siteEnvelopeBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -327,7 +330,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"HttpsOnly: configures a web site to accept only https requests. Issues redirect forhttp requests", SerializedName = @"httpsOnly", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpsOnly { get => SiteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HttpsOnly = value; } + public global::System.Management.Automation.SwitchParameter HttpsOnly { get => _siteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HttpsOnly = value; } /// Hyper-V sandbox. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Hyper-V sandbox.")] @@ -338,7 +341,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Hyper-V sandbox.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => SiteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _siteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HyperV = value; } /// Type of managed service identity. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of managed service identity.")] @@ -350,7 +353,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => SiteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => SiteEnvelopeBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => _siteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => _siteEnvelopeBody.IdentityType = value; } /// /// The list of user assigned identities associated with the resource. The user identity dictionary key references will be @@ -365,7 +368,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", SerializedName = @"userAssignedIdentities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => SiteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => SiteEnvelopeBody.IdentityUserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => _siteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => _siteEnvelopeBody.IdentityUserAssignedIdentity = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -379,7 +382,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Obsolete: Hyper-V sandbox.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => SiteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _siteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -390,14 +393,14 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteEnvelopeBody.Kind ?? null; set => SiteEnvelopeBody.Kind = value; } + public string Kind { get => _siteEnvelopeBody.Kind ?? null; set => _siteEnvelopeBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -447,7 +450,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem SerializedName = @"redundancyMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => SiteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => SiteEnvelopeBody.RedundancyMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => _siteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => _siteEnvelopeBody.RedundancyMode = value; } /// true if reserved; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if reserved; otherwise, false.")] @@ -458,7 +461,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true if reserved; otherwise, false.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => SiteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _siteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Reserved = value; } /// Backing field for property. private string _resourceGroupName; @@ -485,7 +488,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", SerializedName = @"scmSiteAlsoStopped", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => SiteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ScmSiteAlsoStopped = value; } + public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => _siteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ScmSiteAlsoStopped = value; } /// /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". @@ -498,7 +501,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Resource ID of the associated App Service plan, formatted as: ""/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}"".", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => SiteEnvelopeBody.ServerFarmId ?? null; set => SiteEnvelopeBody.ServerFarmId = value; } + public string ServerFarmId { get => _siteEnvelopeBody.ServerFarmId ?? null; set => _siteEnvelopeBody.ServerFarmId = value; } /// Configuration of the app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Configuration of the app.")] @@ -509,13 +512,7 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem Description = @"Configuration of the app.", SerializedName = @"siteConfig", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => SiteEnvelopeBody.SiteConfig ?? null /* object */; set => SiteEnvelopeBody.SiteConfig = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource _siteEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SitePatchResource(); - - /// ARM resource for a site. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource SiteEnvelopeBody { get => this._siteEnvelopeBody; set => this._siteEnvelopeBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => _siteEnvelopeBody.SiteConfig ?? null /* object */; set => _siteEnvelopeBody.SiteConfig = value; } /// Backing field for property. private string _subscriptionId; @@ -578,6 +575,11 @@ public partial class UpdateAzFunctionApp_UpdateExpanded : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -589,7 +591,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -692,7 +694,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -707,12 +708,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsUpdate(ResourceGroupName, Name, SubscriptionId, SiteEnvelopeBody, onOk, onAccepted, onDefault, this, Pipeline); + await this.Client.WebAppsUpdate(ResourceGroupName, Name, SubscriptionId, _siteEnvelopeBody, onOk, onAccepted, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=SiteEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_siteEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -790,14 +791,14 @@ public UpdateAzFunctionApp_UpdateExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentity.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentity.cs index 899c98fcf507..398db91239ee 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentity.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionApp_UpdateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionApp_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -77,11 +77,11 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -159,6 +159,11 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentity : global::System.Mana /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -170,7 +175,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -273,7 +278,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentityExpanded.cs index c27a9f30c91e..f4c94c965664 100644 --- a/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzFunctionApp_UpdateViaIdentityExpanded.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using System; /// - /// Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + /// Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. /// /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}" @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzFunctionApp_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -36,6 +36,9 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// ARM resource for a site. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource _siteEnvelopeBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SitePatchResource(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -56,7 +59,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", SerializedName = @"clientAffinityEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => SiteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientAffinityEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientAffinityEnabled { get => _siteEnvelopeBody.ClientAffinityEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientAffinityEnabled = value; } /// /// true to enable client certificate authentication (TLS mutual authentication); otherwise, false. @@ -70,7 +73,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", SerializedName = @"clientCertEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => SiteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ClientCertEnabled = value; } + public global::System.Management.Automation.SwitchParameter ClientCertEnabled { get => _siteEnvelopeBody.ClientCertEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ClientCertEnabled = value; } /// client certificate authentication comma-separated exclusion paths [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "client certificate authentication comma-separated exclusion paths")] @@ -81,7 +84,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"client certificate authentication comma-separated exclusion paths", SerializedName = @"clientCertExclusionPaths", PossibleTypes = new [] { typeof(string) })] - public string ClientCertExclusionPath { get => SiteEnvelopeBody.ClientCertExclusionPath ?? null; set => SiteEnvelopeBody.ClientCertExclusionPath = value; } + public string ClientCertExclusionPath { get => _siteEnvelopeBody.ClientCertExclusionPath ?? null; set => _siteEnvelopeBody.ClientCertExclusionPath = value; } /// /// Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. @@ -96,7 +99,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.", SerializedName = @"appSettingsOverrides", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => SiteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => SiteEnvelopeBody.CloningInfoAppSettingsOverride = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides CloningInfoAppSettingsOverride { get => _siteEnvelopeBody.CloningInfoAppSettingsOverride ?? null /* object */; set => _siteEnvelopeBody.CloningInfoAppSettingsOverride = value; } /// /// true to clone custom hostnames from source app; otherwise, false. @@ -109,7 +112,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to clone custom hostnames from source app; otherwise, false.", SerializedName = @"cloneCustomHostNames", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => SiteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneCustomHostName = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneCustomHostName { get => _siteEnvelopeBody.CloningInfoCloneCustomHostName ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneCustomHostName = value; } /// /// true to clone source control from source app; otherwise, false. @@ -122,7 +125,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to clone source control from source app; otherwise, false.", SerializedName = @"cloneSourceControl", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => SiteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoCloneSourceControl = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoCloneSourceControl { get => _siteEnvelopeBody.CloningInfoCloneSourceControl ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoCloneSourceControl = value; } /// true to configure load balancing for source and destination app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to configure load balancing for source and destination app.")] @@ -133,7 +136,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to configure load balancing for source and destination app.", SerializedName = @"configureLoadBalancing", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoConfigureLoadBalancing { get => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoConfigureLoadBalancing = value; } /// /// Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot. @@ -146,7 +149,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Correlation ID of cloning operation. This ID ties multiple cloning operationstogether to use the same snapshot.", SerializedName = @"correlationId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoCorrelationId { get => SiteEnvelopeBody.CloningInfoCorrelationId ?? null; set => SiteEnvelopeBody.CloningInfoCorrelationId = value; } + public string CloningInfoCorrelationId { get => _siteEnvelopeBody.CloningInfoCorrelationId ?? null; set => _siteEnvelopeBody.CloningInfoCorrelationId = value; } /// App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App Service Environment.")] @@ -157,7 +160,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"App Service Environment.", SerializedName = @"hostingEnvironment", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoHostingEnvironment { get => SiteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => SiteEnvelopeBody.CloningInfoHostingEnvironment = value; } + public string CloningInfoHostingEnvironment { get => _siteEnvelopeBody.CloningInfoHostingEnvironment ?? null; set => _siteEnvelopeBody.CloningInfoHostingEnvironment = value; } /// true to overwrite destination app; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to overwrite destination app; otherwise, false.")] @@ -168,7 +171,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to overwrite destination app; otherwise, false.", SerializedName = @"overwrite", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => SiteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.CloningInfoOverwrite = value; } + public global::System.Management.Automation.SwitchParameter CloningInfoOverwrite { get => _siteEnvelopeBody.CloningInfoOverwrite ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.CloningInfoOverwrite = value; } /// /// ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} @@ -183,7 +186,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", SerializedName = @"sourceWebAppId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppId { get => SiteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppId = value; } + public string CloningInfoSourceWebAppId { get => _siteEnvelopeBody.CloningInfoSourceWebAppId ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppId = value; } /// Location of source app ex: West US or North Europe [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Location of source app ex: West US or North Europe")] @@ -194,7 +197,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Location of source app ex: West US or North Europe", SerializedName = @"sourceWebAppLocation", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoSourceWebAppLocation { get => SiteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => SiteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } + public string CloningInfoSourceWebAppLocation { get => _siteEnvelopeBody.CloningInfoSourceWebAppLocation ?? null; set => _siteEnvelopeBody.CloningInfoSourceWebAppLocation = value; } /// /// ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. @@ -207,7 +210,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", SerializedName = @"trafficManagerProfileId", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileId { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } + public string CloningInfoTrafficManagerProfileId { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileId = value; } /// /// Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. @@ -220,7 +223,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", SerializedName = @"trafficManagerProfileName", PossibleTypes = new [] { typeof(string) })] - public string CloningInfoTrafficManagerProfileName { get => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => SiteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } + public string CloningInfoTrafficManagerProfileName { get => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName ?? null; set => _siteEnvelopeBody.CloningInfoTrafficManagerProfileName = value; } /// Size of the function container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Size of the function container.")] @@ -231,7 +234,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Size of the function container.", SerializedName = @"containerSize", PossibleTypes = new [] { typeof(int) })] - public int ContainerSize { get => SiteEnvelopeBody.ContainerSize ?? default(int); set => SiteEnvelopeBody.ContainerSize = value; } + public int ContainerSize { get => _siteEnvelopeBody.ContainerSize ?? default(int); set => _siteEnvelopeBody.ContainerSize = value; } /// Maximum allowed daily memory-time quota (applicable on dynamic apps only). [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed daily memory-time quota (applicable on dynamic apps only).")] @@ -242,7 +245,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Maximum allowed daily memory-time quota (applicable on dynamic apps only).", SerializedName = @"dailyMemoryTimeQuota", PossibleTypes = new [] { typeof(int) })] - public int DailyMemoryTimeQuota { get => SiteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => SiteEnvelopeBody.DailyMemoryTimeQuota = value; } + public int DailyMemoryTimeQuota { get => _siteEnvelopeBody.DailyMemoryTimeQuota ?? default(int); set => _siteEnvelopeBody.DailyMemoryTimeQuota = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -265,7 +268,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", SerializedName = @"enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Enabled { get => SiteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Enabled = value; } + public global::System.Management.Automation.SwitchParameter Enabled { get => _siteEnvelopeBody.Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Enabled = value; } /// Hostname SSL states are used to manage the SSL bindings for app's hostnames. [global::System.Management.Automation.AllowEmptyCollection] @@ -277,7 +280,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Hostname SSL states are used to manage the SSL bindings for app's hostnames.", SerializedName = @"hostNameSslStates", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => SiteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => SiteEnvelopeBody.HostNameSslState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[] HostNameSslState { get => _siteEnvelopeBody.HostNameSslState ?? null /* arrayOf */; set => _siteEnvelopeBody.HostNameSslState = value; } /// /// true to disable the public hostnames of the app; otherwise, false. If true, the @@ -291,7 +294,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to disable the public hostnames of the app; otherwise, false. If true, the app is only accessible via API management process.", SerializedName = @"hostNamesDisabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => SiteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HostNamesDisabled = value; } + public global::System.Management.Automation.SwitchParameter HostNamesDisabled { get => _siteEnvelopeBody.HostNamesDisabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HostNamesDisabled = value; } /// Resource ID of the App Service Environment. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Resource ID of the App Service Environment.")] @@ -302,7 +305,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Resource ID of the App Service Environment.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string HostingEnvironmentProfileId { get => SiteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => SiteEnvelopeBody.HostingEnvironmentProfileId = value; } + public string HostingEnvironmentProfileId { get => _siteEnvelopeBody.HostingEnvironmentProfileId ?? null; set => _siteEnvelopeBody.HostingEnvironmentProfileId = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -327,7 +330,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"HttpsOnly: configures a web site to accept only https requests. Issues redirect forhttp requests", SerializedName = @"httpsOnly", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpsOnly { get => SiteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HttpsOnly = value; } + public global::System.Management.Automation.SwitchParameter HttpsOnly { get => _siteEnvelopeBody.HttpsOnly ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HttpsOnly = value; } /// Hyper-V sandbox. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Hyper-V sandbox.")] @@ -338,7 +341,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Hyper-V sandbox.", SerializedName = @"hyperV", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HyperV { get => SiteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.HyperV = value; } + public global::System.Management.Automation.SwitchParameter HyperV { get => _siteEnvelopeBody.HyperV ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.HyperV = value; } /// Type of managed service identity. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Type of managed service identity.")] @@ -350,7 +353,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys SerializedName = @"type", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => SiteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => SiteEnvelopeBody.IdentityType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType IdentityType { get => _siteEnvelopeBody.IdentityType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType)""); set => _siteEnvelopeBody.IdentityType = value; } /// /// The list of user assigned identities associated with the resource. The user identity dictionary key references will be @@ -365,7 +368,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}", SerializedName = @"userAssignedIdentities", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => SiteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => SiteEnvelopeBody.IdentityUserAssignedIdentity = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IManagedServiceIdentityUserAssignedIdentities IdentityUserAssignedIdentity { get => _siteEnvelopeBody.IdentityUserAssignedIdentity ?? null /* object */; set => _siteEnvelopeBody.IdentityUserAssignedIdentity = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -387,7 +390,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Obsolete: Hyper-V sandbox.", SerializedName = @"isXenon", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsXenon { get => SiteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.IsXenon = value; } + public global::System.Management.Automation.SwitchParameter IsXenon { get => _siteEnvelopeBody.IsXenon ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.IsXenon = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -398,14 +401,14 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteEnvelopeBody.Kind ?? null; set => SiteEnvelopeBody.Kind = value; } + public string Kind { get => _siteEnvelopeBody.Kind ?? null; set => _siteEnvelopeBody.Kind = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -439,7 +442,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys SerializedName = @"redundancyMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => SiteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => SiteEnvelopeBody.RedundancyMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode RedundancyMode { get => _siteEnvelopeBody.RedundancyMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode)""); set => _siteEnvelopeBody.RedundancyMode = value; } /// true if reserved; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if reserved; otherwise, false.")] @@ -450,7 +453,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true if reserved; otherwise, false.", SerializedName = @"reserved", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Reserved { get => SiteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.Reserved = value; } + public global::System.Management.Automation.SwitchParameter Reserved { get => _siteEnvelopeBody.Reserved ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.Reserved = value; } /// /// true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. @@ -463,7 +466,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", SerializedName = @"scmSiteAlsoStopped", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => SiteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => SiteEnvelopeBody.ScmSiteAlsoStopped = value; } + public global::System.Management.Automation.SwitchParameter ScmSiteAlsoStopped { get => _siteEnvelopeBody.ScmSiteAlsoStopped ?? default(global::System.Management.Automation.SwitchParameter); set => _siteEnvelopeBody.ScmSiteAlsoStopped = value; } /// /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". @@ -476,7 +479,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Resource ID of the associated App Service plan, formatted as: ""/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}"".", SerializedName = @"serverFarmId", PossibleTypes = new [] { typeof(string) })] - public string ServerFarmId { get => SiteEnvelopeBody.ServerFarmId ?? null; set => SiteEnvelopeBody.ServerFarmId = value; } + public string ServerFarmId { get => _siteEnvelopeBody.ServerFarmId ?? null; set => _siteEnvelopeBody.ServerFarmId = value; } /// Configuration of the app. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Configuration of the app.")] @@ -487,13 +490,7 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys Description = @"Configuration of the app.", SerializedName = @"siteConfig", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => SiteEnvelopeBody.SiteConfig ?? null /* object */; set => SiteEnvelopeBody.SiteConfig = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource _siteEnvelopeBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SitePatchResource(); - - /// ARM resource for a site. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource SiteEnvelopeBody { get => this._siteEnvelopeBody; set => this._siteEnvelopeBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig SiteConfig { get => _siteEnvelopeBody.SiteConfig ?? null /* object */; set => _siteEnvelopeBody.SiteConfig = value; } /// /// overrideOnAccepted will be called before the regular onAccepted has been processed, allowing customization of what @@ -536,6 +533,11 @@ public partial class UpdateAzFunctionApp_UpdateViaIdentityExpanded : global::Sys /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -547,7 +549,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -650,7 +652,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -667,7 +668,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsUpdateViaIdentity(InputObject.Id, SiteEnvelopeBody, onOk, onAccepted, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateViaIdentity(InputObject.Id, _siteEnvelopeBody, onOk, onAccepted, onDefault, this, Pipeline); } else { @@ -684,13 +685,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, SiteEnvelopeBody, onOk, onAccepted, onDefault, this, Pipeline); + await this.Client.WebAppsUpdate(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _siteEnvelopeBody, onOk, onAccepted, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteEnvelopeBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteEnvelopeBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -768,14 +769,14 @@ public UpdateAzFunctionApp_UpdateViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteEnvelopeBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteEnvelopeBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_Update.cs b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_Update.cs index e63515b5cd56..1b83365076db 100644 --- a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_Update.cs +++ b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_Update.cs @@ -67,11 +67,11 @@ public partial class UpdateAzUserAssignedIdentity_Update : global::System.Manage 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -185,6 +185,11 @@ public partial class UpdateAzUserAssignedIdentity_Update : global::System.Manage /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -196,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -299,7 +304,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateExpanded.cs index d64daa86cd8d..fc22c2ebe6ba 100644 --- a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateExpanded.cs @@ -34,6 +34,9 @@ public partial class UpdateAzUserAssignedIdentity_UpdateExpanded : global::Syste /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Describes an identity resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityUpdate(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -75,22 +78,16 @@ public partial class UpdateAzUserAssignedIdentity_UpdateExpanded : global::Syste Description = @"The geo-location where the resource lives", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ParametersBody.Location ?? null; set => ParametersBody.Location = value; } + public string Location { get => _parametersBody.Location ?? null; set => _parametersBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityUpdate(); - - /// Describes an identity resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } - /// /// The instance of the that the remote call will use. /// @@ -170,7 +167,7 @@ public partial class UpdateAzUserAssignedIdentity_UpdateExpanded : global::Syste Description = @"Resource tags", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -201,6 +198,11 @@ public partial class UpdateAzUserAssignedIdentity_UpdateExpanded : global::Syste /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +214,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +317,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -330,12 +331,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.UserAssignedIdentitiesUpdate(SubscriptionId, ResourceGroupName, ResourceName, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesUpdate(SubscriptionId, ResourceGroupName, ResourceName, _parametersBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ResourceName=ResourceName,body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,ResourceName=ResourceName,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -389,14 +390,14 @@ public UpdateAzUserAssignedIdentity_UpdateExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, ResourceName=ResourceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentity.cs b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentity.cs index c314b469b09e..9008984f08e2 100644 --- a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentity.cs @@ -75,11 +75,11 @@ public partial class UpdateAzUserAssignedIdentity_UpdateViaIdentity : global::Sy 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -145,6 +145,11 @@ public partial class UpdateAzUserAssignedIdentity_UpdateViaIdentity : global::Sy /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -156,7 +161,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -259,7 +264,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded.cs index 32c0d0f85c27..2c61fc146133 100644 --- a/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded.cs @@ -34,6 +34,9 @@ public partial class UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded : gl /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Describes an identity resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityUpdate(); + /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Runtime)] @@ -83,22 +86,16 @@ public partial class UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded : gl Description = @"The geo-location where the resource lives", SerializedName = @"location", PossibleTypes = new [] { typeof(string) })] - public string Location { get => ParametersBody.Location ?? null; set => ParametersBody.Location = value; } + public string Location { get => _parametersBody.Location ?? null; set => _parametersBody.Location = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate _parametersBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IdentityUpdate(); - - /// Describes an identity resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate ParametersBody { get => this._parametersBody; set => this._parametersBody = value; } - /// /// The instance of the that the remote call will use. /// @@ -130,7 +127,7 @@ public partial class UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded : gl Description = @"Resource tags", SerializedName = @"tags", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags Tag { get => ParametersBody.Tag ?? null /* object */; set => ParametersBody.Tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -161,6 +158,11 @@ public partial class UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded : gl /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -172,7 +174,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -275,7 +277,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -292,7 +293,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.UserAssignedIdentitiesUpdateViaIdentity(InputObject.Id, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesUpdateViaIdentity(InputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline); } else { @@ -309,13 +310,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.UserAssignedIdentitiesUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, ParametersBody, onOk, onDefault, this, Pipeline); + await this.Client.UserAssignedIdentitiesUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.ResourceName ?? null, _parametersBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -369,14 +370,14 @@ public UpdateAzUserAssignedIdentity_UpdateViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=ParametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_Update.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_Update.cs index b9e2b302f240..42ddc6f26dc5 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_Update.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfigurationSlot=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfigurationSlot_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfigurationSlot_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class UpdateAzWebAppConfigurationSlot_Update : global::System.Man 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -201,6 +201,11 @@ public partial class UpdateAzWebAppConfigurationSlot_Update : global::System.Man /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -212,7 +217,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -315,7 +320,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateExpanded.cs index a69f218523d3..3907546b9d94 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfigurationSlot=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfigurationSlot_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -370,7 +395,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -381,7 +406,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -392,7 +417,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -403,7 +428,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -414,7 +439,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -425,7 +450,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -436,7 +461,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -447,7 +472,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -458,7 +483,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -470,7 +495,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -481,7 +506,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -492,7 +517,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -504,7 +529,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -515,14 +540,14 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -535,7 +560,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// Backing field for property. private string _name; @@ -560,7 +585,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -571,7 +596,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -582,7 +607,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -593,7 +618,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -609,7 +634,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -622,7 +647,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -649,7 +674,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -660,7 +685,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -671,7 +696,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -684,7 +709,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -695,7 +720,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -706,7 +731,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -717,7 +742,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -728,7 +753,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -739,7 +764,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// Backing field for property. private string _resourceGroupName; @@ -765,7 +790,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -776,7 +801,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -788,13 +813,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Backing field for property. private string _slot; @@ -821,7 +840,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -832,7 +851,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -843,7 +862,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// Backing field for property. private string _subscriptionId; @@ -876,7 +895,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -891,7 +910,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -902,7 +921,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -913,7 +932,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -925,7 +944,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -936,7 +955,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -948,7 +967,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -959,7 +978,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -970,7 +989,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -981,7 +1000,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -992,7 +1011,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -1023,6 +1042,11 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateExpanded : global::Sy /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -1034,7 +1058,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1137,7 +1161,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1152,12 +1175,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsUpdateConfigurationSlot(ResourceGroupName, Name, Slot, SubscriptionId, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateConfigurationSlot(ResourceGroupName, Name, Slot, SubscriptionId, _siteConfigBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,Slot=Slot,SubscriptionId=SubscriptionId,body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1211,14 +1234,14 @@ public UpdateAzWebAppConfigurationSlot_UpdateExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, Slot=Slot, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentity.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentity.cs index cfa66e285919..beab948cfa73 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfigurationSlot=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfigurationSlot_UpdateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentity : global: 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -145,6 +145,11 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentity : global: /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -156,7 +161,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -259,7 +264,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded.cs index 7c53c2b79164..2ebb78a3fbfc 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfigurationSlot=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfigurationSlot_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -378,7 +403,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -389,7 +414,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -400,7 +425,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -411,7 +436,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -422,7 +447,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -433,7 +458,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -444,7 +469,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -455,7 +480,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -466,7 +491,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -478,7 +503,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -489,7 +514,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -500,7 +525,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -512,7 +537,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -523,14 +548,14 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -543,7 +568,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// .NET Framework version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = ".NET Framework version.")] @@ -554,7 +579,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -565,7 +590,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -576,7 +601,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -587,7 +612,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -603,7 +628,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -616,7 +641,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -643,7 +668,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -654,7 +679,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -665,7 +690,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -678,7 +703,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -689,7 +714,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -700,7 +725,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -711,7 +736,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -722,7 +747,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -733,7 +758,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// IP security restrictions for scm. [global::System.Management.Automation.AllowEmptyCollection] @@ -745,7 +770,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -756,7 +781,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -768,13 +793,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -785,7 +804,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -796,7 +815,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -807,7 +826,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// /// Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. @@ -820,7 +839,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -835,7 +854,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -846,7 +865,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -857,7 +876,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -869,7 +888,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -880,7 +899,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -892,7 +911,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -903,7 +922,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -914,7 +933,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -925,7 +944,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -936,7 +955,7 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -967,6 +986,11 @@ public partial class UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded : /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -978,7 +1002,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1081,7 +1105,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1098,7 +1121,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsUpdateConfigurationSlotViaIdentity(InputObject.Id, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateConfigurationSlotViaIdentity(InputObject.Id, _siteConfigBody, onOk, onDefault, this, Pipeline); } else { @@ -1119,13 +1142,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsUpdateConfigurationSlot(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.Slot ?? null, InputObject.SubscriptionId ?? null, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateConfigurationSlot(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.Slot ?? null, InputObject.SubscriptionId ?? null, _siteConfigBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1179,14 +1202,14 @@ public UpdateAzWebAppConfigurationSlot_UpdateViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_Update.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_Update.cs index 2a7239d3c5c9..6fcc6ae2cfb2 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_Update.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_Update.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfiguration=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfiguration_Update", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfiguration_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -67,11 +67,11 @@ public partial class UpdateAzWebAppConfiguration_Update : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. @@ -185,6 +185,11 @@ public partial class UpdateAzWebAppConfiguration_Update : global::System.Managem /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -196,7 +201,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -299,7 +304,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateExpanded.cs index ca3d9e1761bc..ff67d1fce0b6 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfiguration=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfiguration_UpdateExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Accessor for our copy of the InvocationInfo. public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } @@ -370,7 +395,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -381,7 +406,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -392,7 +417,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -403,7 +428,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -414,7 +439,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -425,7 +450,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -436,7 +461,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -447,7 +472,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -458,7 +483,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -470,7 +495,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -481,7 +506,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -492,7 +517,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -504,7 +529,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -515,14 +540,14 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -535,7 +560,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// Backing field for property. private string _name; @@ -560,7 +585,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -571,7 +596,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -582,7 +607,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -593,7 +618,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -609,7 +634,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -622,7 +647,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -649,7 +674,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -660,7 +685,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -671,7 +696,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -684,7 +709,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -695,7 +720,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -706,7 +731,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -717,7 +742,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -728,7 +753,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -739,7 +764,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// Backing field for property. private string _resourceGroupName; @@ -765,7 +790,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -776,7 +801,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -788,13 +813,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -805,7 +824,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -816,7 +835,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -827,7 +846,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// Backing field for property. private string _subscriptionId; @@ -860,7 +879,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -875,7 +894,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -886,7 +905,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -897,7 +916,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -909,7 +928,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -920,7 +939,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -932,7 +951,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -943,7 +962,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -954,7 +973,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -965,7 +984,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -976,7 +995,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -1007,6 +1026,11 @@ public partial class UpdateAzWebAppConfiguration_UpdateExpanded : global::System /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -1018,7 +1042,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1121,7 +1145,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1136,12 +1159,12 @@ protected override void ProcessRecord() try { await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } - await this.Client.WebAppsUpdateConfiguration(ResourceGroupName, Name, SubscriptionId, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateConfiguration(ResourceGroupName, Name, SubscriptionId, _siteConfigBody, onOk, onDefault, this, Pipeline); await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,Name=Name,SubscriptionId=SubscriptionId,body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1195,14 +1218,14 @@ public UpdateAzWebAppConfiguration_UpdateExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, Name=Name, SubscriptionId=SubscriptionId, body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentity.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentity.cs index 6643a283aae7..b75e50dfb419 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentity.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentity.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfiguration=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfiguration_UpdateViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfiguration_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -75,11 +75,11 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentity : 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.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// @@ -145,6 +145,11 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentity : global::Sys /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -156,7 +161,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -259,7 +264,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) diff --git a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded.cs b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded.cs index a6c6b41496ec..f830450a0655 100644 --- a/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded.cs +++ b/src/Functions/generated/cmdlets/UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded.cs @@ -8,14 +8,14 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.Functions.Cmdlets using static Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Extensions; using System; - /// Description for Updates the configuration of an app. + /// Updates the configuration of an app. /// /// [OpenAPI] UpdateConfiguration=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web" /// [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWebAppConfiguration_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource))] - [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Description for Updates the configuration of an app.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Description(@"Updates the configuration of an app.")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Generated] public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener @@ -34,6 +34,31 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Web app configuration ARM resource. + private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); + + /// Flag to use Managed Identity Creds for ACR pull + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Flag to use Managed Identity Creds for ACR pull")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Flag to use Managed Identity Creds for ACR pull", + SerializedName = @"acrUseManagedIdentityCreds", + PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] + public global::System.Management.Automation.SwitchParameter AcrUseManagedIdentityCred { get => _siteConfigBody.AcrUseManagedIdentityCred ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AcrUseManagedIdentityCred = value; } + + /// If using user managed identity, the user managed identity ClientId + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "If using user managed identity, the user managed identity ClientId")] + [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"If using user managed identity, the user managed identity ClientId", + SerializedName = @"acrUserManagedIdentityID", + PossibleTypes = new [] { typeof(string) })] + public string AcrUserManagedIdentityId { get => _siteConfigBody.AcrUserManagedIdentityId ?? null; set => _siteConfigBody.AcrUserManagedIdentityId = value; } + /// Minimum time the process must executebefore taking the action [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Minimum time the process must executebefore taking the action")] [global::Microsoft.Azure.PowerShell.Cmdlets.Functions.Category(global::Microsoft.Azure.PowerShell.Cmdlets.Functions.ParameterCategory.Body)] @@ -43,7 +68,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Minimum time the process must executebefore taking the action", SerializedName = @"minProcessExecutionTime", PossibleTypes = new [] { typeof(string) })] - public string ActionMinProcessExecutionTime { get => SiteConfigBody.ActionMinProcessExecutionTime ?? null; set => SiteConfigBody.ActionMinProcessExecutionTime = value; } + public string ActionMinProcessExecutionTime { get => _siteConfigBody.ActionMinProcessExecutionTime ?? null; set => _siteConfigBody.ActionMinProcessExecutionTime = value; } /// Predefined action to be taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Predefined action to be taken.")] @@ -55,7 +80,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo SerializedName = @"actionType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => SiteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => SiteConfigBody.ActionType = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType ActionType { get => _siteConfigBody.ActionType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType)""); set => _siteConfigBody.ActionType = value; } /// true if Always On is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Always On is enabled; otherwise, false.")] @@ -66,7 +91,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if Always On is enabled; otherwise, false.", SerializedName = @"alwaysOn", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AlwaysOn { get => SiteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AlwaysOn = value; } + public global::System.Management.Automation.SwitchParameter AlwaysOn { get => _siteConfigBody.AlwaysOn ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AlwaysOn = value; } /// The URL of the API definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The URL of the API definition.")] @@ -77,7 +102,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"The URL of the API definition.", SerializedName = @"url", PossibleTypes = new [] { typeof(string) })] - public string ApiDefinitionUrl { get => SiteConfigBody.ApiDefinitionUrl ?? null; set => SiteConfigBody.ApiDefinitionUrl = value; } + public string ApiDefinitionUrl { get => _siteConfigBody.ApiDefinitionUrl ?? null; set => _siteConfigBody.ApiDefinitionUrl = value; } /// APIM-Api Identifier. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "APIM-Api Identifier.")] @@ -88,7 +113,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"APIM-Api Identifier.", SerializedName = @"id", PossibleTypes = new [] { typeof(string) })] - public string ApiManagementConfigId { get => SiteConfigBody.ApiManagementConfigId ?? null; set => SiteConfigBody.ApiManagementConfigId = value; } + public string ApiManagementConfigId { get => _siteConfigBody.ApiManagementConfigId ?? null; set => _siteConfigBody.ApiManagementConfigId = value; } /// App command line to launch. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "App command line to launch.")] @@ -99,7 +124,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"App command line to launch.", SerializedName = @"appCommandLine", PossibleTypes = new [] { typeof(string) })] - public string AppCommandLine { get => SiteConfigBody.AppCommandLine ?? null; set => SiteConfigBody.AppCommandLine = value; } + public string AppCommandLine { get => _siteConfigBody.AppCommandLine ?? null; set => _siteConfigBody.AppCommandLine = value; } /// Application settings. [global::System.Management.Automation.AllowEmptyCollection] @@ -111,7 +136,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Application settings.", SerializedName = @"appSettings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => SiteConfigBody.AppSetting ?? null /* arrayOf */; set => SiteConfigBody.AppSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[] AppSetting { get => _siteConfigBody.AppSetting ?? null /* arrayOf */; set => _siteConfigBody.AppSetting = value; } /// true if Auto Heal is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if Auto Heal is enabled; otherwise, false.")] @@ -122,7 +147,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if Auto Heal is enabled; otherwise, false.", SerializedName = @"autoHealEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => SiteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.AutoHealEnabled = value; } + public global::System.Management.Automation.SwitchParameter AutoHealEnabled { get => _siteConfigBody.AutoHealEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.AutoHealEnabled = value; } /// Auto-swap slot name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Auto-swap slot name.")] @@ -133,7 +158,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Auto-swap slot name.", SerializedName = @"autoSwapSlotName", PossibleTypes = new [] { typeof(string) })] - public string AutoSwapSlotName { get => SiteConfigBody.AutoSwapSlotName ?? null; set => SiteConfigBody.AutoSwapSlotName = value; } + public string AutoSwapSlotName { get => _siteConfigBody.AutoSwapSlotName ?? null; set => _siteConfigBody.AutoSwapSlotName = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -153,7 +178,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Connection strings.", SerializedName = @"connectionStrings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => SiteConfigBody.ConnectionString ?? null /* arrayOf */; set => SiteConfigBody.ConnectionString = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[] ConnectionString { get => _siteConfigBody.ConnectionString ?? null /* arrayOf */; set => _siteConfigBody.ConnectionString = value; } /// /// Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). @@ -168,7 +193,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). Use ""*"" to allow all.", SerializedName = @"allowedOrigins", PossibleTypes = new [] { typeof(string) })] - public string[] CorAllowedOrigin { get => SiteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => SiteConfigBody.CorAllowedOrigin = value; } + public string[] CorAllowedOrigin { get => _siteConfigBody.CorAllowedOrigin ?? null /* arrayOf */; set => _siteConfigBody.CorAllowedOrigin = value; } /// /// Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor @@ -182,7 +207,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details.", SerializedName = @"supportCredentials", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => SiteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.CorSupportCredentials = value; } + public global::System.Management.Automation.SwitchParameter CorSupportCredentials { get => _siteConfigBody.CorSupportCredentials ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.CorSupportCredentials = value; } /// Executable to be run. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Executable to be run.")] @@ -193,7 +218,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Executable to be run.", SerializedName = @"exe", PossibleTypes = new [] { typeof(string) })] - public string CustomActionExe { get => SiteConfigBody.CustomActionExe ?? null; set => SiteConfigBody.CustomActionExe = value; } + public string CustomActionExe { get => _siteConfigBody.CustomActionExe ?? null; set => _siteConfigBody.CustomActionExe = value; } /// Parameters for the executable. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Parameters for the executable.")] @@ -204,7 +229,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Parameters for the executable.", SerializedName = @"parameters", PossibleTypes = new [] { typeof(string) })] - public string CustomActionParameter { get => SiteConfigBody.CustomActionParameter ?? null; set => SiteConfigBody.CustomActionParameter = value; } + public string CustomActionParameter { get => _siteConfigBody.CustomActionParameter ?? null; set => _siteConfigBody.CustomActionParameter = value; } /// Default documents. [global::System.Management.Automation.AllowEmptyCollection] @@ -216,7 +241,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Default documents.", SerializedName = @"defaultDocuments", PossibleTypes = new [] { typeof(string) })] - public string[] DefaultDocument { get => SiteConfigBody.DefaultDocument ?? null /* arrayOf */; set => SiteConfigBody.DefaultDocument = value; } + public string[] DefaultDocument { get => _siteConfigBody.DefaultDocument ?? null /* arrayOf */; set => _siteConfigBody.DefaultDocument = value; } /// /// The credentials, account, tenant, and subscription used for communication with Azure @@ -238,7 +263,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if detailed error logging is enabled; otherwise, false.", SerializedName = @"detailedErrorLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => SiteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.DetailedErrorLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter DetailedErrorLoggingEnabled { get => _siteConfigBody.DetailedErrorLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.DetailedErrorLoggingEnabled = value; } /// Document root. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Document root.")] @@ -249,7 +274,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Document root.", SerializedName = @"documentRoot", PossibleTypes = new [] { typeof(string) })] - public string DocumentRoot { get => SiteConfigBody.DocumentRoot ?? null; set => SiteConfigBody.DocumentRoot = value; } + public string DocumentRoot { get => _siteConfigBody.DocumentRoot ?? null; set => _siteConfigBody.DocumentRoot = value; } /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration @@ -263,7 +288,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", SerializedName = @"dynamicTagsJson", PossibleTypes = new [] { typeof(string) })] - public string DynamicTagsJson { get => SiteConfigBody.DynamicTagsJson ?? null; set => SiteConfigBody.DynamicTagsJson = value; } + public string DynamicTagsJson { get => _siteConfigBody.DynamicTagsJson ?? null; set => _siteConfigBody.DynamicTagsJson = value; } /// List of ramp-up rules. [global::System.Management.Automation.AllowEmptyCollection] @@ -275,7 +300,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"List of ramp-up rules.", SerializedName = @"rampUpRules", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => SiteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => SiteConfigBody.ExperimentRampUpRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[] ExperimentRampUpRule { get => _siteConfigBody.ExperimentRampUpRule ?? null /* arrayOf */; set => _siteConfigBody.ExperimentRampUpRule = value; } /// State of FTP / FTPS service [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "State of FTP / FTPS service")] @@ -287,7 +312,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo SerializedName = @"ftpsState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => SiteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => SiteConfigBody.FtpsState = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState FtpsState { get => _siteConfigBody.FtpsState ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState)""); set => _siteConfigBody.FtpsState = value; } /// Handler mappings. [global::System.Management.Automation.AllowEmptyCollection] @@ -299,7 +324,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Handler mappings.", SerializedName = @"handlerMappings", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => SiteConfigBody.HandlerMapping ?? null /* arrayOf */; set => SiteConfigBody.HandlerMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[] HandlerMapping { get => _siteConfigBody.HandlerMapping ?? null /* arrayOf */; set => _siteConfigBody.HandlerMapping = value; } /// Health check path [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Health check path")] @@ -310,7 +335,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Health check path", SerializedName = @"healthCheckPath", PossibleTypes = new [] { typeof(string) })] - public string HealthCheckPath { get => SiteConfigBody.HealthCheckPath ?? null; set => SiteConfigBody.HealthCheckPath = value; } + public string HealthCheckPath { get => _siteConfigBody.HealthCheckPath ?? null; set => _siteConfigBody.HealthCheckPath = value; } /// Http20Enabled: configures a web site to allow clients to connect over http2.0 [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Http20Enabled: configures a web site to allow clients to connect over http2.0")] @@ -321,7 +346,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Http20Enabled: configures a web site to allow clients to connect over http2.0", SerializedName = @"http20Enabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Http20Enabled { get => SiteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Http20Enabled = value; } + public global::System.Management.Automation.SwitchParameter Http20Enabled { get => _siteConfigBody.Http20Enabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Http20Enabled = value; } /// true if HTTP logging is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if HTTP logging is enabled; otherwise, false.")] @@ -332,7 +357,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if HTTP logging is enabled; otherwise, false.", SerializedName = @"httpLoggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => SiteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.HttpLoggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter HttpLoggingEnabled { get => _siteConfigBody.HttpLoggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.HttpLoggingEnabled = value; } /// SendAsync Pipeline Steps to be appended to the front of the pipeline [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] @@ -356,7 +381,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"IP security restrictions for main.", SerializedName = @"ipSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => SiteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.IPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] IPSecurityRestriction { get => _siteConfigBody.IPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.IPSecurityRestriction = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity _inputObject; @@ -378,7 +403,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Gets or sets a flag indicating whether the Push endpoint is enabled.", SerializedName = @"isPushEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => SiteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.IsPushEnabled = value; } + public global::System.Management.Automation.SwitchParameter IsPushEnabled { get => _siteConfigBody.IsPushEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.IsPushEnabled = value; } /// Java container. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container.")] @@ -389,7 +414,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Java container.", SerializedName = @"javaContainer", PossibleTypes = new [] { typeof(string) })] - public string JavaContainer { get => SiteConfigBody.JavaContainer ?? null; set => SiteConfigBody.JavaContainer = value; } + public string JavaContainer { get => _siteConfigBody.JavaContainer ?? null; set => _siteConfigBody.JavaContainer = value; } /// Java container version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java container version.")] @@ -400,7 +425,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Java container version.", SerializedName = @"javaContainerVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaContainerVersion { get => SiteConfigBody.JavaContainerVersion ?? null; set => SiteConfigBody.JavaContainerVersion = value; } + public string JavaContainerVersion { get => _siteConfigBody.JavaContainerVersion ?? null; set => _siteConfigBody.JavaContainerVersion = value; } /// Java version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Java version.")] @@ -411,7 +436,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Java version.", SerializedName = @"javaVersion", PossibleTypes = new [] { typeof(string) })] - public string JavaVersion { get => SiteConfigBody.JavaVersion ?? null; set => SiteConfigBody.JavaVersion = value; } + public string JavaVersion { get => _siteConfigBody.JavaVersion ?? null; set => _siteConfigBody.JavaVersion = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -422,7 +447,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string Kind { get => SiteConfigBody.Kind ?? null; set => SiteConfigBody.Kind = value; } + public string Kind { get => _siteConfigBody.Kind ?? null; set => _siteConfigBody.Kind = value; } /// Maximum allowed disk size usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed disk size usage in MB.")] @@ -433,7 +458,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Maximum allowed disk size usage in MB.", SerializedName = @"maxDiskSizeInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxDiskSizeInMb { get => SiteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => SiteConfigBody.LimitMaxDiskSizeInMb = value; } + public long LimitMaxDiskSizeInMb { get => _siteConfigBody.LimitMaxDiskSizeInMb ?? default(long); set => _siteConfigBody.LimitMaxDiskSizeInMb = value; } /// Maximum allowed memory usage in MB. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed memory usage in MB.")] @@ -444,7 +469,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Maximum allowed memory usage in MB.", SerializedName = @"maxMemoryInMb", PossibleTypes = new [] { typeof(long) })] - public long LimitMaxMemoryInMb { get => SiteConfigBody.LimitMaxMemoryInMb ?? default(long); set => SiteConfigBody.LimitMaxMemoryInMb = value; } + public long LimitMaxMemoryInMb { get => _siteConfigBody.LimitMaxMemoryInMb ?? default(long); set => _siteConfigBody.LimitMaxMemoryInMb = value; } /// Maximum allowed CPU usage percentage. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Maximum allowed CPU usage percentage.")] @@ -455,7 +480,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Maximum allowed CPU usage percentage.", SerializedName = @"maxPercentageCpu", PossibleTypes = new [] { typeof(double) })] - public double LimitMaxPercentageCpu { get => SiteConfigBody.LimitMaxPercentageCpu ?? default(double); set => SiteConfigBody.LimitMaxPercentageCpu = value; } + public double LimitMaxPercentageCpu { get => _siteConfigBody.LimitMaxPercentageCpu ?? default(double); set => _siteConfigBody.LimitMaxPercentageCpu = value; } /// Linux App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Linux App Framework and version")] @@ -466,7 +491,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Linux App Framework and version", SerializedName = @"linuxFxVersion", PossibleTypes = new [] { typeof(string) })] - public string LinuxFxVersion { get => SiteConfigBody.LinuxFxVersion ?? null; set => SiteConfigBody.LinuxFxVersion = value; } + public string LinuxFxVersion { get => _siteConfigBody.LinuxFxVersion ?? null; set => _siteConfigBody.LinuxFxVersion = value; } /// Site load balancing. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Site load balancing.")] @@ -478,7 +503,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo SerializedName = @"loadBalancing", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => SiteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => SiteConfigBody.LoadBalancing = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing LoadBalancing { get => _siteConfigBody.LoadBalancing ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing)""); set => _siteConfigBody.LoadBalancing = value; } /// true to enable local MySQL; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to enable local MySQL; otherwise, false.")] @@ -489,7 +514,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true to enable local MySQL; otherwise, false.", SerializedName = @"localMySqlEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => SiteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.LocalMySqlEnabled = value; } + public global::System.Management.Automation.SwitchParameter LocalMySqlEnabled { get => _siteConfigBody.LocalMySqlEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.LocalMySqlEnabled = value; } /// HTTP logs directory size limit. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "HTTP logs directory size limit.")] @@ -500,7 +525,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"HTTP logs directory size limit.", SerializedName = @"logsDirectorySizeLimit", PossibleTypes = new [] { typeof(int) })] - public int LogsDirectorySizeLimit { get => SiteConfigBody.LogsDirectorySizeLimit ?? default(int); set => SiteConfigBody.LogsDirectorySizeLimit = value; } + public int LogsDirectorySizeLimit { get => _siteConfigBody.LogsDirectorySizeLimit ?? default(int); set => _siteConfigBody.LogsDirectorySizeLimit = value; } /// Managed pipeline mode. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed pipeline mode.")] @@ -512,7 +537,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo SerializedName = @"managedPipelineMode", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => SiteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => SiteConfigBody.ManagedPipelineMode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode ManagedPipelineMode { get => _siteConfigBody.ManagedPipelineMode ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode)""); set => _siteConfigBody.ManagedPipelineMode = value; } /// Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Managed Service Identity Id")] @@ -523,14 +548,14 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Managed Service Identity Id", SerializedName = @"managedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int ManagedServiceIdentityId { get => SiteConfigBody.ManagedServiceIdentityId ?? default(int); set => SiteConfigBody.ManagedServiceIdentityId = value; } + public int ManagedServiceIdentityId { get => _siteConfigBody.ManagedServiceIdentityId ?? default(int); set => _siteConfigBody.ManagedServiceIdentityId = value; } /// - /// cancellation delegate. Stops the cmdlet when called. + /// cancellation delegate. Stops the cmdlet when called. /// global::System.Action Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; - /// cancellation token. + /// cancellation token. global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// MinTlsVersion: configures the minimum version of TLS required for SSL requests @@ -543,7 +568,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo SerializedName = @"minTlsVersion", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => SiteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => SiteConfigBody.MinTlsVersion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions MinTlsVersion { get => _siteConfigBody.MinTlsVersion ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions)""); set => _siteConfigBody.MinTlsVersion = value; } /// .NET Framework version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = ".NET Framework version.")] @@ -554,7 +579,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @".NET Framework version.", SerializedName = @"netFrameworkVersion", PossibleTypes = new [] { typeof(string) })] - public string NetFrameworkVersion { get => SiteConfigBody.NetFrameworkVersion ?? null; set => SiteConfigBody.NetFrameworkVersion = value; } + public string NetFrameworkVersion { get => _siteConfigBody.NetFrameworkVersion ?? null; set => _siteConfigBody.NetFrameworkVersion = value; } /// Version of Node.js. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Node.js.")] @@ -565,7 +590,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Version of Node.js.", SerializedName = @"nodeVersion", PossibleTypes = new [] { typeof(string) })] - public string NodeVersion { get => SiteConfigBody.NodeVersion ?? null; set => SiteConfigBody.NodeVersion = value; } + public string NodeVersion { get => _siteConfigBody.NodeVersion ?? null; set => _siteConfigBody.NodeVersion = value; } /// Number of workers. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Number of workers.")] @@ -576,7 +601,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Number of workers.", SerializedName = @"numberOfWorkers", PossibleTypes = new [] { typeof(int) })] - public int NumberOfWorker { get => SiteConfigBody.NumberOfWorker ?? default(int); set => SiteConfigBody.NumberOfWorker = value; } + public int NumberOfWorker { get => _siteConfigBody.NumberOfWorker ?? default(int); set => _siteConfigBody.NumberOfWorker = value; } /// Version of PHP. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of PHP.")] @@ -587,7 +612,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Version of PHP.", SerializedName = @"phpVersion", PossibleTypes = new [] { typeof(string) })] - public string PhpVersion { get => SiteConfigBody.PhpVersion ?? null; set => SiteConfigBody.PhpVersion = value; } + public string PhpVersion { get => _siteConfigBody.PhpVersion ?? null; set => _siteConfigBody.PhpVersion = value; } /// /// The instance of the that the remote call will use. @@ -603,7 +628,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Version of PowerShell.", SerializedName = @"powerShellVersion", PossibleTypes = new [] { typeof(string) })] - public string PowerShellVersion { get => SiteConfigBody.PowerShellVersion ?? null; set => SiteConfigBody.PowerShellVersion = value; } + public string PowerShellVersion { get => _siteConfigBody.PowerShellVersion ?? null; set => _siteConfigBody.PowerShellVersion = value; } /// /// Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans @@ -616,7 +641,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans", SerializedName = @"preWarmedInstanceCount", PossibleTypes = new [] { typeof(int) })] - public int PreWarmedInstanceCount { get => SiteConfigBody.PreWarmedInstanceCount ?? default(int); set => SiteConfigBody.PreWarmedInstanceCount = value; } + public int PreWarmedInstanceCount { get => _siteConfigBody.PreWarmedInstanceCount ?? default(int); set => _siteConfigBody.PreWarmedInstanceCount = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -643,7 +668,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Publishing user name.", SerializedName = @"publishingUsername", PossibleTypes = new [] { typeof(string) })] - public string PublishingUsername { get => SiteConfigBody.PublishingUsername ?? null; set => SiteConfigBody.PublishingUsername = value; } + public string PublishingUsername { get => _siteConfigBody.PublishingUsername ?? null; set => _siteConfigBody.PublishingUsername = value; } /// Kind of resource. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Kind of resource.")] @@ -654,7 +679,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Kind of resource.", SerializedName = @"kind", PossibleTypes = new [] { typeof(string) })] - public string PushKind { get => SiteConfigBody.PushKind ?? null; set => SiteConfigBody.PushKind = value; } + public string PushKind { get => _siteConfigBody.PushKind ?? null; set => _siteConfigBody.PushKind = value; } /// Version of Python. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Version of Python.")] @@ -665,7 +690,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Version of Python.", SerializedName = @"pythonVersion", PossibleTypes = new [] { typeof(string) })] - public string PythonVersion { get => SiteConfigBody.PythonVersion ?? null; set => SiteConfigBody.PythonVersion = value; } + public string PythonVersion { get => _siteConfigBody.PythonVersion ?? null; set => _siteConfigBody.PythonVersion = value; } /// /// true if remote debugging is enabled; otherwise, false. @@ -678,7 +703,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if remote debugging is enabled; otherwise, false.", SerializedName = @"remoteDebuggingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => SiteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RemoteDebuggingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RemoteDebuggingEnabled { get => _siteConfigBody.RemoteDebuggingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RemoteDebuggingEnabled = value; } /// Remote debugging version. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Remote debugging version.")] @@ -689,7 +714,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Remote debugging version.", SerializedName = @"remoteDebuggingVersion", PossibleTypes = new [] { typeof(string) })] - public string RemoteDebuggingVersion { get => SiteConfigBody.RemoteDebuggingVersion ?? null; set => SiteConfigBody.RemoteDebuggingVersion = value; } + public string RemoteDebuggingVersion { get => _siteConfigBody.RemoteDebuggingVersion ?? null; set => _siteConfigBody.RemoteDebuggingVersion = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -700,7 +725,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int RequestCount { get => SiteConfigBody.RequestCount ?? default(int); set => SiteConfigBody.RequestCount = value; } + public int RequestCount { get => _siteConfigBody.RequestCount ?? default(int); set => _siteConfigBody.RequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -711,7 +736,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string RequestTimeInterval { get => SiteConfigBody.RequestTimeInterval ?? null; set => SiteConfigBody.RequestTimeInterval = value; } + public string RequestTimeInterval { get => _siteConfigBody.RequestTimeInterval ?? null; set => _siteConfigBody.RequestTimeInterval = value; } /// true if request tracing is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if request tracing is enabled; otherwise, false.")] @@ -722,7 +747,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if request tracing is enabled; otherwise, false.", SerializedName = @"requestTracingEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => SiteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.RequestTracingEnabled = value; } + public global::System.Management.Automation.SwitchParameter RequestTracingEnabled { get => _siteConfigBody.RequestTracingEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.RequestTracingEnabled = value; } /// Request tracing expiration time. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request tracing expiration time.")] @@ -733,7 +758,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Request tracing expiration time.", SerializedName = @"requestTracingExpirationTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] - public global::System.DateTime RequestTracingExpirationTime { get => SiteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => SiteConfigBody.RequestTracingExpirationTime = value; } + public global::System.DateTime RequestTracingExpirationTime { get => _siteConfigBody.RequestTracingExpirationTime ?? default(global::System.DateTime); set => _siteConfigBody.RequestTracingExpirationTime = value; } /// IP security restrictions for scm. [global::System.Management.Automation.AllowEmptyCollection] @@ -745,7 +770,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"IP security restrictions for scm.", SerializedName = @"scmIpSecurityRestrictions", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => SiteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => SiteConfigBody.ScmIPSecurityRestriction = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[] ScmIPSecurityRestriction { get => _siteConfigBody.ScmIPSecurityRestriction ?? null /* arrayOf */; set => _siteConfigBody.ScmIPSecurityRestriction = value; } /// IP security restrictions for scm to use main. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "IP security restrictions for scm to use main.")] @@ -756,7 +781,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"IP security restrictions for scm to use main.", SerializedName = @"scmIpSecurityRestrictionsUseMain", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => SiteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } + public global::System.Management.Automation.SwitchParameter ScmIPSecurityRestrictionsUseMain { get => _siteConfigBody.ScmIPSecurityRestrictionsUseMain ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.ScmIPSecurityRestrictionsUseMain = value; } /// SCM type. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "SCM type.")] @@ -768,13 +793,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo SerializedName = @"scmType", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType) })] [global::System.Management.Automation.ArgumentCompleter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType))] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => SiteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => SiteConfigBody.ScmType = value; } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource _siteConfigBody= new Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SiteConfigResource(); - - /// Web app configuration ARM resource. - private Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource SiteConfigBody { get => this._siteConfigBody; set => this._siteConfigBody = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType ScmType { get => _siteConfigBody.ScmType ?? ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType)""); set => _siteConfigBody.ScmType = value; } /// Request Count. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Request Count.")] @@ -785,7 +804,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Request Count.", SerializedName = @"count", PossibleTypes = new [] { typeof(int) })] - public int SlowRequestCount { get => SiteConfigBody.SlowRequestCount ?? default(int); set => SiteConfigBody.SlowRequestCount = value; } + public int SlowRequestCount { get => _siteConfigBody.SlowRequestCount ?? default(int); set => _siteConfigBody.SlowRequestCount = value; } /// Time interval. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time interval.")] @@ -796,7 +815,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Time interval.", SerializedName = @"timeInterval", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeInterval { get => SiteConfigBody.SlowRequestTimeInterval ?? null; set => SiteConfigBody.SlowRequestTimeInterval = value; } + public string SlowRequestTimeInterval { get => _siteConfigBody.SlowRequestTimeInterval ?? null; set => _siteConfigBody.SlowRequestTimeInterval = value; } /// Time taken. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Time taken.")] @@ -807,7 +826,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Time taken.", SerializedName = @"timeTaken", PossibleTypes = new [] { typeof(string) })] - public string SlowRequestTimeTaken { get => SiteConfigBody.SlowRequestTimeTaken ?? null; set => SiteConfigBody.SlowRequestTimeTaken = value; } + public string SlowRequestTimeTaken { get => _siteConfigBody.SlowRequestTimeTaken ?? null; set => _siteConfigBody.SlowRequestTimeTaken = value; } /// /// Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. @@ -820,7 +839,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", SerializedName = @"tagWhitelistJson", PossibleTypes = new [] { typeof(string) })] - public string TagWhitelistJson { get => SiteConfigBody.TagWhitelistJson ?? null; set => SiteConfigBody.TagWhitelistJson = value; } + public string TagWhitelistJson { get => _siteConfigBody.TagWhitelistJson ?? null; set => _siteConfigBody.TagWhitelistJson = value; } /// /// Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration @@ -835,7 +854,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler.", SerializedName = @"tagsRequiringAuth", PossibleTypes = new [] { typeof(string) })] - public string TagsRequiringAuth { get => SiteConfigBody.TagsRequiringAuth ?? null; set => SiteConfigBody.TagsRequiringAuth = value; } + public string TagsRequiringAuth { get => _siteConfigBody.TagsRequiringAuth ?? null; set => _siteConfigBody.TagsRequiringAuth = value; } /// Tracing options. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Tracing options.")] @@ -846,7 +865,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Tracing options.", SerializedName = @"tracingOptions", PossibleTypes = new [] { typeof(string) })] - public string TracingOption { get => SiteConfigBody.TracingOption ?? null; set => SiteConfigBody.TracingOption = value; } + public string TracingOption { get => _siteConfigBody.TracingOption ?? null; set => _siteConfigBody.TracingOption = value; } /// A rule based on private bytes. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "A rule based on private bytes.")] @@ -857,7 +876,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"A rule based on private bytes.", SerializedName = @"privateBytesInKB", PossibleTypes = new [] { typeof(int) })] - public int TriggerPrivateBytesInKb { get => SiteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => SiteConfigBody.TriggerPrivateBytesInKb = value; } + public int TriggerPrivateBytesInKb { get => _siteConfigBody.TriggerPrivateBytesInKb ?? default(int); set => _siteConfigBody.TriggerPrivateBytesInKb = value; } /// A rule based on status codes. [global::System.Management.Automation.AllowEmptyCollection] @@ -869,7 +888,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"A rule based on status codes.", SerializedName = @"statusCodes", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => SiteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => SiteConfigBody.TriggerStatusCode = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[] TriggerStatusCode { get => _siteConfigBody.TriggerStatusCode ?? null /* arrayOf */; set => _siteConfigBody.TriggerStatusCode = value; } /// true to use 32-bit worker process; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true to use 32-bit worker process; otherwise, false.")] @@ -880,7 +899,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true to use 32-bit worker process; otherwise, false.", SerializedName = @"use32BitWorkerProcess", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => SiteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.Use32BitWorkerProcess = value; } + public global::System.Management.Automation.SwitchParameter Use32BitWorkerProcess { get => _siteConfigBody.Use32BitWorkerProcess ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.Use32BitWorkerProcess = value; } /// Virtual applications. [global::System.Management.Automation.AllowEmptyCollection] @@ -892,7 +911,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Virtual applications.", SerializedName = @"virtualApplications", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication) })] - public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => SiteConfigBody.VirtualApplication ?? null /* arrayOf */; set => SiteConfigBody.VirtualApplication = value; } + public Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[] VirtualApplication { get => _siteConfigBody.VirtualApplication ?? null /* arrayOf */; set => _siteConfigBody.VirtualApplication = value; } /// Virtual Network name. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Virtual Network name.")] @@ -903,7 +922,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Virtual Network name.", SerializedName = @"vnetName", PossibleTypes = new [] { typeof(string) })] - public string VnetName { get => SiteConfigBody.VnetName ?? null; set => SiteConfigBody.VnetName = value; } + public string VnetName { get => _siteConfigBody.VnetName ?? null; set => _siteConfigBody.VnetName = value; } /// true if WebSocket is enabled; otherwise, false. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "true if WebSocket is enabled; otherwise, false.")] @@ -914,7 +933,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"true if WebSocket is enabled; otherwise, false.", SerializedName = @"webSocketsEnabled", PossibleTypes = new [] { typeof(global::System.Management.Automation.SwitchParameter) })] - public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => SiteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => SiteConfigBody.WebSocketsEnabled = value; } + public global::System.Management.Automation.SwitchParameter WebSocketsEnabled { get => _siteConfigBody.WebSocketsEnabled ?? default(global::System.Management.Automation.SwitchParameter); set => _siteConfigBody.WebSocketsEnabled = value; } /// Xenon App Framework and version [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Xenon App Framework and version")] @@ -925,7 +944,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Xenon App Framework and version", SerializedName = @"windowsFxVersion", PossibleTypes = new [] { typeof(string) })] - public string WindowsFxVersion { get => SiteConfigBody.WindowsFxVersion ?? null; set => SiteConfigBody.WindowsFxVersion = value; } + public string WindowsFxVersion { get => _siteConfigBody.WindowsFxVersion ?? null; set => _siteConfigBody.WindowsFxVersion = value; } /// Explicit Managed Service Identity Id [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Explicit Managed Service Identity Id")] @@ -936,7 +955,7 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo Description = @"Explicit Managed Service Identity Id", SerializedName = @"xManagedServiceIdentityId", PossibleTypes = new [] { typeof(int) })] - public int XManagedServiceIdentityId { get => SiteConfigBody.XManagedServiceIdentityId ?? default(int); set => SiteConfigBody.XManagedServiceIdentityId = value; } + public int XManagedServiceIdentityId { get => _siteConfigBody.XManagedServiceIdentityId ?? default(int); set => _siteConfigBody.XManagedServiceIdentityId = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -967,6 +986,11 @@ public partial class UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded : glo /// protected override void BeginProcessing() { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); if (Break) { @@ -978,7 +1002,7 @@ protected override void BeginProcessing() /// Performs clean-up after the command execution protected override void EndProcessing() { - ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletEndProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } /// Handles/Dispatches events during the call to the REST service. @@ -1081,7 +1105,6 @@ protected override void ProcessRecord() { using( NoSynchronizationContext ) { - await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletProcessRecordAsyncStart); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } Pipeline = Microsoft.Azure.PowerShell.Cmdlets.Functions.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); if (null != HttpPipelinePrepend) @@ -1098,7 +1121,7 @@ protected override void ProcessRecord() await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } if (InputObject?.Id != null) { - await this.Client.WebAppsUpdateConfigurationViaIdentity(InputObject.Id, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateConfigurationViaIdentity(InputObject.Id, _siteConfigBody, onOk, onDefault, this, Pipeline); } else { @@ -1115,13 +1138,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.WebAppsUpdateConfiguration(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, SiteConfigBody, onOk, onDefault, this, Pipeline); + await this.Client.WebAppsUpdateConfiguration(InputObject.ResourceGroupName ?? null, InputObject.Name ?? null, InputObject.SubscriptionId ?? null, _siteConfigBody, onOk, onDefault, this, Pipeline); } await ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } } catch (Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.UndeclaredResponseException urexception) { - WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -1175,14 +1198,14 @@ public UpdateAzWebAppConfiguration_UpdateViaIdentityExpanded() { // Unrecognized Response. Create an error record based on what we have. var ex = new Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.RestException(responseMessage, await response); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } }); } else { - WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=SiteConfigBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_siteConfigBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/Functions/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/Functions/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 123d08d2ea7e..9375c610a544 100644 --- a/src/Functions/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/Functions/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.Functions.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.Runspace.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.Functions.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.Functions.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); diff --git a/src/Functions/help/Az.Functions.md b/src/Functions/help/Az.Functions.md index c2b7e8141d4e..afab8483fbd0 100644 --- a/src/Functions/help/Az.Functions.md +++ b/src/Functions/help/Az.Functions.md @@ -23,27 +23,6 @@ Get function apps plans in a subscription. ### [Get-AzFunctionAppSetting](Get-AzFunctionAppSetting.md) Gets app settings for a function app. -### [Get-AzSystemAssignedIdentity](Get-AzSystemAssignedIdentity.md) -Gets the systemAssignedIdentity available under the specified RP scope. - -### [Get-AzWebAppFunctionKey](Get-AzWebAppFunctionKey.md) -Description for Get function keys for a function in a web site, or a deployment slot. - -### [Get-AzWebAppFunctionKeySlot](Get-AzWebAppFunctionKeySlot.md) -Description for Get function keys for a function in a web site, or a deployment slot. - -### [Get-AzWebAppSettingKeyVaultReference](Get-AzWebAppSettingKeyVaultReference.md) -Description for Gets the config reference app settings and status of an app - -### [Get-AzWebAppSyncStatus](Get-AzWebAppSyncStatus.md) -Description for This is to allow calling via powershell and ARM template. - -### [Get-AzWebAppSyncStatusSlot](Get-AzWebAppSyncStatusSlot.md) -Description for This is to allow calling via powershell and ARM template. - -### [Move-Az](Move-Az.md) -Description for Move resources between resource groups. - ### [New-AzFunctionApp](New-AzFunctionApp.md) Creates a function app. @@ -68,12 +47,6 @@ Starts a function app. ### [Stop-AzFunctionApp](Stop-AzFunctionApp.md) Stops a function app. -### [Sync-AzWebAppFunctionSlot](Sync-AzWebAppFunctionSlot.md) -Description for Syncs function trigger metadata to the management database - -### [Test-Az](Test-Az.md) -Description for Validate if a resource can be created. - ### [Update-AzFunctionApp](Update-AzFunctionApp.md) Updates a function app. diff --git a/src/Functions/help/Get-AzFunctionAppSetting.md b/src/Functions/help/Get-AzFunctionAppSetting.md index 740010e9c21c..980575897a94 100644 --- a/src/Functions/help/Get-AzFunctionAppSetting.md +++ b/src/Functions/help/Get-AzFunctionAppSetting.md @@ -185,6 +185,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Get-AzWebAppFunctionKey.md b/src/Functions/help/Get-AzWebAppFunctionKey.md deleted file mode 100644 index 62d6a5a645d4..000000000000 --- a/src/Functions/help/Get-AzWebAppFunctionKey.md +++ /dev/null @@ -1,171 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/get-azwebappfunctionkey -schema: 2.0.0 ---- - -# Get-AzWebAppFunctionKey - -## SYNOPSIS -Description for Get function keys for a function in a web site, or a deployment slot. - -## SYNTAX - -``` -Get-AzWebAppFunctionKey -FunctionName -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Description for Get function keys for a function in a web site, or a deployment slot. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FunctionName -Function name. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -Site name. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -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 - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/Functions/help/Get-AzWebAppFunctionKeySlot.md b/src/Functions/help/Get-AzWebAppFunctionKeySlot.md deleted file mode 100644 index 88b1cff43a0a..000000000000 --- a/src/Functions/help/Get-AzWebAppFunctionKeySlot.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/get-azwebappfunctionkeyslot -schema: 2.0.0 ---- - -# Get-AzWebAppFunctionKeySlot - -## SYNOPSIS -Description for Get function keys for a function in a web site, or a deployment slot. - -## SYNTAX - -``` -Get-AzWebAppFunctionKeySlot -FunctionName -Name -ResourceGroupName -Slot - [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Description for Get function keys for a function in a web site, or a deployment slot. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -FunctionName -Function name. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -Site name. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Slot -Name of the deployment slot. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -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 - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary - -## NOTES - -ALIASES - -## RELATED LINKS - diff --git a/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md b/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md deleted file mode 100644 index 2398778b955d..000000000000 --- a/src/Functions/help/Get-AzWebAppSettingKeyVaultReference.md +++ /dev/null @@ -1,242 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsettingkeyvaultreference -schema: 2.0.0 ---- - -# Get-AzWebAppSettingKeyVaultReference - -## SYNOPSIS -Description for Gets the config reference app settings and status of an app - -## SYNTAX - -### Get (Default) -``` -Get-AzWebAppSettingKeyVaultReference -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] -``` - -### Get1 -``` -Get-AzWebAppSettingKeyVaultReference -AppSettingKey -Name -ResourceGroupName - [-SubscriptionId ] [-DefaultProfile ] [] -``` - -### GetViaIdentity -``` -Get-AzWebAppSettingKeyVaultReference -InputObject [-DefaultProfile ] - [] -``` - -### GetViaIdentity1 -``` -Get-AzWebAppSettingKeyVaultReference -InputObject [-DefaultProfile ] - [] -``` - -## DESCRIPTION -Description for Gets the config reference app settings and status of an app - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -AppSettingKey -App Setting key name. - -```yaml -Type: System.String -Parameter Sets: Get1 -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity -Parameter Sets: GetViaIdentity, GetViaIdentity1 -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -Name of the app. - -```yaml -Type: System.String -Parameter Sets: Get, Get1 -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: Get, Get1 -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String[] -Parameter Sets: Get, Get1 -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -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 - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceCollection - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IKeyVaultReferenceResource - -## NOTES - -ALIASES - -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 - - `[AccountName ]`: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - `[AnalysisName ]`: Analysis Name - - `[AppSettingKey ]`: App Setting key name. - - `[Authprovider ]`: The auth provider for the users. - - `[BackupId ]`: ID of the backup. - - `[BaseAddress ]`: Module base address. - - `[BlobServicesName ]`: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' - - `[CertificateOrderName ]`: Name of the certificate order.. - - `[ContainerName ]`: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. - - `[DeletedSiteId ]`: The numeric ID of the deleted app, e.g. 12345 - - `[DetectorName ]`: Detector Resource Name - - `[DiagnosticCategory ]`: Diagnostic Category - - `[DiagnosticsName ]`: Name of the diagnostics item. - - `[DomainName ]`: Name of the domain. - - `[DomainOwnershipIdentifierName ]`: Name of domain ownership identifier. - - `[EntityName ]`: Name of the hybrid connection. - - `[FunctionName ]`: Function name. - - `[GatewayName ]`: Name of the gateway. Currently, the only supported string is "primary". - - `[HostName ]`: Hostname in the hostname binding. - - `[HostingEnvironmentName ]`: Name of the hosting environment. - - `[Id ]`: Deployment ID. - - `[Id1 ]`: Resource identity path - - `[ImmutabilityPolicyName ]`: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' - - `[Instance ]`: Name of the instance in the multi-role pool. - - `[InstanceId ]`: - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[KeyName ]`: The name of the key. - - `[KeyType ]`: The type of host key. - - `[Location ]`: - - `[ManagementPolicyName ]`: The name of the Storage Account Management Policy. It should always be 'default' - - `[Name ]`: Name of the certificate. - - `[NamespaceName ]`: The namespace for this hybrid connection. - - `[OperationId ]`: GUID of the operation. - - `[PrId ]`: The stage site identifier. - - `[PremierAddOnName ]`: Add-on name. - - `[PrivateEndpointConnectionName ]`: - - `[ProcessId ]`: PID. - - `[PublicCertificateName ]`: Public certificate name. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[RelayName ]`: The relay name for this hybrid connection. - - `[ResourceGroupName ]`: Name of the resource group to which the resource belongs. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[RouteName ]`: Name of the Virtual Network route. - - `[Scope ]`: The resource provider scope of the resource. Parent resource being extended by Managed Identities. - - `[SiteExtensionId ]`: Site extension name. - - `[SiteName ]`: Site Name - - `[Slot ]`: Slot Name - - `[SnapshotId ]`: The ID of the snapshot to read. - - `[SourceControlType ]`: Type of source control - - `[SubscriptionId ]`: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - - `[Userid ]`: The user id of the user. - - `[View ]`: The type of view. This can either be "summary" or "detailed". - - `[VnetName ]`: Name of the virtual network. - - `[WebJobName ]`: Name of Web Job. - - `[WorkerName ]`: Name of worker machine, which typically starts with RD. - - `[WorkerPoolName ]`: Name of the worker pool. - -## RELATED LINKS - diff --git a/src/Functions/help/Get-AzWebAppSyncStatus.md b/src/Functions/help/Get-AzWebAppSyncStatus.md deleted file mode 100644 index dd17fe00154a..000000000000 --- a/src/Functions/help/Get-AzWebAppSyncStatus.md +++ /dev/null @@ -1,171 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsyncstatus -schema: 2.0.0 ---- - -# Get-AzWebAppSyncStatus - -## SYNOPSIS -Description for This is to allow calling via powershell and ARM template. - -## SYNTAX - -``` -Get-AzWebAppSyncStatus -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Description for This is to allow calling via powershell and ARM template. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -Name of the app. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```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 -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -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 - -## RELATED LINKS - diff --git a/src/Functions/help/Get-AzWebAppSyncStatusSlot.md b/src/Functions/help/Get-AzWebAppSyncStatusSlot.md deleted file mode 100644 index 67df3989f7ea..000000000000 --- a/src/Functions/help/Get-AzWebAppSyncStatusSlot.md +++ /dev/null @@ -1,187 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/get-azwebappsyncstatusslot -schema: 2.0.0 ---- - -# Get-AzWebAppSyncStatusSlot - -## SYNOPSIS -Description for This is to allow calling via powershell and ARM template. - -## SYNTAX - -``` -Get-AzWebAppSyncStatusSlot -Name -ResourceGroupName -Slot - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Description for This is to allow calling via powershell and ARM template. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -Name of the app. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```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 -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Slot -Name of the deployment slot. - -```yaml -Type: System.String -Parameter Sets: (All) -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String[] -Parameter Sets: (All) -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -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 - -## RELATED LINKS - diff --git a/src/Functions/help/Move-Az.md b/src/Functions/help/Move-Az.md deleted file mode 100644 index b7ecc8355c29..000000000000 --- a/src/Functions/help/Move-Az.md +++ /dev/null @@ -1,309 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/move-az -schema: 2.0.0 ---- - -# Move-Az - -## SYNOPSIS -Description for Move resources between resource groups. - -## SYNTAX - -### MoveExpanded (Default) -``` -Move-Az -ResourceGroupName [-SubscriptionId ] [-Resource ] - [-TargetResourceGroup ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] - [] -``` - -### Move -``` -Move-Az -ResourceGroupName -MoveResourceEnvelope - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### MoveViaIdentity -``` -Move-Az -InputObject -MoveResourceEnvelope - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### MoveViaIdentityExpanded -``` -Move-Az -InputObject [-Resource ] [-TargetResourceGroup ] - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Description for Move resources between resource groups. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity -Parameter Sets: MoveViaIdentity, MoveViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -MoveResourceEnvelope -Object with a list of the resources that need to be moved and the resource group they should be moved to. -To construct, see NOTES section for MOVERESOURCEENVELOPE properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope -Parameter Sets: Move, MoveViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```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 -``` - -### -Resource -. - -```yaml -Type: System.String[] -Parameter Sets: MoveExpanded, MoveViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: Move, MoveExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String -Parameter Sets: Move, MoveExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -TargetResourceGroup -. - -```yaml -Type: System.String -Parameter Sets: MoveExpanded, MoveViaIdentityExpanded -Aliases: - -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 - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICsmMoveResourceEnvelope - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -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 - - `[AccountName ]`: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - `[AnalysisName ]`: Analysis Name - - `[AppSettingKey ]`: App Setting key name. - - `[Authprovider ]`: The auth provider for the users. - - `[BackupId ]`: ID of the backup. - - `[BaseAddress ]`: Module base address. - - `[BlobServicesName ]`: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' - - `[CertificateOrderName ]`: Name of the certificate order.. - - `[ContainerName ]`: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. - - `[DeletedSiteId ]`: The numeric ID of the deleted app, e.g. 12345 - - `[DetectorName ]`: Detector Resource Name - - `[DiagnosticCategory ]`: Diagnostic Category - - `[DiagnosticsName ]`: Name of the diagnostics item. - - `[DomainName ]`: Name of the domain. - - `[DomainOwnershipIdentifierName ]`: Name of domain ownership identifier. - - `[EntityName ]`: Name of the hybrid connection. - - `[FunctionName ]`: Function name. - - `[GatewayName ]`: Name of the gateway. Currently, the only supported string is "primary". - - `[HostName ]`: Hostname in the hostname binding. - - `[HostingEnvironmentName ]`: Name of the hosting environment. - - `[Id ]`: Deployment ID. - - `[Id1 ]`: Resource identity path - - `[ImmutabilityPolicyName ]`: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' - - `[Instance ]`: Name of the instance in the multi-role pool. - - `[InstanceId ]`: - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[KeyName ]`: The name of the key. - - `[KeyType ]`: The type of host key. - - `[Location ]`: - - `[ManagementPolicyName ]`: The name of the Storage Account Management Policy. It should always be 'default' - - `[Name ]`: Name of the certificate. - - `[NamespaceName ]`: The namespace for this hybrid connection. - - `[OperationId ]`: GUID of the operation. - - `[PrId ]`: The stage site identifier. - - `[PremierAddOnName ]`: Add-on name. - - `[PrivateEndpointConnectionName ]`: - - `[ProcessId ]`: PID. - - `[PublicCertificateName ]`: Public certificate name. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[RelayName ]`: The relay name for this hybrid connection. - - `[ResourceGroupName ]`: Name of the resource group to which the resource belongs. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[RouteName ]`: Name of the Virtual Network route. - - `[Scope ]`: The resource provider scope of the resource. Parent resource being extended by Managed Identities. - - `[SiteExtensionId ]`: Site extension name. - - `[SiteName ]`: Site Name - - `[Slot ]`: Slot Name - - `[SnapshotId ]`: The ID of the snapshot to read. - - `[SourceControlType ]`: Type of source control - - `[SubscriptionId ]`: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - - `[Userid ]`: The user id of the user. - - `[View ]`: The type of view. This can either be "summary" or "detailed". - - `[VnetName ]`: Name of the virtual network. - - `[WebJobName ]`: Name of Web Job. - - `[WorkerName ]`: Name of worker machine, which typically starts with RD. - - `[WorkerPoolName ]`: Name of the worker pool. - -MOVERESOURCEENVELOPE : Object with a list of the resources that need to be moved and the resource group they should be moved to. - - `[Resource ]`: - - `[TargetResourceGroup ]`: - -## RELATED LINKS - diff --git a/src/Functions/help/Remove-AzFunctionApp.md b/src/Functions/help/Remove-AzFunctionApp.md index 9d7de654c0fb..95e7248c13e4 100644 --- a/src/Functions/help/Remove-AzFunctionApp.md +++ b/src/Functions/help/Remove-AzFunctionApp.md @@ -222,6 +222,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Remove-AzFunctionAppSetting.md b/src/Functions/help/Remove-AzFunctionAppSetting.md index 2016155b8edf..75da8c0632df 100644 --- a/src/Functions/help/Remove-AzFunctionAppSetting.md +++ b/src/Functions/help/Remove-AzFunctionAppSetting.md @@ -215,6 +215,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Restart-AzFunctionApp.md b/src/Functions/help/Restart-AzFunctionApp.md index 5a16152d4787..022063e18a99 100644 --- a/src/Functions/help/Restart-AzFunctionApp.md +++ b/src/Functions/help/Restart-AzFunctionApp.md @@ -222,6 +222,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Start-AzFunctionApp.md b/src/Functions/help/Start-AzFunctionApp.md index 5c4dc4821bee..984bf714eb36 100644 --- a/src/Functions/help/Start-AzFunctionApp.md +++ b/src/Functions/help/Start-AzFunctionApp.md @@ -207,6 +207,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Stop-AzFunctionApp.md b/src/Functions/help/Stop-AzFunctionApp.md index 67680967d78c..c4ece7ce8de0 100644 --- a/src/Functions/help/Stop-AzFunctionApp.md +++ b/src/Functions/help/Stop-AzFunctionApp.md @@ -222,6 +222,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Sync-AzWebAppFunctionSlot.md b/src/Functions/help/Sync-AzWebAppFunctionSlot.md deleted file mode 100644 index dcd484dc78ea..000000000000 --- a/src/Functions/help/Sync-AzWebAppFunctionSlot.md +++ /dev/null @@ -1,274 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/sync-azwebappfunctionslot -schema: 2.0.0 ---- - -# Sync-AzWebAppFunctionSlot - -## SYNOPSIS -Description for Syncs function trigger metadata to the management database - -## SYNTAX - -### Sync (Default) -``` -Sync-AzWebAppFunctionSlot -Name -ResourceGroupName -Slot [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] -``` - -### SyncViaIdentity -``` -Sync-AzWebAppFunctionSlot -InputObject [-DefaultProfile ] [-PassThru] - [-Confirm] [-WhatIf] [] -``` - -## DESCRIPTION -Description for Syncs function trigger metadata to the management database - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity -Parameter Sets: SyncViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -Name -Name of the app. - -```yaml -Type: System.String -Parameter Sets: Sync -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -PassThru -Returns true when the command succeeds - -```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 -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: Sync -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Slot -Name of the deployment slot. - -```yaml -Type: System.String -Parameter Sets: Sync -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String -Parameter Sets: Sync -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -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 - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity - -## OUTPUTS - -### System.Boolean - -## NOTES - -ALIASES - -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 - - `[AccountName ]`: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - `[AnalysisName ]`: Analysis Name - - `[AppSettingKey ]`: App Setting key name. - - `[Authprovider ]`: The auth provider for the users. - - `[BackupId ]`: ID of the backup. - - `[BaseAddress ]`: Module base address. - - `[BlobServicesName ]`: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' - - `[CertificateOrderName ]`: Name of the certificate order.. - - `[ContainerName ]`: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. - - `[DeletedSiteId ]`: The numeric ID of the deleted app, e.g. 12345 - - `[DetectorName ]`: Detector Resource Name - - `[DiagnosticCategory ]`: Diagnostic Category - - `[DiagnosticsName ]`: Name of the diagnostics item. - - `[DomainName ]`: Name of the domain. - - `[DomainOwnershipIdentifierName ]`: Name of domain ownership identifier. - - `[EntityName ]`: Name of the hybrid connection. - - `[FunctionName ]`: Function name. - - `[GatewayName ]`: Name of the gateway. Currently, the only supported string is "primary". - - `[HostName ]`: Hostname in the hostname binding. - - `[HostingEnvironmentName ]`: Name of the hosting environment. - - `[Id ]`: Deployment ID. - - `[Id1 ]`: Resource identity path - - `[ImmutabilityPolicyName ]`: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' - - `[Instance ]`: Name of the instance in the multi-role pool. - - `[InstanceId ]`: - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[KeyName ]`: The name of the key. - - `[KeyType ]`: The type of host key. - - `[Location ]`: - - `[ManagementPolicyName ]`: The name of the Storage Account Management Policy. It should always be 'default' - - `[Name ]`: Name of the certificate. - - `[NamespaceName ]`: The namespace for this hybrid connection. - - `[OperationId ]`: GUID of the operation. - - `[PrId ]`: The stage site identifier. - - `[PremierAddOnName ]`: Add-on name. - - `[PrivateEndpointConnectionName ]`: - - `[ProcessId ]`: PID. - - `[PublicCertificateName ]`: Public certificate name. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[RelayName ]`: The relay name for this hybrid connection. - - `[ResourceGroupName ]`: Name of the resource group to which the resource belongs. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[RouteName ]`: Name of the Virtual Network route. - - `[Scope ]`: The resource provider scope of the resource. Parent resource being extended by Managed Identities. - - `[SiteExtensionId ]`: Site extension name. - - `[SiteName ]`: Site Name - - `[Slot ]`: Slot Name - - `[SnapshotId ]`: The ID of the snapshot to read. - - `[SourceControlType ]`: Type of source control - - `[SubscriptionId ]`: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - - `[Userid ]`: The user id of the user. - - `[View ]`: The type of view. This can either be "summary" or "detailed". - - `[VnetName ]`: Name of the virtual network. - - `[WebJobName ]`: Name of Web Job. - - `[WorkerName ]`: Name of worker machine, which typically starts with RD. - - `[WorkerPoolName ]`: Name of the worker pool. - -## RELATED LINKS - diff --git a/src/Functions/help/Test-Az.md b/src/Functions/help/Test-Az.md deleted file mode 100644 index 9e40566f50f0..000000000000 --- a/src/Functions/help/Test-Az.md +++ /dev/null @@ -1,525 +0,0 @@ ---- -external help file: -Module Name: Az.Functions -online version: https://docs.microsoft.com/powershell/module/az.functions/test-az -schema: 2.0.0 ---- - -# Test-Az - -## SYNOPSIS -Description for Validate if a resource can be created. - -## SYNTAX - -### ValidateExpanded (Default) -``` -Test-Az -ResourceGroupName -Location -Name -Type - [-SubscriptionId ] [-Capacity ] [-ContainerImagePlatform ] - [-ContainerImageRepository ] [-ContainerImageTag ] [-ContainerRegistryBaseUrl ] - [-ContainerRegistryPassword ] [-ContainerRegistryUsername ] [-HostingEnvironment ] - [-IsSpot] [-IsXenon] [-NeedLinuxWorker] [-ServerFarmId ] [-SkuName ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### Validate -``` -Test-Az -ResourceGroupName -ValidateRequest [-SubscriptionId ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] -``` - -### ValidateViaIdentity -``` -Test-Az -InputObject -ValidateRequest [-DefaultProfile ] - [-Confirm] [-WhatIf] [] -``` - -### ValidateViaIdentityExpanded -``` -Test-Az -InputObject -Location -Name -Type - [-Capacity ] [-ContainerImagePlatform ] [-ContainerImageRepository ] - [-ContainerImageTag ] [-ContainerRegistryBaseUrl ] [-ContainerRegistryPassword ] - [-ContainerRegistryUsername ] [-HostingEnvironment ] [-IsSpot] [-IsXenon] [-NeedLinuxWorker] - [-ServerFarmId ] [-SkuName ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] -``` - -## DESCRIPTION -Description for Validate if a resource can be created. - -## EXAMPLES - -### Example 1: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -### Example 2: {{ Add title here }} -```powershell -{{ Add code here }} -``` - -```output -{{ Add output here }} -``` - -{{ Add description here }} - -## PARAMETERS - -### -Capacity -Target capacity of the App Service plan (number of VMs). - -```yaml -Type: System.Int32 -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContainerImagePlatform -Platform (windows or linux) - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContainerImageRepository -Repository name (image name) - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContainerImageTag -Image tag - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContainerRegistryBaseUrl -Base URL of the container registry - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContainerRegistryPassword -Password for to access the container registry - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ContainerRegistryUsername -Username for to access the container registry - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. - -```yaml -Type: System.Management.Automation.PSObject -Parameter Sets: (All) -Aliases: AzureRMContext, AzureCredential - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -HostingEnvironment -Name of App Service Environment where app or App Service plan should be created. - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -InputObject -Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity -Parameter Sets: ValidateViaIdentity, ValidateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -Accept wildcard characters: False -``` - -### -IsSpot -\true\ if App Service plan is for Spot instances; otherwise, \false\. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -IsXenon -\true\ if App Service plan is running as a windows container - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Location -Expected location of the resource. - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Name -Resource name to verify. - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -NeedLinuxWorker -\true\ if App Service plan is for Linux workers; otherwise, \false\. - -```yaml -Type: System.Management.Automation.SwitchParameter -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ResourceGroupName -Name of the resource group to which the resource belongs. - -```yaml -Type: System.String -Parameter Sets: Validate, ValidateExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ServerFarmId -ARM resource ID of an App Service plan that would host the app. - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SkuName -Name of the target SKU for the App Service plan. - -```yaml -Type: System.String -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: False -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -SubscriptionId -Your Azure subscription ID. -This is a GUID-formatted string (e.g. -00000000-0000-0000-0000-000000000000). - -```yaml -Type: System.String -Parameter Sets: Validate, ValidateExpanded -Aliases: - -Required: False -Position: Named -Default value: (Get-AzContext).Subscription.Id -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -Type -Resource type used for verification. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ValidateResourceTypes -Parameter Sets: ValidateExpanded, ValidateViaIdentityExpanded -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - -### -ValidateRequest -Resource validation request content. -To construct, see NOTES section for VALIDATEREQUEST properties and create a hash table. - -```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest -Parameter Sets: Validate, ValidateViaIdentity -Aliases: - -Required: True -Position: Named -Default value: None -Accept pipeline input: True (ByValue) -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 - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateRequest - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity - -## OUTPUTS - -### Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IValidateResponse - -## NOTES - -ALIASES - -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 - - `[AccountName ]`: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. - - `[AnalysisName ]`: Analysis Name - - `[AppSettingKey ]`: App Setting key name. - - `[Authprovider ]`: The auth provider for the users. - - `[BackupId ]`: ID of the backup. - - `[BaseAddress ]`: Module base address. - - `[BlobServicesName ]`: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' - - `[CertificateOrderName ]`: Name of the certificate order.. - - `[ContainerName ]`: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. - - `[DeletedSiteId ]`: The numeric ID of the deleted app, e.g. 12345 - - `[DetectorName ]`: Detector Resource Name - - `[DiagnosticCategory ]`: Diagnostic Category - - `[DiagnosticsName ]`: Name of the diagnostics item. - - `[DomainName ]`: Name of the domain. - - `[DomainOwnershipIdentifierName ]`: Name of domain ownership identifier. - - `[EntityName ]`: Name of the hybrid connection. - - `[FunctionName ]`: Function name. - - `[GatewayName ]`: Name of the gateway. Currently, the only supported string is "primary". - - `[HostName ]`: Hostname in the hostname binding. - - `[HostingEnvironmentName ]`: Name of the hosting environment. - - `[Id ]`: Deployment ID. - - `[Id1 ]`: Resource identity path - - `[ImmutabilityPolicyName ]`: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' - - `[Instance ]`: Name of the instance in the multi-role pool. - - `[InstanceId ]`: - - `[KeyId ]`: The API Key ID. This is unique within a Application Insights component. - - `[KeyName ]`: The name of the key. - - `[KeyType ]`: The type of host key. - - `[Location ]`: - - `[ManagementPolicyName ]`: The name of the Storage Account Management Policy. It should always be 'default' - - `[Name ]`: Name of the certificate. - - `[NamespaceName ]`: The namespace for this hybrid connection. - - `[OperationId ]`: GUID of the operation. - - `[PrId ]`: The stage site identifier. - - `[PremierAddOnName ]`: Add-on name. - - `[PrivateEndpointConnectionName ]`: - - `[ProcessId ]`: PID. - - `[PublicCertificateName ]`: Public certificate name. - - `[PurgeId ]`: In a purge status request, this is the Id of the operation the status of which is returned. - - `[RelayName ]`: The relay name for this hybrid connection. - - `[ResourceGroupName ]`: Name of the resource group to which the resource belongs. - - `[ResourceName ]`: The name of the Application Insights component resource. - - `[RouteName ]`: Name of the Virtual Network route. - - `[Scope ]`: The resource provider scope of the resource. Parent resource being extended by Managed Identities. - - `[SiteExtensionId ]`: Site extension name. - - `[SiteName ]`: Site Name - - `[Slot ]`: Slot Name - - `[SnapshotId ]`: The ID of the snapshot to read. - - `[SourceControlType ]`: Type of source control - - `[SubscriptionId ]`: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - - `[Userid ]`: The user id of the user. - - `[View ]`: The type of view. This can either be "summary" or "detailed". - - `[VnetName ]`: Name of the virtual network. - - `[WebJobName ]`: Name of Web Job. - - `[WorkerName ]`: Name of worker machine, which typically starts with RD. - - `[WorkerPoolName ]`: Name of the worker pool. - -VALIDATEREQUEST : Resource validation request content. - - `Location `: Expected location of the resource. - - `Name `: Resource name to verify. - - `Type `: Resource type used for verification. - - `[Capacity ]`: Target capacity of the App Service plan (number of VMs). - - `[ContainerImagePlatform ]`: Platform (windows or linux) - - `[ContainerImageRepository ]`: Repository name (image name) - - `[ContainerImageTag ]`: Image tag - - `[ContainerRegistryBaseUrl ]`: Base URL of the container registry - - `[ContainerRegistryPassword ]`: Password for to access the container registry - - `[ContainerRegistryUsername ]`: Username for to access the container registry - - `[HostingEnvironment ]`: Name of App Service Environment where app or App Service plan should be created. - - `[IsSpot ]`: true if App Service plan is for Spot instances; otherwise, false. - - `[IsXenon ]`: true if App Service plan is running as a windows container - - `[NeedLinuxWorker ]`: true if App Service plan is for Linux workers; otherwise, false. - - `[ServerFarmId ]`: ARM resource ID of an App Service plan that would host the app. - - `[SkuName ]`: Name of the target SKU for the App Service plan. - -## RELATED LINKS - diff --git a/src/Functions/help/Update-AzFunctionApp.md b/src/Functions/help/Update-AzFunctionApp.md index 2abd82f1161a..26b2e795cd35 100644 --- a/src/Functions/help/Update-AzFunctionApp.md +++ b/src/Functions/help/Update-AzFunctionApp.md @@ -353,6 +353,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/help/Update-AzFunctionAppSetting.md b/src/Functions/help/Update-AzFunctionAppSetting.md index 584bd697c7a4..2d761ec59cae 100644 --- a/src/Functions/help/Update-AzFunctionAppSetting.md +++ b/src/Functions/help/Update-AzFunctionAppSetting.md @@ -216,6 +216,8 @@ INPUTOBJECT : - `[CloningInfoTrafficManagerProfileId ]`: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. - `[CloningInfoTrafficManagerProfileName ]`: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. - `[Config ]`: Configuration of the app. + - `[AcrUseManagedIdentityCred ]`: Flag to use Managed Identity Creds for ACR pull + - `[AcrUserManagedIdentityId ]`: If using user managed identity, the user managed identity ClientId - `[ActionMinProcessExecutionTime ]`: Minimum time the process must execute before taking the action - `[ActionType ]`: Predefined action to be taken. - `[AlwaysOn ]`: true if Always On is enabled; otherwise, false. diff --git a/src/Functions/internal/Backup-AzFunctionApp.ps1 b/src/Functions/internal/Backup-AzFunctionApp.ps1 index f6aaf2214754..30e69cb41bc6 100644 --- a/src/Functions/internal/Backup-AzFunctionApp.ps1 +++ b/src/Functions/internal/Backup-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates a backup of an app. +Creates a backup of an app. .Description -Description for Creates a backup of an app. +Creates a backup of an app. .Example {{ Add code here }} .Example @@ -291,6 +291,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Backup = 'Az.Functions.private\Backup-AzFunctionApp_Backup'; BackupExpanded = 'Az.Functions.private\Backup-AzFunctionApp_BackupExpanded'; @@ -306,6 +307,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -314,15 +316,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzAppInsights.ps1 b/src/Functions/internal/Get-AzAppInsights.ps1 index c8fc60435ac2..504bb4cb9049 100644 --- a/src/Functions/internal/Get-AzAppInsights.ps1 +++ b/src/Functions/internal/Get-AzAppInsights.ps1 @@ -184,6 +184,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzAppInsights_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzAppInsights_GetViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzAppInsightsApiKey.ps1 b/src/Functions/internal/Get-AzAppInsightsApiKey.ps1 index e2f17c1e8859..64ce0825e3fb 100644 --- a/src/Functions/internal/Get-AzAppInsightsApiKey.ps1 +++ b/src/Functions/internal/Get-AzAppInsightsApiKey.ps1 @@ -191,6 +191,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzAppInsightsApiKey_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzAppInsightsApiKey_GetViaIdentity'; @@ -205,6 +206,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -213,15 +215,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzFunction.ps1 b/src/Functions/internal/Get-AzFunction.ps1 index 79479f6ac969..670949e2e0a4 100644 --- a/src/Functions/internal/Get-AzFunction.ps1 +++ b/src/Functions/internal/Get-AzFunction.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Get function information by its ID for web site, or a deployment slot. +Get function information by its ID for web site, or a deployment slot. .Description -Description for Get function information by its ID for web site, or a deployment slot. +Get function information by its ID for web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -195,6 +195,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzFunction_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunction_GetViaIdentity'; @@ -209,6 +210,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -217,15 +219,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzFunctionApp.ps1 b/src/Functions/internal/Get-AzFunctionApp.ps1 index c932f70f3a40..e2104773e992 100644 --- a/src/Functions/internal/Get-AzFunctionApp.ps1 +++ b/src/Functions/internal/Get-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets the details of a web, mobile, or API app. +Gets the details of a web, mobile, or API app. .Description -Description for Gets the details of a web, mobile, or API app. +Gets the details of a web, mobile, or API app. .Example Get-AzFunctionApp .Example @@ -203,6 +203,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzFunctionApp_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunctionApp_GetViaIdentity'; @@ -218,6 +219,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -226,15 +228,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1 b/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1 index 0f4fa2fadebc..facc7ffef91c 100644 --- a/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1 +++ b/src/Functions/internal/Get-AzFunctionAppAvailableLocation.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Get a list of available geographical regions. +Get a list of available geographical regions. .Description -Description for Get a list of available geographical regions. +Get a list of available geographical regions. .Example Get-AzFunctionAppAvailableLocation .Example @@ -124,6 +124,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzFunctionAppAvailableLocation_List'; } @@ -136,6 +137,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -144,15 +146,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzFunctionAppPlan.ps1 b/src/Functions/internal/Get-AzFunctionAppPlan.ps1 index 3dd2b05b0294..f11ce89a101e 100644 --- a/src/Functions/internal/Get-AzFunctionAppPlan.ps1 +++ b/src/Functions/internal/Get-AzFunctionAppPlan.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Get an App Service plan. +Get an App Service plan. .Description -Description for Get an App Service plan. +Get an App Service plan. .Example Get-AzFunctionAppPlan .Example @@ -202,6 +202,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzFunctionAppPlan_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunctionAppPlan_GetViaIdentity'; @@ -217,6 +218,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -225,15 +227,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzStorageAccount.ps1 b/src/Functions/internal/Get-AzStorageAccount.ps1 index d5ab6a514cd0..b6c94dd67a1c 100644 --- a/src/Functions/internal/Get-AzStorageAccount.ps1 +++ b/src/Functions/internal/Get-AzStorageAccount.ps1 @@ -106,6 +106,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzStorageAccount_List'; List1 = 'Az.Functions.private\Get-AzStorageAccount_List1'; @@ -119,6 +120,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -127,15 +129,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzStorageAccountKey.ps1 b/src/Functions/internal/Get-AzStorageAccountKey.ps1 index b96f0c87cb98..bb06de1df13e 100644 --- a/src/Functions/internal/Get-AzStorageAccountKey.ps1 +++ b/src/Functions/internal/Get-AzStorageAccountKey.ps1 @@ -119,6 +119,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzStorageAccountKey_List'; } @@ -131,6 +132,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -139,15 +141,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Get-AzUserAssignedIdentity.ps1 index 348b39f8b177..5ce34a3792ed 100644 --- a/src/Functions/internal/Get-AzUserAssignedIdentity.ps1 +++ b/src/Functions/internal/Get-AzUserAssignedIdentity.ps1 @@ -183,6 +183,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzUserAssignedIdentity_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzUserAssignedIdentity_GetViaIdentity'; @@ -198,6 +199,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -206,15 +208,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1 b/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1 index d37739730be8..965f7a290096 100644 --- a/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1 +++ b/src/Functions/internal/Get-AzWebAppApplicationSetting.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets the application settings of an app. +Gets the application settings of an app. .Description -Description for Gets the application settings of an app. +Gets the application settings of an app. .Example {{ Add code here }} .Example @@ -109,6 +109,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppApplicationSetting_List'; } @@ -121,6 +122,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -129,15 +131,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1 b/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1 index 8ee5083562a9..b84f9ca68a09 100644 --- a/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1 +++ b/src/Functions/internal/Get-AzWebAppApplicationSettingSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets the application settings of an app. +Gets the application settings of an app. .Description -Description for Gets the application settings of an app. +Gets the application settings of an app. .Example {{ Add code here }} .Example @@ -116,6 +116,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppApplicationSettingSlot_List'; } @@ -128,6 +129,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -136,15 +138,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppConfiguration.ps1 b/src/Functions/internal/Get-AzWebAppConfiguration.ps1 index 25cfdac2e80e..c71a4d13d9e0 100644 --- a/src/Functions/internal/Get-AzWebAppConfiguration.ps1 +++ b/src/Functions/internal/Get-AzWebAppConfiguration.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Description -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Example {{ Add code here }} .Example @@ -183,6 +183,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfiguration_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfiguration_GetViaIdentity'; @@ -197,6 +198,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -205,15 +207,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1 index 16cafacc7284..c05ac8250310 100644 --- a/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1 +++ b/src/Functions/internal/Get-AzWebAppConfigurationSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Description -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Example {{ Add code here }} .Example @@ -191,6 +191,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_GetViaIdentity'; @@ -205,6 +206,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -213,15 +215,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1 index cfe2935d6ccd..24fe74e6bf6e 100644 --- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1 +++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Description -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Example {{ Add code here }} .Example @@ -186,6 +186,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshot_GetViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1 index 11d07504a725..2f68404bb6ea 100644 --- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1 +++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfo.ps1 @@ -16,10 +16,10 @@ <# .Synopsis -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Description -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Example {{ Add code here }} @@ -111,6 +111,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotInfo_List'; } @@ -123,6 +124,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -131,15 +133,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1 index 25f163ad7117..8ac43f626879 100644 --- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1 +++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotInfoSlot.ps1 @@ -16,10 +16,10 @@ <# .Synopsis -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Description -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Example {{ Add code here }} @@ -118,6 +118,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotInfoSlot_List'; } @@ -130,6 +131,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -138,15 +140,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1 b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1 index b8d167eba684..3e148b35f1e4 100644 --- a/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1 +++ b/src/Functions/internal/Get-AzWebAppConfigurationSnapshotSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Description -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Example {{ Add code here }} .Example @@ -193,6 +193,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotSlot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotSlot_GetViaIdentity'; @@ -206,6 +207,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -214,15 +216,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzAppInsights.ps1 b/src/Functions/internal/New-AzAppInsights.ps1 index 302c82380d2f..5442b62937d4 100644 --- a/src/Functions/internal/New-AzAppInsights.ps1 +++ b/src/Functions/internal/New-AzAppInsights.ps1 @@ -271,6 +271,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzAppInsights_Create'; CreateExpanded = 'Az.Functions.private\New-AzAppInsights_CreateExpanded'; @@ -286,6 +287,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -294,15 +296,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzFunction.ps1 b/src/Functions/internal/New-AzFunction.ps1 index 9df41817d9d6..daef7ad1f87e 100644 --- a/src/Functions/internal/New-AzFunction.ps1 +++ b/src/Functions/internal/New-AzFunction.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Create function for web site, or a deployment slot. +Create function for web site, or a deployment slot. .Description -Description for Create function for web site, or a deployment slot. +Create function for web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -329,6 +329,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzFunction_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunction_CreateExpanded'; @@ -344,6 +345,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -352,15 +354,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzFunctionApp.ps1 b/src/Functions/internal/New-AzFunctionApp.ps1 index ba05eb47a4ba..9916664800d4 100644 --- a/src/Functions/internal/New-AzFunctionApp.ps1 +++ b/src/Functions/internal/New-AzFunctionApp.ps1 @@ -16,26 +16,26 @@ <# .Synopsis -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag .Inputs @@ -116,6 +116,8 @@ INPUTOBJECT : Identity Parameter [WorkerPoolName ]: Name of the worker pool. SITECONFIG : Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -250,6 +252,8 @@ SITEENVELOPE : A web app, a mobile app backend, or an API app. [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -751,6 +755,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzFunctionApp_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunctionApp_CreateExpanded'; @@ -766,6 +771,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -774,15 +780,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzFunctionAppPlan.ps1 b/src/Functions/internal/New-AzFunctionAppPlan.ps1 index 258469fe3872..32040808bcc7 100644 --- a/src/Functions/internal/New-AzFunctionAppPlan.ps1 +++ b/src/Functions/internal/New-AzFunctionAppPlan.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Description -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Example New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName ` -Name MyPremiumPlan ` @@ -434,6 +434,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzFunctionAppPlan_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunctionAppPlan_CreateExpanded'; @@ -449,6 +450,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -457,15 +459,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzUserAssignedIdentity.ps1 b/src/Functions/internal/New-AzUserAssignedIdentity.ps1 index 966699f596ce..bb968f2869a1 100644 --- a/src/Functions/internal/New-AzUserAssignedIdentity.ps1 +++ b/src/Functions/internal/New-AzUserAssignedIdentity.ps1 @@ -214,6 +214,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzUserAssignedIdentity_Create'; CreateExpanded = 'Az.Functions.private\New-AzUserAssignedIdentity_CreateExpanded'; @@ -229,6 +230,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -237,15 +239,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzWebAppConfiguration.ps1 b/src/Functions/internal/New-AzWebAppConfiguration.ps1 index 7bb08fc63ab4..3ca5ba012394 100644 --- a/src/Functions/internal/New-AzWebAppConfiguration.ps1 +++ b/src/Functions/internal/New-AzWebAppConfiguration.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -143,6 +143,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -317,6 +319,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -903,6 +919,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzWebAppConfiguration_Create'; CreateExpanded = 'Az.Functions.private\New-AzWebAppConfiguration_CreateExpanded'; @@ -918,6 +935,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -926,15 +944,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1 index 75d6a87a5bbf..f122746d42c7 100644 --- a/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1 +++ b/src/Functions/internal/New-AzWebAppConfigurationSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -143,6 +143,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -325,6 +327,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -911,6 +927,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzWebAppConfigurationSlot_Create'; CreateExpanded = 'Az.Functions.private\New-AzWebAppConfigurationSlot_CreateExpanded'; @@ -926,6 +943,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -934,15 +952,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/ProxyCmdletDefinitions.ps1 b/src/Functions/internal/ProxyCmdletDefinitions.ps1 index 9b5d305869cd..739aec1fb99e 100644 --- a/src/Functions/internal/ProxyCmdletDefinitions.ps1 +++ b/src/Functions/internal/ProxyCmdletDefinitions.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates a backup of an app. +Creates a backup of an app. .Description -Description for Creates a backup of an app. +Creates a backup of an app. .Example {{ Add code here }} .Example @@ -291,6 +291,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Backup = 'Az.Functions.private\Backup-AzFunctionApp_Backup'; BackupExpanded = 'Az.Functions.private\Backup-AzFunctionApp_BackupExpanded'; @@ -306,6 +307,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -314,17 +316,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -504,6 +509,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzAppInsightsApiKey_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzAppInsightsApiKey_GetViaIdentity'; @@ -518,6 +524,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -526,17 +533,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -709,6 +719,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzAppInsights_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzAppInsights_GetViaIdentity'; @@ -724,6 +735,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -732,24 +744,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Get a list of available geographical regions. +Get a list of available geographical regions. .Description -Description for Get a list of available geographical regions. +Get a list of available geographical regions. .Example Get-AzFunctionAppAvailableLocation .Example @@ -855,6 +870,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzFunctionAppAvailableLocation_List'; } @@ -867,6 +883,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -875,24 +892,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Get an App Service plan. +Get an App Service plan. .Description -Description for Get an App Service plan. +Get an App Service plan. .Example Get-AzFunctionAppPlan .Example @@ -1076,6 +1096,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzFunctionAppPlan_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunctionAppPlan_GetViaIdentity'; @@ -1091,6 +1112,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -1099,24 +1121,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets the details of a web, mobile, or API app. +Gets the details of a web, mobile, or API app. .Description -Description for Gets the details of a web, mobile, or API app. +Gets the details of a web, mobile, or API app. .Example Get-AzFunctionApp .Example @@ -1301,6 +1326,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzFunctionApp_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunctionApp_GetViaIdentity'; @@ -1316,6 +1342,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -1324,24 +1351,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Get function information by its ID for web site, or a deployment slot. +Get function information by its ID for web site, or a deployment slot. .Description -Description for Get function information by its ID for web site, or a deployment slot. +Get function information by its ID for web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -1518,6 +1548,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzFunction_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunction_GetViaIdentity'; @@ -1532,6 +1563,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -1540,17 +1572,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -1658,6 +1693,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzStorageAccountKey_List'; } @@ -1670,6 +1706,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -1678,17 +1715,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -1783,6 +1823,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzStorageAccount_List'; List1 = 'Az.Functions.private\Get-AzStorageAccount_List1'; @@ -1796,6 +1837,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -1804,17 +1846,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -1986,6 +2031,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzUserAssignedIdentity_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzUserAssignedIdentity_GetViaIdentity'; @@ -2001,6 +2047,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2009,24 +2056,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets the application settings of an app. +Gets the application settings of an app. .Description -Description for Gets the application settings of an app. +Gets the application settings of an app. .Example {{ Add code here }} .Example @@ -2124,6 +2174,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppApplicationSettingSlot_List'; } @@ -2136,6 +2187,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2144,24 +2196,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets the application settings of an app. +Gets the application settings of an app. .Description -Description for Gets the application settings of an app. +Gets the application settings of an app. .Example {{ Add code here }} .Example @@ -2252,6 +2307,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppApplicationSetting_List'; } @@ -2264,6 +2320,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2272,24 +2329,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Description -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Example {{ Add code here }} .Example @@ -2462,6 +2522,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_GetViaIdentity'; @@ -2476,6 +2537,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2484,25 +2546,28 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Description -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Example {{ Add code here }} @@ -2601,6 +2666,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotInfoSlot_List'; } @@ -2613,6 +2679,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2621,25 +2688,28 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Description -Description for Gets a list of web app configuration snapshots identifiers. +Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Example {{ Add code here }} @@ -2731,6 +2801,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotInfo_List'; } @@ -2743,6 +2814,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2751,24 +2823,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Description -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Example {{ Add code here }} .Example @@ -2943,6 +3018,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotSlot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotSlot_GetViaIdentity'; @@ -2956,6 +3032,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -2964,24 +3041,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Description -Description for Gets a snapshot of the configuration of an app at a previous point in time. +Gets a snapshot of the configuration of an app at a previous point in time. .Example {{ Add code here }} .Example @@ -3149,6 +3229,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshot_GetViaIdentity'; @@ -3162,6 +3243,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -3170,24 +3252,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Description -Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. +Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Example {{ Add code here }} .Example @@ -3352,6 +3437,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfiguration_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfiguration_GetViaIdentity'; @@ -3366,6 +3452,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -3374,17 +3461,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -3644,6 +3734,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzAppInsights_Create'; CreateExpanded = 'Az.Functions.private\New-AzAppInsights_CreateExpanded'; @@ -3659,6 +3750,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -3667,24 +3759,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Description -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Example New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName ` -Name MyPremiumPlan ` @@ -4100,6 +4195,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzFunctionAppPlan_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunctionAppPlan_CreateExpanded'; @@ -4115,6 +4211,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -4123,41 +4220,44 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -Runtime PowerShell .Example New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` - -StorageAccount MyStorageAccountName ` + -StorageAccountName MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag .Inputs @@ -4238,6 +4338,8 @@ INPUTOBJECT : Identity Parameter [WorkerPoolName ]: Name of the worker pool. SITECONFIG : Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -4372,6 +4474,8 @@ SITEENVELOPE : A web app, a mobile app backend, or an API app. [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -4873,6 +4977,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzFunctionApp_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunctionApp_CreateExpanded'; @@ -4888,6 +4993,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -4896,24 +5002,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Create function for web site, or a deployment slot. +Create function for web site, or a deployment slot. .Description -Description for Create function for web site, or a deployment slot. +Create function for web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -5224,6 +5333,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzFunction_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunction_CreateExpanded'; @@ -5239,6 +5349,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -5247,17 +5358,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -5460,6 +5574,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzUserAssignedIdentity_Create'; CreateExpanded = 'Az.Functions.private\New-AzUserAssignedIdentity_CreateExpanded'; @@ -5475,6 +5590,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -5483,24 +5599,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -5625,6 +5744,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -5807,6 +5928,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -6393,6 +6528,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzWebAppConfigurationSlot_Create'; CreateExpanded = 'Az.Functions.private\New-AzWebAppConfigurationSlot_CreateExpanded'; @@ -6408,6 +6544,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -6416,24 +6553,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -6558,6 +6698,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -6732,6 +6874,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='CreateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -7318,6 +7474,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Create = 'Az.Functions.private\New-AzWebAppConfiguration_Create'; CreateExpanded = 'Az.Functions.private\New-AzWebAppConfiguration_CreateExpanded'; @@ -7333,6 +7490,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -7341,24 +7499,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Delete an App Service plan. +Delete an App Service plan. .Description -Description for Delete an App Service plan. +Delete an App Service plan. .Example Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force .Example @@ -7526,6 +7687,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunctionAppPlan_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunctionAppPlan_DeleteViaIdentity'; @@ -7539,6 +7701,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -7547,24 +7710,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Deletes a web, mobile, or API app, or one of the deployment slots. +Deletes a web, mobile, or API app, or one of the deployment slots. .Description -Description for Deletes a web, mobile, or API app, or one of the deployment slots. +Deletes a web, mobile, or API app, or one of the deployment slots. .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force .Example @@ -7745,6 +7911,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunctionApp_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunctionApp_DeleteViaIdentity'; @@ -7758,6 +7925,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -7766,24 +7934,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Delete a function for web site, or a deployment slot. +Delete a function for web site, or a deployment slot. .Description -Description for Delete a function for web site, or a deployment slot. +Delete a function for web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -7957,6 +8128,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunction_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunction_DeleteViaIdentity'; @@ -7970,6 +8142,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -7978,17 +8151,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -8163,6 +8339,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzUserAssignedIdentity_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzUserAssignedIdentity_DeleteViaIdentity'; @@ -8176,6 +8353,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -8184,24 +8362,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Restarts an app (or deployment slot, if specified). +Restarts an app (or deployment slot, if specified). .Description -Description for Restarts an app (or deployment slot, if specified). +Restarts an app (or deployment slot, if specified). .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force .Example @@ -8383,6 +8564,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Restart = 'Az.Functions.private\Restart-AzFunctionApp_Restart'; RestartViaIdentity = 'Az.Functions.private\Restart-AzFunctionApp_RestartViaIdentity'; @@ -8396,6 +8578,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -8404,24 +8587,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Restores a specific backup to another app (or deployment slot, if specified). +Restores a specific backup to another app (or deployment slot, if specified). .Description -Description for Restores a specific backup to another app (or deployment slot, if specified). +Restores a specific backup to another app (or deployment slot, if specified). .Example {{ Add code here }} .Example @@ -8737,6 +8923,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Restore = 'Az.Functions.private\Restore-AzFunctionApp_Restore'; RestoreExpanded = 'Az.Functions.private\Restore-AzFunctionApp_RestoreExpanded'; @@ -8752,6 +8939,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -8760,24 +8948,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Description -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Example {{ Add code here }} .Example @@ -9091,6 +9282,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzFunctionAppPlan_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzFunctionAppPlan_UpdateExpanded'; @@ -9104,6 +9296,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -9112,24 +9305,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example {{ Add code here }} .Example @@ -9153,6 +9349,8 @@ HOSTNAMESSLSTATE : Hostname SSL states are used to manage t [VirtualIP ]: Virtual IP address assigned to the hostname if IP based SSL is enabled. SITECONFIG : Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -9287,6 +9485,8 @@ SITEENVELOPE : A web app, a mobile app backend, or an API app. [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -9743,6 +9943,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzFunctionApp_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzFunctionApp_UpdateExpanded'; @@ -9756,6 +9957,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -9764,17 +9966,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -9903,6 +10108,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzUserAssignedIdentity_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzUserAssignedIdentity_UpdateExpanded'; @@ -9916,6 +10122,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -9924,24 +10131,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Description -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Example {{ Add code here }} .Example @@ -10070,6 +10280,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppApplicationSettingSlot_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppApplicationSettingSlot_UpdateExpanded'; @@ -10083,6 +10294,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -10091,24 +10303,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Description -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Example {{ Add code here }} .Example @@ -10230,6 +10445,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppApplicationSetting_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppApplicationSetting_UpdateExpanded'; @@ -10243,6 +10459,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -10251,24 +10468,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -10333,6 +10553,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -10502,6 +10724,18 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] @@ -11016,6 +11250,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppConfigurationSlot_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppConfigurationSlot_UpdateExpanded'; @@ -11029,6 +11264,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -11037,24 +11273,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -11119,6 +11358,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -11281,6 +11522,18 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] @@ -11795,6 +12048,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppConfiguration_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppConfiguration_UpdateExpanded'; @@ -11808,6 +12062,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -11816,24 +12071,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Starts an app (or deployment slot, if specified). +Starts an app (or deployment slot, if specified). .Description -Description for Starts an app (or deployment slot, if specified). +Starts an app (or deployment slot, if specified). .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp .Example @@ -12001,6 +12259,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Start = 'Az.Functions.private\Start-AzFunctionApp_Start'; StartViaIdentity = 'Az.Functions.private\Start-AzFunctionApp_StartViaIdentity'; @@ -12014,6 +12273,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -12022,24 +12282,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Stops an app (or deployment slot, if specified). +Stops an app (or deployment slot, if specified). .Description -Description for Stops an app (or deployment slot, if specified). +Stops an app (or deployment slot, if specified). .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force .Example @@ -12207,6 +12470,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Stop = 'Az.Functions.private\Stop-AzFunctionApp_Stop'; StopViaIdentity = 'Az.Functions.private\Stop-AzFunctionApp_StopViaIdentity'; @@ -12220,6 +12484,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -12228,24 +12493,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Description -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Example {{ Add code here }} .Example @@ -12413,6 +12681,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Sync = 'Az.Functions.private\Sync-AzFunction_Sync'; SyncViaIdentity = 'Az.Functions.private\Sync-AzFunction_SyncViaIdentity'; @@ -12426,6 +12695,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -12434,24 +12704,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Check if a resource name is available. +Check if a resource name is available. .Description -Description for Check if a resource name is available. +Check if a resource name is available. .Example {{ Add code here }} .Example @@ -12640,6 +12913,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Check = 'Az.Functions.private\Test-AzNameAvailability_Check'; CheckExpanded = 'Az.Functions.private\Test-AzNameAvailability_CheckExpanded'; @@ -12655,6 +12929,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -12663,24 +12938,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Description -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Example Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName ` -Name MyPremiumPlan ` @@ -12708,7 +12986,7 @@ APPSERVICEPLAN : ARM resource for a app service pl [IsXenon ]: Obsolete: If Hyper-V container app service plan true, false otherwise. [MaximumElasticWorkerCount ]: Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan [PerSiteScaling ]: If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan. - [Reserved ]: If Linux app service plan true, false otherwise. + [Reserved ]: This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise. [SpotExpirationTime ]: The time when the server farm expires. Valid only if it is a spot server farm. [TargetWorkerCount ]: Scaling worker count. [TargetWorkerSizeId ]: Scaling worker size ID. @@ -12878,7 +13156,9 @@ param( [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] - # If Linux app service plan true, false otherwise. + # This needs to set to true + # when creating a Linux App Service Plan, along with kind set to Linux. + # It should be false otherwise. ${Reserved}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -12965,6 +13245,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzFunctionAppPlan_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzFunctionAppPlan_UpdateExpanded'; @@ -12980,6 +13261,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -12988,24 +13270,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force .Example @@ -13093,6 +13378,8 @@ INPUTOBJECT : Identity Parameter [WorkerPoolName ]: Name of the worker pool. SITECONFIG : Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -13246,6 +13533,8 @@ SITEENVELOPE : ARM resource for a site. [ScmSiteAlsoStopped ]: true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. [ServerFarmId ]: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". [SiteConfig ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -13698,6 +13987,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzFunctionApp_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzFunctionApp_UpdateExpanded'; @@ -13713,6 +14003,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -13721,17 +14012,20 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# @@ -13934,6 +14228,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzUserAssignedIdentity_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzUserAssignedIdentity_UpdateExpanded'; @@ -13949,6 +14244,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -13957,24 +14253,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -14099,6 +14398,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -14281,6 +14582,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -14867,6 +15182,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_UpdateExpanded'; @@ -14882,6 +15198,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -14890,24 +15207,27 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -15032,6 +15352,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -15206,6 +15528,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -15792,6 +16128,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzWebAppConfiguration_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzWebAppConfiguration_UpdateExpanded'; @@ -15807,6 +16144,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -15815,15 +16153,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Remove-AzFunction.ps1 b/src/Functions/internal/Remove-AzFunction.ps1 index fa6282bd1c22..efc3f14d2111 100644 --- a/src/Functions/internal/Remove-AzFunction.ps1 +++ b/src/Functions/internal/Remove-AzFunction.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Delete a function for web site, or a deployment slot. +Delete a function for web site, or a deployment slot. .Description -Description for Delete a function for web site, or a deployment slot. +Delete a function for web site, or a deployment slot. .Example {{ Add code here }} .Example @@ -192,6 +192,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunction_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunction_DeleteViaIdentity'; @@ -205,6 +206,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -213,15 +215,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Remove-AzFunctionApp.ps1 b/src/Functions/internal/Remove-AzFunctionApp.ps1 index baf14ce6193e..c846105eabc5 100644 --- a/src/Functions/internal/Remove-AzFunctionApp.ps1 +++ b/src/Functions/internal/Remove-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Deletes a web, mobile, or API app, or one of the deployment slots. +Deletes a web, mobile, or API app, or one of the deployment slots. .Description -Description for Deletes a web, mobile, or API app, or one of the deployment slots. +Deletes a web, mobile, or API app, or one of the deployment slots. .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force .Example @@ -199,6 +199,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunctionApp_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunctionApp_DeleteViaIdentity'; @@ -212,6 +213,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -220,15 +222,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Remove-AzFunctionAppPlan.ps1 b/src/Functions/internal/Remove-AzFunctionAppPlan.ps1 index ea2d9ca4c07d..4e5aa62fe510 100644 --- a/src/Functions/internal/Remove-AzFunctionAppPlan.ps1 +++ b/src/Functions/internal/Remove-AzFunctionAppPlan.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Delete an App Service plan. +Delete an App Service plan. .Description -Description for Delete an App Service plan. +Delete an App Service plan. .Example Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force .Example @@ -186,6 +186,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunctionAppPlan_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunctionAppPlan_DeleteViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1 index 7ffea3072539..1049405417a9 100644 --- a/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1 +++ b/src/Functions/internal/Remove-AzUserAssignedIdentity.ps1 @@ -186,6 +186,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Delete = 'Az.Functions.private\Remove-AzUserAssignedIdentity_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzUserAssignedIdentity_DeleteViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Restart-AzFunctionApp.ps1 b/src/Functions/internal/Restart-AzFunctionApp.ps1 index f0a33946d697..e45f5914a3a3 100644 --- a/src/Functions/internal/Restart-AzFunctionApp.ps1 +++ b/src/Functions/internal/Restart-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Restarts an app (or deployment slot, if specified). +Restarts an app (or deployment slot, if specified). .Description -Description for Restarts an app (or deployment slot, if specified). +Restarts an app (or deployment slot, if specified). .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force .Example @@ -200,6 +200,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Restart = 'Az.Functions.private\Restart-AzFunctionApp_Restart'; RestartViaIdentity = 'Az.Functions.private\Restart-AzFunctionApp_RestartViaIdentity'; @@ -213,6 +214,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -221,15 +223,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Restore-AzFunctionApp.ps1 b/src/Functions/internal/Restore-AzFunctionApp.ps1 index 70b11acc20d3..aafb5f8ff697 100644 --- a/src/Functions/internal/Restore-AzFunctionApp.ps1 +++ b/src/Functions/internal/Restore-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Restores a specific backup to another app (or deployment slot, if specified). +Restores a specific backup to another app (or deployment slot, if specified). .Description -Description for Restores a specific backup to another app (or deployment slot, if specified). +Restores a specific backup to another app (or deployment slot, if specified). .Example {{ Add code here }} .Example @@ -334,6 +334,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Restore = 'Az.Functions.private\Restore-AzFunctionApp_Restore'; RestoreExpanded = 'Az.Functions.private\Restore-AzFunctionApp_RestoreExpanded'; @@ -349,6 +350,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -357,15 +359,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzFunctionApp.ps1 b/src/Functions/internal/Set-AzFunctionApp.ps1 index ab0076de1ee2..304f8d070293 100644 --- a/src/Functions/internal/Set-AzFunctionApp.ps1 +++ b/src/Functions/internal/Set-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example {{ Add code here }} .Example @@ -42,6 +42,8 @@ HOSTNAMESSLSTATE : Hostname SSL states are used to manage t [VirtualIP ]: Virtual IP address assigned to the hostname if IP based SSL is enabled. SITECONFIG : Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -176,6 +178,8 @@ SITEENVELOPE : A web app, a mobile app backend, or an API app. [CloningInfoTrafficManagerProfileId ]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName ]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -632,6 +636,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzFunctionApp_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzFunctionApp_UpdateExpanded'; @@ -645,6 +650,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -653,15 +659,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzFunctionAppPlan.ps1 b/src/Functions/internal/Set-AzFunctionAppPlan.ps1 index f0070196d23d..33b9c6f346f6 100644 --- a/src/Functions/internal/Set-AzFunctionAppPlan.ps1 +++ b/src/Functions/internal/Set-AzFunctionAppPlan.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Description -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Example {{ Add code here }} .Example @@ -332,6 +332,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzFunctionAppPlan_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzFunctionAppPlan_UpdateExpanded'; @@ -345,6 +346,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -353,15 +355,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Set-AzUserAssignedIdentity.ps1 index 9c48be50f7f3..a752573d5e41 100644 --- a/src/Functions/internal/Set-AzUserAssignedIdentity.ps1 +++ b/src/Functions/internal/Set-AzUserAssignedIdentity.ps1 @@ -140,6 +140,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzUserAssignedIdentity_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzUserAssignedIdentity_UpdateExpanded'; @@ -153,6 +154,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -161,15 +163,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1 b/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1 index 2f31a9c1d665..8e0d34f815ea 100644 --- a/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1 +++ b/src/Functions/internal/Set-AzWebAppApplicationSetting.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Description -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Example {{ Add code here }} .Example @@ -140,6 +140,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppApplicationSetting_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppApplicationSetting_UpdateExpanded'; @@ -153,6 +154,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -161,15 +163,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1 b/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1 index 9cf26fb05ef6..e0540c4f4d60 100644 --- a/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1 +++ b/src/Functions/internal/Set-AzWebAppApplicationSettingSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Description -Description for Replaces the application settings of an app. +Replaces the application settings of an app. .Example {{ Add code here }} .Example @@ -147,6 +147,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppApplicationSettingSlot_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppApplicationSettingSlot_UpdateExpanded'; @@ -160,6 +161,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -168,15 +170,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzWebAppConfiguration.ps1 b/src/Functions/internal/Set-AzWebAppConfiguration.ps1 index 2ab661c478e3..b99e69a0ec2b 100644 --- a/src/Functions/internal/Set-AzWebAppConfiguration.ps1 +++ b/src/Functions/internal/Set-AzWebAppConfiguration.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -83,6 +83,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -245,6 +247,18 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] @@ -759,6 +773,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppConfiguration_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppConfiguration_UpdateExpanded'; @@ -772,6 +787,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -780,15 +796,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1 index 3e1a4ae0373e..272f771ec6c0 100644 --- a/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1 +++ b/src/Functions/internal/Set-AzWebAppConfigurationSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -83,6 +83,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -252,6 +254,18 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] @@ -766,6 +780,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppConfigurationSlot_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppConfigurationSlot_UpdateExpanded'; @@ -779,6 +794,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -787,15 +803,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Start-AzFunctionApp.ps1 b/src/Functions/internal/Start-AzFunctionApp.ps1 index fd14a8cfc042..242c32f53648 100644 --- a/src/Functions/internal/Start-AzFunctionApp.ps1 +++ b/src/Functions/internal/Start-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Starts an app (or deployment slot, if specified). +Starts an app (or deployment slot, if specified). .Description -Description for Starts an app (or deployment slot, if specified). +Starts an app (or deployment slot, if specified). .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp .Example @@ -186,6 +186,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Start = 'Az.Functions.private\Start-AzFunctionApp_Start'; StartViaIdentity = 'Az.Functions.private\Start-AzFunctionApp_StartViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Stop-AzFunctionApp.ps1 b/src/Functions/internal/Stop-AzFunctionApp.ps1 index 15de6c12f5a2..cf508fd87c24 100644 --- a/src/Functions/internal/Stop-AzFunctionApp.ps1 +++ b/src/Functions/internal/Stop-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Stops an app (or deployment slot, if specified). +Stops an app (or deployment slot, if specified). .Description -Description for Stops an app (or deployment slot, if specified). +Stops an app (or deployment slot, if specified). .Example Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force .Example @@ -186,6 +186,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Stop = 'Az.Functions.private\Stop-AzFunctionApp_Stop'; StopViaIdentity = 'Az.Functions.private\Stop-AzFunctionApp_StopViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Sync-AzFunction.ps1 b/src/Functions/internal/Sync-AzFunction.ps1 index 6aa96be7b870..5e03cd205ebd 100644 --- a/src/Functions/internal/Sync-AzFunction.ps1 +++ b/src/Functions/internal/Sync-AzFunction.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Description -Description for Syncs function trigger metadata to the management database +Syncs function trigger metadata to the management database .Example {{ Add code here }} .Example @@ -186,6 +186,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Sync = 'Az.Functions.private\Sync-AzFunction_Sync'; SyncViaIdentity = 'Az.Functions.private\Sync-AzFunction_SyncViaIdentity'; @@ -199,6 +200,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -207,15 +209,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Test-AzNameAvailability.ps1 b/src/Functions/internal/Test-AzNameAvailability.ps1 index fb6245b16c20..d851ada0df4d 100644 --- a/src/Functions/internal/Test-AzNameAvailability.ps1 +++ b/src/Functions/internal/Test-AzNameAvailability.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Check if a resource name is available. +Check if a resource name is available. .Description -Description for Check if a resource name is available. +Check if a resource name is available. .Example {{ Add code here }} .Example @@ -207,6 +207,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Check = 'Az.Functions.private\Test-AzNameAvailability_Check'; CheckExpanded = 'Az.Functions.private\Test-AzNameAvailability_CheckExpanded'; @@ -222,6 +223,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -230,15 +232,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Update-AzFunctionApp.ps1 b/src/Functions/internal/Update-AzFunctionApp.ps1 index 3031992fbb82..187e42a2cf97 100644 --- a/src/Functions/internal/Update-AzFunctionApp.ps1 +++ b/src/Functions/internal/Update-AzFunctionApp.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description -Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. +Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force .Example @@ -106,6 +106,8 @@ INPUTOBJECT : Identity Parameter [WorkerPoolName ]: Name of the worker pool. SITECONFIG : Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -259,6 +261,8 @@ SITEENVELOPE : ARM resource for a site. [ScmSiteAlsoStopped ]: true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false. [ServerFarmId ]: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". [SiteConfig ]: Configuration of the app. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -711,6 +715,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzFunctionApp_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzFunctionApp_UpdateExpanded'; @@ -726,6 +731,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -734,15 +740,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Update-AzFunctionAppPlan.ps1 b/src/Functions/internal/Update-AzFunctionAppPlan.ps1 index a4f1633cb64f..22c4f5f67327 100644 --- a/src/Functions/internal/Update-AzFunctionAppPlan.ps1 +++ b/src/Functions/internal/Update-AzFunctionAppPlan.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Description -Description for Creates or updates an App Service Plan. +Creates or updates an App Service Plan. .Example Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName ` -Name MyPremiumPlan ` @@ -46,7 +46,7 @@ APPSERVICEPLAN : ARM resource for a app service pl [IsXenon ]: Obsolete: If Hyper-V container app service plan true, false otherwise. [MaximumElasticWorkerCount ]: Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan [PerSiteScaling ]: If true, apps assigned to this App Service plan can be scaled independently. If false, apps assigned to this App Service plan will scale to all instances of the plan. - [Reserved ]: If Linux app service plan true, false otherwise. + [Reserved ]: This needs to set to true when creating a Linux App Service Plan, along with kind set to Linux. It should be false otherwise. [SpotExpirationTime ]: The time when the server farm expires. Valid only if it is a spot server farm. [TargetWorkerCount ]: Scaling worker count. [TargetWorkerSizeId ]: Scaling worker size ID. @@ -216,7 +216,9 @@ param( [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] - # If Linux app service plan true, false otherwise. + # This needs to set to true + # when creating a Linux App Service Plan, along with kind set to Linux. + # It should be false otherwise. ${Reserved}, [Parameter(ParameterSetName='UpdateExpanded')] @@ -303,6 +305,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzFunctionAppPlan_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzFunctionAppPlan_UpdateExpanded'; @@ -318,6 +321,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -326,15 +330,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Update-AzUserAssignedIdentity.ps1 b/src/Functions/internal/Update-AzUserAssignedIdentity.ps1 index 488feb1c36c9..2dbe2902ad53 100644 --- a/src/Functions/internal/Update-AzUserAssignedIdentity.ps1 +++ b/src/Functions/internal/Update-AzUserAssignedIdentity.ps1 @@ -214,6 +214,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzUserAssignedIdentity_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzUserAssignedIdentity_UpdateExpanded'; @@ -229,6 +230,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -237,15 +239,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Update-AzWebAppConfiguration.ps1 b/src/Functions/internal/Update-AzWebAppConfiguration.ps1 index de759607c114..5a8811b938b0 100644 --- a/src/Functions/internal/Update-AzWebAppConfiguration.ps1 +++ b/src/Functions/internal/Update-AzWebAppConfiguration.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -143,6 +143,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -317,6 +319,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -903,6 +919,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzWebAppConfiguration_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzWebAppConfiguration_UpdateExpanded'; @@ -918,6 +935,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -926,15 +944,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1 b/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1 index 17e6dcaa0fea..5c23ed093789 100644 --- a/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1 +++ b/src/Functions/internal/Update-AzWebAppConfigurationSlot.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Description for Updates the configuration of an app. +Updates the configuration of an app. .Description -Description for Updates the configuration of an app. +Updates the configuration of an app. .Example {{ Add code here }} .Example @@ -143,6 +143,8 @@ SCMIPSECURITYRESTRICTION : IP security restrictions fo SITECONFIG : Web app configuration ARM resource. [Kind ]: Kind of resource. + [AcrUseManagedIdentityCred ]: Flag to use Managed Identity Creds for ACR pull + [AcrUserManagedIdentityId ]: If using user managed identity, the user managed identity ClientId [ActionMinProcessExecutionTime ]: Minimum time the process must execute before taking the action [ActionType ]: Predefined action to be taken. [AlwaysOn ]: true if Always On is enabled; otherwise, false. @@ -325,6 +327,20 @@ param( # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Flag to use Managed Identity Creds for ACR pull + ${AcrUseManagedIdentityCred}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] + [System.String] + # If using user managed identity, the user managed identity ClientId + ${AcrUserManagedIdentityId}, + [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] @@ -911,6 +927,7 @@ begin { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName + $mapping = @{ Update = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_UpdateExpanded'; @@ -926,6 +943,7 @@ begin { $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { + throw } } @@ -934,15 +952,18 @@ process { try { $steppablePipeline.Process($_) } catch { + throw } -} +} end { try { $steppablePipeline.End() + } catch { + throw } -} +} } diff --git a/src/Functions/test/Get-AzWebAppBasicPublishingCredentialsPolicy.Tests.ps1 b/src/Functions/test/Get-AzWebAppBasicPublishingCredentialsPolicy.Tests.ps1 new file mode 100644 index 000000000000..8b668136bfe0 --- /dev/null +++ b/src/Functions/test/Get-AzWebAppBasicPublishingCredentialsPolicy.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzWebAppBasicPublishingCredentialsPolicy')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzWebAppBasicPublishingCredentialsPolicy.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 'Get-AzWebAppBasicPublishingCredentialsPolicy' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Functions/test/Get-AzWebAppFtpAllowed.Tests.ps1 b/src/Functions/test/Get-AzWebAppFtpAllowed.Tests.ps1 new file mode 100644 index 000000000000..5109b6883478 --- /dev/null +++ b/src/Functions/test/Get-AzWebAppFtpAllowed.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzWebAppFtpAllowed')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzWebAppFtpAllowed.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 'Get-AzWebAppFtpAllowed' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Functions/test/Get-AzWebAppScmAllowed.Tests.ps1 b/src/Functions/test/Get-AzWebAppScmAllowed.Tests.ps1 new file mode 100644 index 000000000000..8fcb96242daa --- /dev/null +++ b/src/Functions/test/Get-AzWebAppScmAllowed.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzWebAppScmAllowed')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzWebAppScmAllowed.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 'Get-AzWebAppScmAllowed' { + It 'Get' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'GetViaIdentity' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Functions/test/New-AzFunctionApp.Tests.ps1 b/src/Functions/test/New-AzFunctionApp.Tests.ps1 index 1f7bc50d2ef7..a63cc8302817 100644 --- a/src/Functions/test/New-AzFunctionApp.Tests.ps1 +++ b/src/Functions/test/New-AzFunctionApp.Tests.ps1 @@ -128,11 +128,11 @@ Describe 'New-AzFunctionApp' { -FunctionsVersion $functionsVersion ` -WhatIf - } 4>&1 2>&1 > $filePath + } 3>&1 2>&1 > $filePath $logFileContent = Get-Content -Path $filePath -Raw $expectectedRuntimeVersion = $expectedDefaultRuntimeVersion[$OSType][$functionsVersion][$runtime] - $expectedMessage = "RuntimeVersion not specified. Setting default runtime version for '$runtime' to '$expectectedRuntimeVersion'." + $expectedMessage = "RuntimeVersion not specified. Setting default value to '$expectectedRuntimeVersion'." $logFileContent | Should Match $expectedMessage } finally @@ -234,12 +234,12 @@ Describe 'New-AzFunctionApp' { -RuntimeVersion $runtimeVersion ` -WhatIf - } 4>&1 2>&1 > $filePath + } 3>&1 2>&1 > $filePath $logFileContent = Get-Content -Path $filePath -Raw - $expectectedFunctionsVersionWarning = "FunctionsVersion not specified. Setting default FunctionsVersion to '$expectedFunctionsVersion'." - $expectectedOSTypeWarning = "OSType for $runtime is '$expectedOSType'." + $expectectedFunctionsVersionWarning = "FunctionsVersion not specified. Setting default value to '$expectedFunctionsVersion'." + $expectectedOSTypeWarning = "OSType not specified. Setting default value to '$expectedOSType'." $logFileContent | Should Match $expectectedFunctionsVersionWarning $logFileContent | Should Match $expectectedOSTypeWarning diff --git a/src/Functions/test/Set-AzWebAppFtpAllowed.Tests.ps1 b/src/Functions/test/Set-AzWebAppFtpAllowed.Tests.ps1 new file mode 100644 index 000000000000..0dfdb214d238 --- /dev/null +++ b/src/Functions/test/Set-AzWebAppFtpAllowed.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzWebAppFtpAllowed')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzWebAppFtpAllowed.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 'Set-AzWebAppFtpAllowed' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Update' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/Functions/test/Set-AzWebAppScmAllowed.Tests.ps1 b/src/Functions/test/Set-AzWebAppScmAllowed.Tests.ps1 new file mode 100644 index 000000000000..2ac0f5e04787 --- /dev/null +++ b/src/Functions/test/Set-AzWebAppScmAllowed.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Set-AzWebAppScmAllowed')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Set-AzWebAppScmAllowed.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 'Set-AzWebAppScmAllowed' { + It 'UpdateExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Update' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +}